MPC5746C enter IVOR1_Handler interrupt, use the official demo, why?

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

MPC5746C enter IVOR1_Handler interrupt, use the official demo, why?

1,425 次查看
my_souls
Contributor III

MPC5746C enter IVOR1_Handler interrupt, use the official demo, why?

0 项奖励
5 回复数

1,099 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hi,

Could you provide an issue closer description?

HW , SW used?

Any latched Faults in FCCU?

regards,

Peter

0 项奖励

1,099 次查看
my_souls
Contributor III

Hi,

    currently using IDE for ‘S32 Design Studio for Power Architecture Version: 2.1’, SDK for SDK PA RTM v3.0.0, using the Demo in the SDK, the program execution to the operation of CAN or PIT resources will jump to the IVOR1_Handler interrupt. I don't know the specific reason.

Get the demo version from the SDK, as shown below:

pastedImage_1.png

pastedImage_2.png

0 项奖励

1,099 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hi,

Ok, now it is good to check the FCCU NCFSx register for any latched faults once you end in IVOR1.

To read FCCU NCFSx registers you have to execute reading operation.(refer to reference manual)

When you debug the program which instruction cause the jump to IVOR1?

regards,

Peter

0 项奖励

1,099 次查看
my_souls
Contributor III

Hi,

Thank you very much for your answer. I seem to have found the problem. Currently, there is no OSC32K external pin in the MCU of the MPC5746C 100MAPBGA, and MC_ME.DRUN_MC.SXOSCON is enabled in the Demo of the SDK, but it does not judge and wait for MC_ME.GS. The .B.S_MTRANS bit is set to 0, so the program jumps to the IVOR1_Handler interrupt when the PIT register is manipulated.
It seems that the officially provided Demo Code does not distinguish the 100MAPBGA of the MPC5746C from other Pin packages

0 项奖励

433 次查看
huaqingren
Contributor I

I also meet this question, and I want to know how to fix this bug? Thank you!

0 项奖励