Hi Team,
I have configured the MPU memory partition.
I created a stub function to intentionally violate the SRAM address region.

Initially, I configured both read and write access to the SRAM region. After changing the region permissions to read-only and attempting to write to the TEST_SRAM_ADDRESS, a MemFault is triggered, and the location is updated as expected. However, it is entering the HardFault handler instead of the MemManage handler. I have attached the image below for your reference withe register details.


I have added the MCAL MPU option enabled similar is done for core 1.
Kindly let me know why this is happening and whether I am missing any configuration. Please provide your support on this.
S32K3