I'd like to count cache misses but am unable to find any registers that might be useful.
The three Cache Status registers seem to just indicate cache tag status and not hit/miss rate.
/* FLASHC.CM4_CA_STATUS0 */
#define FLASHC_CM4_CA_STATUS0_VALID16_Pos 0UL
#define FLASHC_CM4_CA_STATUS0_VALID16_Msk 0xFFFFUL
/* FLASHC.CM4_CA_STATUS1 */
#define FLASHC_CM4_CA_STATUS1_TAG_Pos 0UL
#define FLASHC_CM4_CA_STATUS1_TAG_Msk 0xFFFFFFFFUL
/* FLASHC.CM4_CA_STATUS2 */
#define FLASHC_CM4_CA_STATUS2_LRU_Pos 0UL
#define FLASHC_CM4_CA_STATUS2_LRU_Msk 0x3FUL
Is cache profiling supported?
No, there are no registers present which keep a count of the HIT/MISS rate in PSoC6.