STCU2 BIST ERR_STAT analyse question

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

STCU2 BIST ERR_STAT analyse question

Jump to solution
2,195 Views
rory2
Contributor II

background:

chip s32k341,

SPD 1.0.4 version,

WDG->WDGEOC = 0x61A7UL.

 

problem description:

ST_DONE functional reset happened after running Bist_Run(BIST_SAFETYBOOT_CFG),  reading ERR_STAT register shows that WDTOSW bit and RFSF bit are set.

 

What are the possible reasons? 

thank you.

0 Kudos
Reply
1 Solution
1,997 Views
rory2
Contributor II

I finally solved the problem, and maybe I can give you some help:

1. I chose s32k341 in EB, but there is a macro definition only s32k342, resulting in an incorrect value.

bist1.png

2. My project does not use QSPI and EMAC, but BIST needs to enable the clock of these peripherals.

bist2.png

View solution in original post

Tags (1)
0 Kudos
Reply
4 Replies
2,164 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

petervlna_0-1733215822833.png

In other words, your watchdog timer guarding BIST execution has expired and BIST was aborted.

You can enhance timer in the STCU2 Watchdog Granularity (WDG)

RFSF is most probably set due to the WDG timeout.

petervlna_1-1733216073521.png

Best regards,

Peter

 

0 Kudos
Reply
2,146 Views
rory2
Contributor II

Hello,

I try to increase the STCU2 Watchdog Granularity (WDG) to 0x2625A00(about 16 seconds), but the result doesn't change.

 

The codes also meet these prerequisities:

1112.png

STCU2 regs after ST_DONE functional reset are shown below.

1113.png

Could there be other causes?

 

thank you

 

 

 

 

0 Kudos
Reply
2,108 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Hmm, ok. I never used SPD to run the BIST.

But you can also have following issue:

petervlna_0-1733312660961.png

Can you play with pointer and reduce number of concurrent BIST running? Not sure which degree of configuration SPD offers.

Also, it is possible

petervlna_1-1733312890056.png

https://community.nxp.com/t5/S32K/STCU2-internal-errors-and-SPD-BIST-BIST-DIAGNOSTIC-CFG/m-p/1813872

 

best regards,

Peter

 

0 Kudos
Reply
1,998 Views
rory2
Contributor II

I finally solved the problem, and maybe I can give you some help:

1. I chose s32k341 in EB, but there is a macro definition only s32k342, resulting in an incorrect value.

bist1.png

2. My project does not use QSPI and EMAC, but BIST needs to enable the clock of these peripherals.

bist2.png

Tags (1)
0 Kudos
Reply