Associate III
May 25, 2021
Solved
DMA_UART_Receive_Problem_Reg
- May 25, 2021
- 4 replies
- 1976 views
Hi,
I am using STM32H750VB Controller. I am using DMA transmit and Receive(Circular Mode) .In receive I am defining an DMA array of fixed size of 10 bytes. My problem is that when 5 bytes of data(first data) is received the array gets updated (Position 0 - 5) and when after some seconds if I receive the second data with 6 bytes the array gets updated (Position 6 to 10).Is there a way to update or reinitialize the DMA array so that if second data comes it starts from array initial position.(Position 0 to 6) .
I have also tried with normal DMA mode and also Circular DMA mode. Have attached the settings screenshot.
