FCCU Interrupt handling

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FCCU Interrupt handling

891 次查看
haiquan_sun
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 项奖励
回复
1 回复

833 次查看
petervlna
NXP TechSupport
NXP TechSupport

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 项奖励
回复