Problem with FCCU fault injection

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem with FCCU fault injection

Jump to solution
1,876 Views
yixinwu
Contributor I

Hello Community,

 

I have got a problem with FCCU fault injection.

 

The FCCU can be configured as the guide described. The reaction of all faults has been set as no reaction. Then I make a fault injection of NCF[7] and no reset is done. The corresponding fault bit in NCF_S0 can be read. It works well.

 

Then the reaction for the fault NCF[7] has been set as short functional reset. (Only reacts if fault 7 occurs. The other faults won't trigger a reset.) I make a fault injection of NCF[7] and a reset can be observed. It works well.

 

The FCCU configuration remains unchanged. I make a fault injection of NCF[10] for example but a reset can also be observed. There should be no reset cause no reaction is set for NCF[10]. Why do I always get a reset, no matter which fault is injected, although no reaction has been set for this fault?

 

Here is my configuration:

174481_174481.pngpastedImage_1.png

and code for fault injection:

174483_174483.pngpastedImage_3.png

 

Thank you in advance for help!

Labels (1)
0 Kudos
Reply
1 Solution
1,609 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

Because your reset on NCF[10] is coming from FOSU and it is a destructive reset.

Not FCCU itself.

pastedImage_1.png

FOSU is enabled by setting any bit of NCF_E and correspondingly same bit in any of the NMI_EN, IRQ_ALARM_EN, EOUT_SIG_EN or NCFS_CFG.

Peter

View solution in original post

0 Kudos
Reply
6 Replies
1,610 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

Because your reset on NCF[10] is coming from FOSU and it is a destructive reset.

Not FCCU itself.

pastedImage_1.png

FOSU is enabled by setting any bit of NCF_E and correspondingly same bit in any of the NMI_EN, IRQ_ALARM_EN, EOUT_SIG_EN or NCFS_CFG.

Peter

0 Kudos
Reply
1,609 Views
yixinwu
Contributor I

Thank you for the quick reply.

I have read the chapter 69.7 in the user manual. The mechanism of FOSU means, no matter which reaction for which error is configurated, FOSU will trigger a reset for any fault in FCCU because the 'do nothing' input from FCCU is not asserted? And this FOSU seems not to be disabled?

If I just want to get an alarm for a fault, I should stop the FOSU internal timer by doing following from FCCU according to user manual:

1.Reset: Long or short functional reset

2.IRQ: NMI or Alarm

3.Error out triggered (by FCCU or by SW)

The first one is clear and it is the option which I don't want. The second means the register of FCCU_NMI_EN or FCCU_IRQ_ALARM_EN can be configurated. This has been tested and it works. What is the meaning of the third option?

Thank you.

0 Kudos
Reply
1,609 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

It means exactly whats its name is.

It is a signalization via FCCU fault pins to outside world that fault has occurred.

Peter

0 Kudos
Reply
1,609 Views
yixinwu
Contributor I

Ah ok.

I thought the error out is always triggered by FCCU automatically. How is the case that it is not done by FCCU but by SW?

0 Kudos
Reply
1,609 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

It means exactly what its name is.

SW -> user has to signal out fault - not done by FCCU HW.

Peter

0 Kudos
Reply
1,609 Views
yixinwu
Contributor I

Thank you very much for the support.

0 Kudos
Reply