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

UART nrf52840

hello,

    I need example code on uart with hardware flow control disabled and on UARTE. with different clock source.

Regards, 

Gourav

Parents Reply Children
  • The UARTE peripheral always use DMA, but the legacy UART peripheral does not use DMA. So if you don't want to use DMA, then you should use the UART peripheral. Set the following config parameters in the projects sdk_config.h to 0 to disable DMA and flow control:

    • UART_EASY_DMA_SUPPORT
    • UART0_CONFIG_USE_EASY_DMA
    • NRFX_UARTE_DEFAULT_CONFIG_HWFC (the SDK example does not use this, but rather sets UART_HWFC and use that - see <SDK>\examples\peripheral\uart\main.c)
Related