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

UART not working with sample experimental_ble_app_uart_s110_pca10028

Hi,

Access to the UART hangs the execution of the experimental_ble_app_uart_s110_pca10028 example. The phenomen occures In the file simple_uart.c when checking for the state of EVENTS_RXDRDY:

uint8_t simple_uart_get(void)
{
    // NEVER ENDING LOOP !
    while (NRF_UART0->EVENTS_RXDRDY != 1)
    {
        // Wait for RXD data to be received
    }
    NRF_UART0->EVENTS_RXDRDY = 0;
    return (uint8_t)NRF_UART0->RXD;
}
Related