why MTRCKTSPS5643L_S32DS Software running in fccu_Init() all the time when i debug?

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

why MTRCKTSPS5643L_S32DS Software running in fccu_Init() all the time when i debug?

961 次查看
Drewing
Contributor I

Dear all,

   We bought the dual 3- phase pmsm development kit with NXP MPC5643L mcu,the link as below:

https://www.nxp.com/design/development-boards/automotive-motor-control-solutions/mpc5xxx-solutions-/... 

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:

Drewing_1-1645960820643.png

The hardware connection as below:

Drewing_2-1645960958242.png

How to deal with it?

Thanks for giving the help!

 

0 项奖励
回复
3 回复数

945 次查看
petervlna
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

942 次查看
Drewing
Contributor I

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! !

 

 

0 项奖励
回复

933 次查看
petervlna
NXP TechSupport
NXP TechSupport

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

 

0 项奖励
回复