2054175_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2054175_en-US

2054175_en-US

I have a problem about the Sleep wake up of MM9ZJ638

Hello, big guys, I have a problem about the Sleep wake up of MM9ZJ638, which is mainly related to the Sleep of can module. I found through the manual that CAN Sleep module CAN automatically enter the sleep mode after writing SLPRQ bit of CANCTL0 and waiting for CAN module to check the completion of sending and receiving. The SLPAK bit of CANCTL1 CAN be confirmed by reading the SLPAK bit of CANCTL1. In the test, I found that when my control board was in Busoff state, after setting the SLPRQ bit of CANCTL0, the SLPAK bit of CANCTL1 of CAN module was always in 0 state and was not updated to sleep state. What register configuration should I check to ensure that I CAN sleep in Busoff state? Please help me, thank you!

Re: I have a problem about the Sleep wake up of MM9ZJ638According to your idea, I solved the problem, thank youRe: I have a problem about the Sleep wake up of MM9ZJ638

Hi,


The MM9Z1_638 features three main operation modes: Normal operation, Stop mode, and Sleep mode.

lama_0-1741089159138.png


lama_1-1741089159150.png



Sleep mode of CAN is different from sleep mode of the MCU.


a device's DS mentions the MSCAN enters Sleep mode, when requested, after all scheduled TX MBs are empty. 

lama_2-1741089159154.jpeg


You wrote you are in Bus Off state, which occurs during message transmission if error is detected. Thus the MCU does not set MB flag as message was not transmitted successfully. Most probably this prevents the module to acknowledge Sleep mode request. I can recommend to check TXEx flags in CANTFLG, if any is cleared, try to Abort message using respective bit in CANTAAK before Sleep request.


Best regards,

Ladislav

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 04:27 PM
更新者: