Hi,
I am using MPC5746R controller for our project.
We are reading the FCCU_NCF_Sn register to know whether the fault is latched.
Now we need to test this so we are planning to use FCCU_NCFF register to create fake faults.
We are not configured the FCCU to react to the faults,(i.e not enabled in FCCU_NCF_En and FCCU_NCF_CFGn registers) since we want to read the status from FCCU_NCF_Sn register.
My questions are:
1.Can I use the FCCU_NCFF register to create a fake fault so that it will be latched into status register?I dont want any reaction to happen.
2.FCCU configuration is mandatory for just reading the status from FCCU_NCF_Sn register value?
3.Can I inject two or three fake faults at a time one after the other like shown below
FCCU.NCFF.R = 0x06;
FCCU.NCFF.R = 0x07;
FCCU.NCFF.R = 0x0A;
Thanks and Regards,
Kiran M
Hello Kiran,
A1: Yes, you can use NCFF register to test FCCU reporting or reaction. However have in mind that some faults can be only injected by failing module itself (like PMC, ADC, etc..) Refer to Reference manual for more details.
A2:I do not get your question. However if you need to read NCFSx registers you have to use OP10 mode. Please refer to my AN:
https://community.nxp.com/docs/DOC-329719
A3: Actually I never tried it. But I do not expect any issues here.
Peter