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

Does the UART driver in nRF Connect SDK use DMA

In the nRF5 SDK there are two uart drivers, UART and UARTE. The UARTE driver makes use of the DMA whilts the UART driver uses interupts. This is what I understood when I used the driver in the nRF5 SDK.

In the Zephyr implementation, does the driver use DMA?

I see in the Central Uart sample the configuration specifies 

CONFIG_NRFX_UARTE0=y
From this can I assume that the driver is using the DMA UartE peripheral?
Would CONFIG_NRFX_UART0=y then mean that the interrupt version would be used?
Thank You
  • Hello,

    You can make an BOARDNAME.overlay file in your project folder where you have either of these options:

    &uart0 {
    compatible = "nordic,nrf-uart";
    };

    OR

    &uart0 {
    compatible = "nordic,nrf-uarte"; //This is typically default, as seen in the .dts file for your board.
    };

    Best regards,
    Kenneth

Related