Dear all,
We bought the dual 3- phase pmsm development kit with NXP MPC5643L mcu,the link as below:
When i download the software into the board and then debug it,it running in the fccu_Init(void) function all the time and can not jump out it,as below:
The hardware connection as below:
How to deal with it?
Thanks for giving the help!
Hello,
Most probable issue here is the pending FCCU fault which is preventing of entry to config state.
Or you are trying to step by step debug this procedure in debugger and the FCCU cunfiguration watchdog will expire. Make sure you execute FCCU config at once after you enter configuration keys. Otherwise you wont be able to pass this condition in code.
best regards,
Peter
Thanks you for reply! Peter!
Can i analyze the pending FCCU fault ,step by step debug this procedure in debugger?
But similarly,i comment out the '//mc33905Config(&sbcDrv);' and
//mc33937DoubleReset(&(M1.preDrv));
// Initialize MC33937 driver on 3ph Low voltage power-stage
//mc33937Config(&(M1.preDrv));
//mc33937Enable(&(M1.preDrv));
//mc33937ReadSr(&(M1.preDrv));
The procedure can run to the end,but can not into the foc interrupt function.
Unfortunately,The SBC chip that MCZ33905 is broken when i debug it.
BTW,I still don't understand how to debug this FCCU function! !
Hello,
Can i analyze the pending FCCU fault ,step by step debug this procedure in debugger?
As I explained before. You cant step debug FCCU. As after you enter the keys, the time spend in configuration mode is guarded by timer, which on expire will abort the config state.
Best regards,
Peter