2024-05-21 03:46 AM
Hello everyone,
I have to use the ADC 16b converter with DMA which does not work if DCache is enabled but, to use LWIP and RTOS it is necessary that DCache is enabled.
Does anyone know how to fix the problem?
Thank you in advance
Solved! Go to Solution.
2024-05-21 03:57 AM - edited 2024-05-24 12:31 AM
Hello,
Seems you have a cache coherency issue.
Please check the AN4839 "Level 1 cache on STM32F7 Series and STM32H7 Series" especially the section 3.2 Example for cache maintenance and data coherency and how to overcome this behavior:
2024-05-21 03:57 AM - edited 2024-05-24 12:31 AM
Hello,
Seems you have a cache coherency issue.
Please check the AN4839 "Level 1 cache on STM32F7 Series and STM32H7 Series" especially the section 3.2 Example for cache maintenance and data coherency and how to overcome this behavior:
2024-05-21 04:17 AM
You need to configure the Memory Protection Unit to prevent caching of the address area used by peripherals.