STCU2 BIST ERR_STAT analyse question

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

STCU2 BIST ERR_STAT analyse question

跳至解决方案
1,400 次查看
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 项奖励
回复
1 解答
1,203 次查看
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

在原帖中查看解决方案

标记 (1)
0 项奖励
回复
4 回复数
1,370 次查看
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 项奖励
回复
1,352 次查看
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 项奖励
回复
1,314 次查看
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 项奖励
回复
1,204 次查看
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

标记 (1)
0 项奖励
回复