Lockstep and dual couple modes in MPC5746R Microcontroller

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

Lockstep and dual couple modes in MPC5746R Microcontroller

1,343 Views
damu_nagarimadu
Contributor I

Could you please provide information about the MPC546R cores operation.

0 Kudos
Reply
3 Replies

1,066 Views
damu_nagarimadu
Contributor I

Hi David,

Thanks for quick update on Core operations. I am planning to run the two cores with deferent software's and I need to enable safety lake as well. So could you please provide sample code to run the two different SW on the two main cores and safety lake enable.

Thanks,

Damu

0 Kudos
Reply

1,066 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Such example you may find for instance here:

Example MPC5746R DPM (multicore) GHS614 

What's the difference telling whether safety lake is enabled or not is LOCKSTEP EN bit in the DCF_UTEST_Miscellaneous client. By default lockstep in enabled.

It means in the moment Main Core 0 is enabled, Checker Core 0s is enabled as well.

0 Kudos
Reply

1,066 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, MPC57xx does not use LSM/DPM modes, but device has main core and checker core (so called Safety Lake) as you can see in the picture below. These can be enabled or disabled, thus the protection is available or not, but safety lakes cannot be used for increasing of device overall performance.

Main core and checker are almost the same, but differs in absence of some sub-blocks in its checker variant (caches, nexus). Its number is decreased by one (e200z720 -> e200z719). Safety core operates in delayed lockstep mode (LSM) to allow the highest safety level to be reached. The checker core will receive all inputs delayed by two clock cycles. Outputs of the checker core will be compared with outputs of the master core. Any differences will be flagged as an error and processed by the FCCU.

pastedImage_1.png

Hope it helps to understand the principle.

0 Kudos
Reply