cancel
Showing results for 
Search instead for 
Did you mean: 

Hello Guys, I am facing problem in STM32H7 DMA. I had written code to receive the data from UART in DMA mode. In that i am transmitting the data in Polling mode and receiving in DMA mode.

AMull.2
Associate

In this at first time only data is receiving after that code is not executing RxCmplt call back function.

Hardware: For testing I had shorted the both TX and RX pins together of STM32H743I EVAL board.

UART Config : Baud rate = 9600,DataSize = 8bit,Mode = Tx and Rx, Stop Bits = 1, Parity = None, DMA_RX = Circular,DMA1_Stream0

Please help me if any one know the solution.

1 ACCEPTED SOLUTION

Accepted Solutions

Yeah ,I solved this issue for UART by changing IRAM location to 0x24000000,but for SPI Reception in DMA it is not working

can you tell me what may the issue.

Please help me if you know the solution.

View solution in original post

2 REPLIES 2
TDK
Guru

Not much info here. The reception is a one shot deal. You need to call it again to receive the next batch of bytes.

If you feel a post has answered your question, please click "Accept as Solution".

Yeah ,I solved this issue for UART by changing IRAM location to 0x24000000,but for SPI Reception in DMA it is not working

can you tell me what may the issue.

Please help me if you know the solution.