s32k bist

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

s32k bist

2,732 次查看
Higgs_Boson
Contributor I

Hi, 

We are now evaluate the S32K BIST feature, when the sw call the api  Bist_Run() to initiated the bist , but the mcu reset. It happened in 

Bist_SelfTestTrigger() 

SAFETYBASE_REG_WRITE32(BIST_MC_RGM_ERCTRL_REG, BIST_MC_RGM_EASSERT_MASK);
 
Please anyone could help to resolve this issue?
0 项奖励
回复
12 回复数

2,697 次查看
namnguyenviet
NXP Employee
NXP Employee

Hello,

Could you check the registers status right after the MCU is reset after executing Bist_Run(). The status should be as following:

namnguyenviet_0-1668670671138.png

namnguyenviet_1-1668670719073.png

Best Regards,

Nam

0 项奖励
回复

2,338 次查看
Higgs_Boson
Contributor I

Thanks That support.

 A new problem occur. When Enable the Bist Feature , the MCU gose into HardfaultHandler when use Trace32 in debug. But It is Normal without trace32 in debug. 

Please help to solve this issue. Thanks.

PS: BIST is Done without Trace32 debug. 

Higgs_Boson_0-1678691583997.png

 

 

0 项奖励
回复

2,260 次查看
namnguyenviet
NXP Employee
NXP Employee

Hello,

Since this ticket is quite long time ago and hence difficult to track, can you create another one?

Thank you.

Nam

0 项奖励
回复

2,687 次查看
Higgs_Boson
Contributor I

 the registers status right after the MCU is reset after executing Bist_Run().

Higgs_Boson_0-1668784526246.png

Higgs_Boson_1-1668784563413.png

 

And the attach file shows the registers list  with bist run after power on reset, before Bist_SelfTestTrigger()is call.

Higgs_Boson_2-1668784652926.png

 

Please help to analyse it , Thanks. 

 

0 项奖励
回复

2,666 次查看
namnguyenviet
NXP Employee
NXP Employee

Hello,

Not sure why the issue has occurred. Did you verify our demo code?

Best Regards,

Nam

0 项奖励
回复

2,707 次查看
namnguyenviet
NXP Employee
NXP Employee

Hello,

Please try to go over the Bist_Run() function. After that, eventually a reset will be occurred according to the BIST sequence mentioned in RM

namnguyenviet_0-1668582981018.png

After reset, you can verify the status of the BIST in SCTU registers.

Best Regards,

Nam

0 项奖励
回复

2,706 次查看
Higgs_Boson
Contributor I

hi,

Thanks the reply.

The bist status is clear after reset , so i think it is not a functional reset. 

following screenshot is attach to s32k after it reset :

 

Higgs_Boson_0-1668586188192.png

 

0 项奖励
回复

2,574 次查看
Mohamed_abdelrazek
Contributor I

I need to find example project for BIST on S32K controller, can anyone help me ?

 

0 项奖励
回复

2,570 次查看
namnguyenviet
NXP Employee
NXP Employee

Hello,

Which package are you referring to?

Best Regards,

Nam

0 项奖励
回复

2,559 次查看
Mohamed_abdelrazek
Contributor I

Hello,
S32K344

0 项奖励
回复

2,549 次查看
namnguyenviet
NXP Employee
NXP Employee

Hello,

Please download S32K3 Safety Peripheral Drivers version 1.0.1 from https://www.nxp.com/products/processors-and-microcontrollers/s32-automotive-platform/s32k-general-pu... - S32K3 Standard Software:

namnguyenviet_1-1673334681000.png

After that, install the following package, and make sure that you have selected "S32K3 SPD Demo application"

namnguyenviet_0-1673334545253.png

Best Regards,

Nam

 

0 项奖励
回复

2,052 次查看
Sheon
Contributor I

Is there any example code for SAF BIST (S32K344)

0 项奖励
回复