MPC5643L transit to Safe mode in Interrupt

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

MPC5643L transit to Safe mode in Interrupt

517 Views
ariebenzvi
Contributor I

I am using MPC5643L controller with evaluation board.

The Application start to run correctly in DRUN mode and able to send a CAN message from the controller. Than it is in main loop.

However when a CAN message is sent to the controller the App goes to SAFE mode. It also happen when I get a Timer interrupt.

When the App transit from DRUN to SAFE mode The RGM-FES register value is:  0x4480

  • - F_FCCU_ARD
  • - F_FL_ECC_RCC
  • - F_FCCU_SAFE

The value of RGM-DEC is: 0x000

Please advise how to find the root cause of this error and hoe to resolve this.

Labels (1)
Tags (1)
0 Kudos
3 Replies

376 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

Do you have micro in LSM or DPM mode?

Because this seems to me like a fault of lock-step.

Make sure your core registers are 64-bite initialized.

Peter

0 Kudos

376 Views
ariebenzvi
Contributor I

Thank you.

The Micro is currently in LSM mode.

Is it possible to disable the transition to safe mode and the reset from this source?

Which bit is needed to configure?

i am planing to switch to DPM mode,

I am currently using GHS probe, Do you have any guideline to make the switch

Best regards,

Aric

0 Kudos

376 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

It is not possible to disable transition to safe mode. This is HW feature.

For mode change to DPM you need to configure in register BIU4 -> bit LSM_DPM to 0.

This user register is stored in shadow flash.

Peter

0 Kudos