Skip to main content
AMull.2
Associate
September 29, 2020
Solved

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.

  • September 29, 2020
  • 2 replies
  • 731 views

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.

This topic has been closed for replies.
Best answer by AMull.2

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.

2 replies

TDK
September 29, 2020

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""."
AMull.2
AMull.2AuthorBest answer
Associate
October 1, 2020

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.