This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

APP stucks in simple_uart.c

Hi Guys,

i've a problem with the simple_uart.c module. I print some intermediate values with app_trace_log -> simple_uart.c and sometimes, the application stucks at:

void simple_uart_put(uint8_t cr)
{
    NRF_UART0->TXD = (uint8_t)cr;
      
    while (NRF_UART0->EVENTS_TXDRDY != 1) //<<<< in this line
    {
        // Wait for TXD data to be sent.
    }

    NRF_UART0->EVENTS_TXDRDY = 0;
}

Does anybody know, how i can avoid this or continue without resetting the device?

Thanks in advance, cheers

Parents Reply Children
No Data
Related