spi with dma can`t work in stm32H7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-08 7:24 PM
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!
- Labels:
-
DMA
-
SPI
-
STM32H7 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-09 6:05 AM
Have you reviewed the examples given in CubeH7?
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-09 6:38 AM
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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-09 7:04 AM
thank you for you respond.
the below is my configure! can you help me which sides is wrong!
the ​above image is mpu set.
​
​and the below image is dma set.
​
and I use USART can tranmit and receive data is correct! so I think the cache is configure suitably.
the ram address is 0x24000000.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-11 6:35 PM
I can`t find the spi with dma examples.
