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

sample code for UARTE nRF52832 using EasyDMA

Dear Sir, 

We need a sample code for UARTE nRF52832 using EasyDMA. This sample code should drive our UARTE port  using in BLE to UART mode. We could not find it by asking in the DevZone.

Parents
  • Hi.

    You can use the example found in the folder nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_uart.

    Just edit the following definitions in sdk_config.h:

    // <q> UART_EASY_DMA_SUPPORT  - Driver supporting EasyDMA
     
    
    #ifndef UART_EASY_DMA_SUPPORT
    #define UART_EASY_DMA_SUPPORT 1
    #endif
    
    // <q> UART_LEGACY_SUPPORT  - Driver supporting Legacy mode
     
    
    #ifndef UART_LEGACY_SUPPORT
    #define UART_LEGACY_SUPPORT 0
    #endif

    This should enable EasyDMA for UARTE.

    Best regards,

    Andreas

Reply
  • Hi.

    You can use the example found in the folder nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_uart.

    Just edit the following definitions in sdk_config.h:

    // <q> UART_EASY_DMA_SUPPORT  - Driver supporting EasyDMA
     
    
    #ifndef UART_EASY_DMA_SUPPORT
    #define UART_EASY_DMA_SUPPORT 1
    #endif
    
    // <q> UART_LEGACY_SUPPORT  - Driver supporting Legacy mode
     
    
    #ifndef UART_LEGACY_SUPPORT
    #define UART_LEGACY_SUPPORT 0
    #endif

    This should enable EasyDMA for UARTE.

    Best regards,

    Andreas

Children
No Data
Related