cancel
Showing results for 
Search instead for 
Did you mean: 

spi with dma can`t work in stm32H7

gcaif
Associate II

I use spi without dma can transmit and receive data. but I use spi with dma can`t transmit and receive data! my chip is stm32h743ii series!

4 REPLIES 4

Have you reviewed the examples given in CubeH7?

JW

Make sure you're using the right memory or the right buses. Check bus matrix diagrams.

Make sure the MPU is configured suitably, and you use Cache Clean/Invalidate appropriately to ensure coherency.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
gcaif
Associate II

thank you for you respond.

the below is my configure! can you help me which sides is wrong!

0690X00000AQvN4QAL.png0690X00000AQvMzQAL.png

the ​above image is mpu set.

​and the below image is dma set.

0690X00000AQvMfQAL.png

and I use USART can tranmit and receive data is correct! so I think the cache is configure suitably.

the ram address is 0x24000000.

I can`t find the spi with dma examples.