MC9S12ZVCA192

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

MC9S12ZVCA192

955件の閲覧回数
sumathikulkarni
Contributor I

Hi, we are using the MSCAN module for CAN driver development. Is it required to configure CAN physical to use the internal CAN transceiver available in the microcontroller?

ラベル(1)
0 件の賞賛
返信
1 返信

823件の閲覧回数
RadekS
NXP Employee
NXP Employee

Hi Sumathi,

I would like to apologize, but I am not sure with your question.

S12ZVC contains MSCAN module and CANPHY (CAN transceiver).

The default routing option is that MSCAN module is connected internally to CANPHY.

In that case, you have to at least enable CANPHY by CPCR_CPE bit and initialize MSCAN module for communication over CAN.

You have also three other routing options (MODRR0):

0b000 Default setting: MSCAN connects to CANPHY, interface internal only

0b001 Direct control setting: CP0DR[CPDR1] connects to CPTXD, interface internal only

0b100 Probe setting: MSCAN connects to CANPHY, interface visible on 2 external pins

0b110 Conformance test setting: Interface opened and all 4 signals routed externally

See Figure 2-2. CAN Routing Options Illustration in S12ZVC RM.

In case of Conformance test setting, the MSCAN pins will be at PS2, PS3 pins and PANPHY pins will be at PS0, PS1 pins.

This way, you could drive MSCAN module and CANPHY independently.

Note: MODRR0 register could be written just once in normal, anytime in special mode.


I hope it helps you.

Have a great day,
RadekS

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信