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

Access to UART with DMA under example "freertos_coap_server" SDK nRF52840-DK

Good day!
Tell me how you can configure access to UART with DMA in the example freertos_coap_server for receiving and transmitting arbitrary messages. Also, please clarify what maximum write read buffer is available in DMA for UART?

Thank's

  • Hi Alexander, 

    As long as you don't use UART in blocking mode, but in interrupt mode it should work fine with the freertos_coap_server. We provided the app_uart_fifo library that you can use. Please have a look at the peripheral\uart example in the SDK as the reference. 
    The maximum read/write buffer with DMA is defined by the MAXCNT register and it's upto 65kB. In the code it's defined by UART_RX_BUF_SIZE and UART_TX_BUF_SIZE

  • Hi Hung Bui!

    How to transfer libraries from one cdk example to another? Maybe there is some kind of configurator, or only manually?

  • when I try to connect the necessary files from one example to another there are many conflicting dependencies.

  • The whole problem is that there is no description of how to combine examples with each other. Conflicting library dependencies constantly arise.

  • Can you show how you can combine the "peripheral\uart example" you specified with "freertos_coap_server"

1 2