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
Solved! Go to Solution.
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
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