MPC5643L transit to Safe mode in Interrupt

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

MPC5643L transit to Safe mode in Interrupt

568 次查看
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.

标签 (1)
标记 (1)
0 项奖励
3 回复数

427 次查看
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 项奖励

427 次查看
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 项奖励

427 次查看
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 项奖励