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

Uart and NRF_Logging are printing with noise

I am using Hackable kit which is a custom nrf52832 board with Bumpy a low cost Black Magic Probe alternative to program since i don't have a J-Link device. I have tried many examples but i cannot get the UART or NRF_Logs to print correctly in the Putty Console. It always prints gibberish (noisy). For this example i ran the example/peripherals/uart from the SDK 15 example with some following simple modifications 

while (true)
    {
          printf("\r\nExit!\r\n");
          nrf_delay_ms(500);
//        uint8_t cr;
//        while (app_uart_get(&cr) != NRF_SUCCESS);
//        while (app_uart_put(cr) != NRF_SUCCESS);
//
//        if (cr == 'q' || cr == 'Q')
//        {
//            printf(" \r\nExit!\r\n");
//
//            while (true)
//            {
//                // Do nothing.
//            }
//        }
    }

As you can see i just print the word "Exit" with 500ms delay through UART. What i get in Putty after running this code is 

The following is my Putty settings 

i have also tries with different flow control options. But always the gibberish noise is present. 

Can someone tell me what's wrong or where is the problem?

Parents Reply Children
No Data
Related