This application monitors the 8 Kilobyte Instruction Cache (ICACHE) Hit/Miss counters on the STM32H563ZI Cortex-M33 MCU. The Hit Monitor register is 32 bits wide, while the Miss Monitor register is 16 bits wide. Please note, this application does not cover the address remapping feature of the ICACHE peripheral.
For a detailed explanation, visit the article on my blog:
https://mbedsyst.blogspot.com/2025/02/counting-cache-hits-and-misses-on-arm.html