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

UARTE configuration with nrf9160 and zephyr

Hi,

we have developed our working UART code according to Zephyr documentation, and its working fine,

we find that this code works with EasyDMA . but my question is my uart2_fifo_callback function is calling for every byte, why its happening like this, please help me to understand?

Note: we are using UART in UARTE_INTERRUPT_DRIVEN mode

and some other doubts are:

1. How we can increase/decide RX FIFO size

2. How we can configure UART so that the Uart_fifo_callback function will be called only once per every communication

3. What is the difference between UARTE_INTERRUPT_DRIVEN and CONFIG_UART_ASYNC_API, can we have interrupt handler even if i use CONFIG_ASYNC_API mode?

Best Regards

Rajener.

Parents Reply Children
Related