I'm trying to configure some NCFs to have timeout functionality.
I configured 4 NCFs (7, 8, 10 and 12) with different configurations
7 >> no reset & timeout enable
8 >> short reset & timeout enable
10 >> long reset & timeout enable
12 >> Eout & timeout enable
and in the control tab (changed the timeout to be 65535)
then i generated code for this configurations and used it with the following sequence:
1- calling FCCU init function and passing these generated structs to it.
2- reading the NCF_TO register to ensure that it has 65535 value in it.
3- injecting a fault for one of the configured NCFs (7, 8, 10, 12).
4- I notice immediate reset without any waiting for timeout.
as I understand it shall enter Alarm state and wait there for specific time (the configured timeout) then enters Fault State.
what I see is that it enters fault state and perform reset immediately.
any ideas how to solve this?
also if there is example, that would be very helpful.
There is also FOSU timeout.
When ALL NCFs are set for ‘no reaction’, FOSU is inactive.
If at least one NCF is configured for reset reaction, it activates FOSU (the fact this FCCU NCF must be enabled I take for granted). In such configuration, another NCF with ‘no reaction’ setup may cause FOSU reset.
You may check MC_RGM_DES[F_FFRR] to find out FOSU reset.