2023-03-24 06:53 PM
I create a simple blocking delay timer using simple looping and run in STM32H7a3ii. The program was linear, no code optimization, no interrupt. Without any changes of the blocking delay timer function, i found that when the blocking delay timer placed in certain address, it gave me a huge different delay time. the varies was about 6 times different. Please assist me for this behavior.
2023-03-31 01:27 AM
Hello @JScot.6
Here is the AN4839 listing different solutions for cache maintenance and data coherency Level 1 cache on STM32F7 Series and STM32H7 Series
@Piranha if there are such, I guess you can try different solution, it depends on the application.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-04-03 01:20 AM
@F.Belaid , thanks for the information. i tried to clean the caches before call the blocking delay function, yet i still can reproduce the problem by using the method mentioned.