-
Hi, I'm working with STM32F7508-DK Discovery kit and tried to port Zephyr for it. I have an application code which makes simple memory to memory DMA transfer and it seems to work occasionally. After transfer DMA driver triggers call back function without errors but nothing is copied to target buffer. If transfer is repeated in loop it might succeed sometimes. Same code works perfectly with all other boards I have tested (nucleo-f411re, nucleo-f429zi, nucleo-l452re-p). For devicetree and other config files I have used STM32F756 as a base. Only difference I noticed was size of the flash. Does anyone have ideas how to proceed with this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Yes, maybe you are facing a cache un-coherency on the stm32f7x.
|
Beta Was this translation helpful? Give feedback.
Yes, maybe you are facing a cache un-coherency on the stm32f7x.
Do you try to disable the DCache ?
Just for testing if it fix your pb, can you remove the SCB_EnableDCache in the soc/arm/st_stm32/stm32f7/soc.c: