S32K344 Lock-step kernel

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K344 Lock-step kernel

ソリューションへジャンプ
2,712件の閲覧回数
xuan
Contributor I

HI,

The S32K344 can be used with single-core, multi-core, or Cortex-M7 lock-step cores.
I have learned that the highest level of ASIL B/D compliance can be achieved using lock-step nuclei.
What do I need to do to be able to use the lockstep core ability

Look forward to reply

0 件の賞賛
返信
1 解決策
2,687件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

You need to simply switch the device into lock step mode via DCM records.

petervlna_0-1723455191537.png

In S32K3xx_DCF_clent excel sheet attached to the reference manual you can see the

petervlna_1-1723455288951.png

All you need to do is to program DCF client UTEST_MISC to UTEST memory with bit LOCKSTEP_EN set to 1.

For details please refer to reference manual : 21.3 UTest NVM sector

You will do the write to DCF user space area of UTEST:

petervlna_2-1723455493201.png

 

Best regards,
Peter

 

 

元の投稿で解決策を見る

0 件の賞賛
返信
7 返答(返信)
2,688件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

You need to simply switch the device into lock step mode via DCM records.

petervlna_0-1723455191537.png

In S32K3xx_DCF_clent excel sheet attached to the reference manual you can see the

petervlna_1-1723455288951.png

All you need to do is to program DCF client UTEST_MISC to UTEST memory with bit LOCKSTEP_EN set to 1.

For details please refer to reference manual : 21.3 UTest NVM sector

You will do the write to DCF user space area of UTEST:

petervlna_2-1723455493201.png

 

Best regards,
Peter

 

 

0 件の賞賛
返信
2,685件の閲覧回数
xuan
Contributor I

Thank you very much for your reply,

Forgive me for not understanding your reply

Do you have a sample program for my reference?

0 件の賞賛
返信
2,654件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

An example code using C40 IP driver to write in UTEST memory, please find it in the attachment.

It writes 8 bytes with 0xAA in a free location after 0x1B001B00 address.

So change the code accordingly to write lockstep_en in UTEST_Misc on first free location in DCF user space.

petervlna_0-1723529555551.png

 

Please be sure MPU is not protecting UTEST memory in your code.

Best regards,

Peter

 

0 件の賞賛
返信
2,640件の閲覧回数
xuan
Contributor I

HI,

Thank you very much,

Can you share more information about S32K344 lockstep?
I want to know more about the function of S32K344 lockstep

Looking forward to your reply

0 件の賞賛
返信
2,624件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

All information are available in reference manual.

There is basically nothing to know as it is HW feature.

You can learn more for example from this article:

petervlna_0-1723618347094.png

petervlna_1-1723618369499.png

Best regards,
Peter

 

0 件の賞賛
返信
2,598件の閲覧回数
xuan
Contributor I

HI,

Thank you very much for your reply

I see that the lock core of the S32K344 is enabled.
As far as I know, both cores run the same program to keep them safe after the lockstep core is enabled.
I need to verify. What do I need to do

0 件の賞賛
返信
2,489件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I need to verify. What do I need to do

I do not understand. What do you need to verify? It is HW feature and once the Lockstep is enabled is in active all the time.

If there is and issue in redundancy the FCCU will report fault.

There is nothing you can verify. No user access to checker core is possible. there is just no interface.

best regards,

Peter

0 件の賞賛
返信