nrf5340-dk: Unable to read serial output using printk as baud rates between 250kbps and 1Mbps

Hello, 

I have an nrf5340-dk board and I am trying to play around with the different baud rates through changing the overlay file (as shown): 

I am using teraterm to view the output data and I am not able to view the data with any of the available baud rates between 250Kbps and 1Mbps (115200bps, 250Kbps and 1Mbps all work).

I have tried the following  SDK versions (1.4.2,1.6.1,1.7.0 )  in addition to making a simple APP only containing a while loop printing "hello world" and I was not able to view a readable output on teraterm (shown below): 

#include <zephyr.h>
#include <sys/printk.h>

void main(void)
{
    while(true){

        printk("A\n");

    }
}

I have probed the Rx and Tx pins (P0.20, P0.22) on the nrf with an oscilloscope and I can see the appropriate signals (similar to 250kbps and 1Mbps) at 460800 bps, however the output is being received but is gibberish at 460800bps. 

I would appreciate any suggestions for debugging this. 

Thanks, 

Parents Reply Children
No Data
Related