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

UARTE Callback not called (Using NRFX EasyDMA)

Hi, I am a beginner, during my internship I need to evaluate the nRF9169 DK for cellular applications.

I successfully implemented the communication over serial by using the library "drivers/uart.h". In order to get benefits of EasyDMA features, I decided to focus on the "nrfx_uarte.h" library.

I managed to create an example in blocking mode that works on UARTE2 using the functions nrfx_uarte_init(&inst, &cfg, NULL), nrfx_uarte_tx and nrfx_uarte_rx. But for some reason, when I define a callback as the third parameter of the initialisation function (using async feature) and when I want to TX few bytes: The bytes are well transmitted but the callback is never called (I used the debug to check this). The entire system is like frozen, I don't get any error/reset. The same behaviour happens during RX.

I'm not sure of the methods to debug this, I don't know if the cause can be the configuration of the project, if uarte interrupts are disabled or something else.

I'm working with : nRF Connect SDK V1.2.0 on the Segger environnement.

Please find here the zip of my project : https://drive.google.com/file/d/1qOYnxOO4wu0h6lejDumBVljWkgC8MIKH

Thank you very much for your help.

Lucas

Parents Reply Children
No Data
Related