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

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

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

656 Views
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 Reply

428 Views
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