2026-02-19 7:17 AM
Hello,
I need to have D-Cache enabled to improve performance of FMC external SDRAM (it's >3x slower without D-Cache enabled). I also want to use I2S for audio. But with D-Cache enabled, I don't get any data from ADC. What can I do to use I2S with D-Cache enabled?
Solved! Go to Solution.
2026-02-19 7:23 AM
Hello,
You need to ensure a data coherency when it turns to the DMA usage while D-cache is enabled.
Need to perform cache maintenance by software.
Refer to the AN4839 "Level 1 cache on STM32F7 Series and STM32H7 Series", especially the section: 3.2 Example for cache maintenance and data coherency and the scenario described in it:
2026-02-19 7:23 AM
Hello,
You need to ensure a data coherency when it turns to the DMA usage while D-cache is enabled.
Need to perform cache maintenance by software.
Refer to the AN4839 "Level 1 cache on STM32F7 Series and STM32H7 Series", especially the section: 3.2 Example for cache maintenance and data coherency and the scenario described in it: