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

Low level UART and Timer drivers

Hi,

I have been looking at the Nordic examples and I found them to be pretty slow with the handlers being the bottleneck as opposed to the actual hardware. I was wondering what is the lowest level drivers that I can use for my applications that involve UART and timers. I also wanted your opinion on the quality of these drivers.

Thanks

Parents Reply
  • I checked the BLE_UART example and it seems like it is using the nrfx drivers but I'm not sure. In the central device, for example, I checked app_uart_put()->nrf_drv_uart_tx() which calls nrfx drivers with functions like nrfx_uarte_tx() and nrfx_uart_tx().  I am receiving all correct BLE data on a central device, but there are bytes being lost when adding the data to the UART.

    I checked by doing the following:

    I counted the number of times app_fifo_put() was called and the number of times nrf_drv_uart_tx() was called. The sum of these is not equal to the number of bytes received by the BLE application in total.

    Let me know what you think of this.

    Thanks

Children
Related