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

Problem on using the nrf_uart no NRF_DRV_UART_EVT_RX_DONE event

I am trying to use the UART for a custom version of the DFU. I have it transmitting no problem, but I never get the RX_DONE event. I cannot see any reason and I have looked through the queries with the same issues. I am using SDK 15 and S132.

Thank you.

Parents Reply
  • I solved this issue. The problem was I expected the RX event due to characters recieved in the serial port (this is standard on almost every driver or implementation of any Uart on embedded systems. However with this driver not only does a buffer need to be assigned but it also requires a count of characters.

    I added the line.

    nrf_drv_uart_rx(&my_uart, &m_rx_byte, 1);

    The other issue was I found other people with a similar problem who identified issues with the library.

    In the end my fault. 

    Thank you.

Children
Related