s32k bist

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

s32k bist

2,731 Views
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 Kudos
Reply
12 Replies

2,696 Views
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 Kudos
Reply

2,337 Views
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 Kudos
Reply

2,259 Views
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 Kudos
Reply

2,686 Views
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 Kudos
Reply

2,665 Views
namnguyenviet
NXP Employee
NXP Employee

Hello,

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

Best Regards,

Nam

0 Kudos
Reply

2,706 Views
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 Kudos
Reply

2,705 Views
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 Kudos
Reply

2,573 Views
Mohamed_abdelrazek
Contributor I

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

 

0 Kudos
Reply

2,569 Views
namnguyenviet
NXP Employee
NXP Employee

Hello,

Which package are you referring to?

Best Regards,

Nam

0 Kudos
Reply

2,558 Views
Mohamed_abdelrazek
Contributor I

Hello,
S32K344

0 Kudos
Reply

2,548 Views
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 Kudos
Reply

2,051 Views
Sheon
Contributor I

Is there any example code for SAF BIST (S32K344)

0 Kudos
Reply