const fccu_config_ncf_t fccu1_NcfConfig2 =
{
.functionID = 2,
.hwSwRecovery = FCCU_NCF_HW_REC_FAULT,
.reset = FCCU_NCFS_NO_RESET,
.timeoutEnable = false,
.reactionType = 0U,
.callback = NULL,
.callbackParam = NULL
};
Fault 0-4, use the same config, two inject mothod,
First:FCCU_DRV_SetNcfFake(0U,2U), no reaction, FCCU not switch to alarm or fault status, why?
Second:PMC->FIR = 0x1U;
When debug this line, s32 design studio show error, why?
Error : Error in ONCE status register during instruction execution.
Hi,
This is and issue of SDK example code.
The FCCU works correctly if you configure it properly.
Please read my AN on how to work with FCCU:
https://www.nxp.com/docs/en/application-note/AN5284.pdf
regards,
Peter