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