Hi Deer NXP expert:
In S32GxxSM chapter 1.3.11,it describe the R1、R2 and R3 fault-reaction type.
When comes to R3,it recommend to ’initiates a chip functional reset‘,which can be achieved by assert NCFS_CFGa=1b.
But R2 also recommend to ’then initiates a chip functional reset‘,which confuse me that how to achieve it?Should I assert NCFS_CFGa=1b same as R3,or assert a functional reset in fault interrupt?
If i need to assert a functional reset in fault interrupt,please introduce how to achieve it in detail,thanks a lot!
Hello, @Hi-rain4
Thanks for the post.
From the S32G safety manual, for R2, it is suggested using the fault interrupt handler to store information about the fault in memory and then initiates a chip reset.
The S32 SAF microcontroller error management (eMCEM) component provides a fault interrupt handler.
For details, I suggest directly reading the corresponding code and document within eMCEM module in SAF.
BR
Chenyin