This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

UART Backend logging not readable

Hi,

I am having issues, getting the uart backend logging working on a nrf52840 dongle. I'm testing the logging on the standard blinky example that came with the sdk (15.2.) I'm trying to read the logging with putty through a USB -serial converter which I know is working correctly. I've just simply connected the ground and the tx pin (defined in the sdk_config file as pin 31) from the dongle to the ground and rx pin on the converter. With putty I can see that some data is transferring but it is completely incomprehensible (see below). 

Xi▒
▒5=%'5▒=7▒▒▒Xi▒
▒=▒▒y!##5957▒▒Xi▒
▒=▒▒Y5#7▒;!#▒=5▒9/=#15▒▒▒Xi▒
▒=▒▒Y5#7▒;!#▒=5▒9/=#15▒▒▒Xi▒
▒=▒▒Y5#7▒;!#▒=5▒9/=#15▒▒▒Xi▒
▒=▒▒Y5#7▒;!#▒=5▒9/=#15▒▒▒Xi▒
▒=▒▒Y5#7▒;!#▒=5▒9/=#15▒▒▒Xi▒
▒=▒▒Y5#7▒;!#▒=5▒9/=#15▒▒▒Xi▒
▒=▒▒[595-57▒guw▒ac▒▒▒Xi▒
▒=▒▒[595-57▒guw▒ass▒▒▒

There should be a connection and a few button presses and a couple of ble messages in that gibberish. And pretty much everything is completely standard, I haven't touched any code in the blinky example or the configuration files. This should be absolutely probably the most basic thing to do so I'm pretty amazed that this won't work.

Any advice? 

Thank you.

Parents Reply
  • I thought that too but I've been trying all kinds of settings and nothing seems to work. And yes the default baud rate would be 115200. I tried to configure a different baud rate too but the output was the same. I'm probably going to try coding a separate serial interface if this doesn't start working soon. Or is there some other convenient way of receiving debug messages?

    My settings with putty are the following:

    Baud rate: 115200

    Data bits: 8

    Stop bits: 1

    Parity: None

    Flow control: XON/XOFF (Doesn't matter if this is none) 

    Would be great if someone could verify if this problem occurs with other dongles too. I'll have to look into this problem deeper anyway.

Children
Related