2021-09-13 07:34 AM
Hi all,
I want to send 3 bytes with the UART DMA controller
but when this line is executed, the uart sends these 3 bytes endlessly .
Why does the transmitting not stop after 3 bytes ?
HAL_UART_Transmit_DMA(&huart1,(uint8_t *)spi_buf_in,3);
Thank you
Steve
Solved! Go to Solution.
2021-09-13 07:58 AM
Perhaps the DMA is somehow in circular mode.
2021-09-13 07:52 AM
Don't know. Is this the only line in the program, or do you configure the DMA and associativity somewhere, or have related call-backs?
Any particular STM32?
2021-09-13 07:58 AM
Perhaps the DMA is somehow in circular mode.
2021-09-13 11:10 PM
that was the case ! thank you