This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2540 UART events when using DMA

Other Parts Discussed in Thread: CC2540

Hello everyone,

I'm using the UART on the CC2540 with the DMA. I pass a callback function to the UART via the config struct, and I would like it to get called when a HAL_UART_TX_EMPTY event occurs. From _hal_uart_dma.c it seems that the only way to trigger this event is to call HalUARTPoll().

Why is this required? Why can't the UART trigger the callback by itself when in DMA mode?

Regards,

Pierre