I have just started programming the using the nrf52840DK_nrf52840. I downloaded the toolchain and sdk using the VS code extension and created a new application from the blinky sample. The light is blinking properly, im able to change the time between blinks and it works just fine. The problem is that the printk statements are printing garbled outputs. I thought it is a baud rate issue so I checked it for all baud rates from 9600 to 115200, i also tried with flow control on and off. Im using the recommended settings of 8 data bits, 1 stop bit and none Parity. At first i didnt modify the blinky code at all. But after reading https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-3-printing-messages-to-console-and-logging/topic/printk-function/ I added the statement
Can anyone please tell me how to resolve it. (I'm using Toolchain and connect sdk version 2.6.1)
Print statement:
Output:
D t`: DFS0002 0
X Z hF>MxN`` ( j
LEDc@`::6:0.50(0 "
J1 48 0 H FNS m
E@ t`:F
Z 2"4048&\ S0i<hn> ^ideD: NFANZ
LE R00&2"0$8\ S <Hn> q^iDae:LNHN
R020&244
i tried viewing in vscode, arduino IDE, and tera term all give similar outputs Pls help me i need the logging functionality for my upcoming project