MC9S12ZVCA192 port pin settings

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MC9S12ZVCA192 port pin settings

582 次查看
sumathikulkarni
Contributor I

Hi, we are using MC9S12ZVCA192 controller of S12Z family for MSCAN development. We are facing issue in configuring port pins for CAN channel 0. Could you please provide the port pin settings for the same?

标签 (1)
0 项奖励
回复
1 回复

365 次查看
RadekS
NXP Employee
NXP Employee

Hi Sumathi,

msCAN module overtakes control on pin when we enable this module.

TXCANx will be forced to output mode and pull device will be disabled.

RXCANx will be forced to input mode and pull-down device will be disabled.

See Table 2-34. Effect of Enabled Features in RM.

Please ensure that you didn’t enable any pin function with higher priority (IRQ/XIRQ) at these pins.

CAN0 pins could be routed by write into MODRR0 Routing Register. Please ensure that you write into this register just once. In normal mode, the configuration cannot be changed until next MCU reset.

The default settings of MODRR0 register route CAN0 module to CANPHY. CANPHY could be enabled by CPCR_CPE bit.

CANPHY is powered from VDDC power supply. Please ensure that you didn’t disable this power supply by clearing CPMUVREGCTL_EXTCON bit. Write into this register is possible just once in normal modes, anytime in special modes.


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 项奖励
回复