cancel
Showing results for 
Search instead for 
Did you mean: 

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.

sgand.16
Associate

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.

2 REPLIES 2
Tilen MAJERLE
ST Employee

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.

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 Venmo
Up vote any posts that you find helpful, it shows what's working..