[MPC5777C] How to disable the M_CAN module?

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

[MPC5777C] How to disable the M_CAN module?

ソリューションへジャンプ
256件の閲覧回数
MatheusFranklin
Contributor III

Hello!

 

The FlexCAN has the MDIS field in the CAN_MCR register to disable the module. I am searching for a register field which does the same thing for the M_CAN module. Since it does not have a MDIS field in any register, is there a field named differently with the same purpose? 

The M_CAN_CCCR[CSA] field description says that when it is asserted, the "M_CAN may be set in power down by stopping M_CAM input clocks". How do I stop the M_CAN input clocks? Does writing 1 to this field disables the M_CAN module?

 

Best regards,

Matheus

0 件の賞賛
返信
1 解決策
219件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

the power down mode is described in chapter 41.5.1.8 Power Down (Sleep Mode) of the device Reference Manual. The M_CAN can be put into power down mode by setting CCCR[CSR].
Then MCAN sets INIT bit and CSA bit as well, after that clocks can be halted. This can be done by respective bits in SIU.HLT2 register.

BR, Petr 

元の投稿で解決策を見る

1 返信
220件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

the power down mode is described in chapter 41.5.1.8 Power Down (Sleep Mode) of the device Reference Manual. The M_CAN can be put into power down mode by setting CCCR[CSR].
Then MCAN sets INIT bit and CSA bit as well, after that clocks can be halted. This can be done by respective bits in SIU.HLT2 register.

BR, Petr