How to initialize MPC5643L (TRK-USB-MPC5643L) and run simple application

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

How to initialize MPC5643L (TRK-USB-MPC5643L) and run simple application

791 次查看
nicholasgray
Contributor I

I am having a hard time getting the TRK-USB-MPC5643 evaluation board to run code out of the box. I have been able to get the example code provided in "MPC5643L-TSENS-Temperature_calc-v0_1-CW29" to build and "run" on the target using CodeWarrior Development Studio 10.7 (Eclipse), however before the program never hits the main entry point of the program and the processor gets stuck at IVORltrap (Machine Check / NMI interrupt handler).

I figure there must be something wrong in the way that the processor is being setup causing it to jump to an fault interrupt routine that does nothing.

Any pointers would be helpful.

Thanks.

1 回复

563 次查看
martin_kovar
NXP Employee
NXP Employee

Hello,

there could be problem with LSM/DPM setup of your microcontroller and project. I recommend you to download PinToggleStationery examples for LSM and DPM and try this ones in the microcontroller.

Example XPC5643LKIT PinToggleStationery LSM CW210 

https://community.nxp.com/docs/DOC-101955 

One of them should work correct. Please try and let me know.

Regards,

Martin