FCCU Interrupt handling

cancel
Showing results for 
Search instead for 
Did you mean: 

FCCU Interrupt handling

62 Views
Contributor I

Hi,

When a NCF occurs, I intend to do something during the interrupt handler such as recording errors, etc. and reset MCU after FCCU moves into fault state.But I found that before entering the fault state, the same interrupt will generate many times,is there any way to avoid this happening?

0 Kudos
1 Reply

4 Views
NXP Employee
NXP Employee

Hi,

This behavior is correct.

As you have served ISR triggered by FCCU fault, the fault is not resolved in ISR, but the fault is still active.

You will get immediately new ISR.

the point is user should recover from fault in ISR, by removing its source or by reset triggered via ISR.

If the fault is not removed within ALAR perion (if enabled) then FCCU will move into fault state after timeout expiration.

On other hand, why would you run your program after serving ISR from fault and your fault is not resolved?

Most common case is:

Store the faults in ISR

If possible resolve faults

if not then perform reset (which is considered as safe state)

regards,

Peter

0 Kudos