Hi Peter,
1) As per your suggestion I've configured "MCEM Module" to enable "SWT0_TimeOut Reset" request configuration of FCCU. I have integrated the module to my MCAL Project.
2) During initialization call I.e inside "MCEM_Init()" call, upon execution of the below instruction: (in T32_LauterBach)
/* Clear all pending faults (W1C) */
REG_WRITE32(FCCU_NCF_S_ADDR32(uBank), u32ReadBack);
the "CTRL.OPS" goes to "Aborted" state. I think there is not much in 'MCEM configuration' that I may configure wrongly.
3) So, please let me know the possible reason for this "Aborted" state of FCCU.
Also, same was the case when I previously tried with the "FCCU_Init() function" from your reference code i.e
"S32R274_Watchdog_example-S32DS" I.e after execution of the OP-1 instruction shown below and during 'while()' the "CTRL.OPS" goes to "Aborted" state.
/* enter config state - OP1 */
FCCU.CTRL.R = 0x1;
/* Verify if state change was sucessful */
while (FCCU.CTRL.B.OPS != 0x3); //operation status successful
4) So, please let me know on this issue (Currently MCAL Code is my priority than legacy) code.
Thanks in advance...!
#fccu #s32r247 #peter vlna #SWT0TimeoutResetGeneration #mcal