MM9Z1J638 msCAN cant exit the initialization mode

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

MM9Z1J638 msCAN cant exit the initialization mode

跳至解决方案
1,752 次查看
Lin_Siul2u
Contributor I

Hi:

I encountered some issues when using the MsCAN of MM9Z1J638. I found that when I called the Init_CAN function for initialization, the return value would return ERR_INIT. After checking the specific content of the Init_CAN function, I discovered that after entering the initialization mode (INITAK == 1 && INITRQ == 1), when I completed the initialization configuration and attempted to exit the initialization mode by writing 0 to CANCTL0.INITRQ, I found that the INITAK value was still equal to 1. That is, the initialization did not exit. Could you please tell me what might be the possible reasons for this situation?

#MM9Z1638 #msCAN

0 项奖励
回复
1 解答
1,741 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Lin_Siul2u,

What clock source have you selected in CANCTL1[CLKSRC]?

If you use the Oscillator clock, is the clock enabled?

 

Thank you,

BR, Daniel

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,742 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Lin_Siul2u,

What clock source have you selected in CANCTL1[CLKSRC]?

If you use the Oscillator clock, is the clock enabled?

 

Thank you,

BR, Daniel

0 项奖励
回复
1,748 次查看
Lin_Siul2u
Contributor I

btw,i am using the CAN0,and the reset mode is set as FAST.

0 项奖励
回复