Skip to main content
sgand.16
Associate
January 10, 2019
Question

I am SPI DMA working on STM32F7, but when i try to shift the same to STM32H7 i am not able to get it working. I am not gettin DMA callback.

  • January 10, 2019
  • 2 replies
  • 662 views

I am only using DMA to receive data continuously so when i want to receive data I am swithcing modes from full duplex to receive only. this whole pattern was working on F7 but not able to get it working on H7.

I have followed some solutions given on ST community to change RAM and Cache but they are not working in my case.

This topic has been closed for replies.

2 replies

Tilen MAJERLE
ST Employee
January 10, 2019

Please check if you receive error callback. Most likely your DMA cannot access to the memory address where variable is located. Please verify in reference manual, bus matrix, if your DMA can access memory location of your peripheral/variable.

Tesla DeLorean
Guru
January 10, 2019

AXIM RAM typically doesn't work with peripheral DMA, you need to use SRAM1,2,3 and have the clocks on those RAMs enabled.

Check the DMA status/counters for errors or activity.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..