Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC2541: HAL_UART_TX_EMPTY is generated too early

$
0
0

Part Number: CC2541

Hi

I'm using the DMA-UART driver (_hal_uart_dma.c) of the BLE stack 1.5.0.16 on the CC2541.

I wanted to use the event HAL_UART_TX_EMPTY to get notified when the last byte has been completely sent over the UART. Now it seems that this event signals when all bytes have been moved via DMA from the TX buffer to the UART peripheral, is that correct? If yes, what is the best way to check if all bytes from the buffer have been completely transmitted?

Many thanks in advance.

Best regards


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>