STM32: Wrong uart_event_tx len calculation #35036
Labels
area: DMA
Direct Memory Access
area: UART
Universal Asynchronous Receiver-Transmitter
bug
The issue is a bug, or the PR is fixing a bug
platform: STM32
ST Micro STM32
priority: low
Low impact/importance bug
Milestone
Describe the bug
We need to reset the buffer_length when the transmission is finished, but in order to give the correct value to
the uart_event_tx struct, we use the dma_tx.buffer_length in the calculation of the dma_tx.counter, used for the len of the event (number of bytes sent).
The text was updated successfully, but these errors were encountered: