MM9Z1J638 msCAN cant exit the initialization mode

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

MM9Z1J638 msCAN cant exit the initialization mode

Jump to solution
1,750 Views
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 Kudos
Reply
1 Solution
1,739 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
1,740 Views
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 Kudos
Reply
1,746 Views
Lin_Siul2u
Contributor I

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

0 Kudos
Reply