MC9S12ZV CAN

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

MC9S12ZV CAN

1,326 次查看
zhouqicheng
Contributor I

Hello, MC9S12ZV official routine, can communication cannot be found, the configuration of the can pin cannot be confirmed, and it is not possible to confirm whether the pin is correct. ADC does not seem to mention the pin configuration, but it is used normally,

2、 Will can communication conflict with FREEMAster? I didn't understand this sentence in the picture

0 项奖励
回复
3 回复数

1,239 次查看
lama
NXP TechSupport
NXP TechSupport

Hi,

Because, it is still not clear what you do I attached an example for CAN and S12ZVL or S12ZVC.
In both examples the loopback mode is used so the communication is not visible at pins. This provides you to learn CAN communication.

However, if you want to test the CAN with transceiver connected you need a real bus to manage error statuses. For thi it is suitable to read CAN specification. https://www.nxp.com/docs/en/reference-manual/BCANPSV2.pdf


Moreover, you can test the can without a transceiver ... see https://www.mikrocontroller.net/attachment/28831/siemens_AP2921.pdf

If the CAN is enabled at pin then CAN peripheral takes precedence over all peripherals available at the pin wit less priority.

 

If it is still not enough you can use paid version of the CodeWarrior eclipse and ProcessorExpert implemented in it and you can include CAN modules into the project.

 

Best regards,

Ladislav

 

0 项奖励
回复

1,287 次查看
lama
NXP TechSupport
NXP TechSupport

Hi.
It is not clear what an official routine means.
Did you test CAN Tx?
Is the CAN connected to transceiver?
Do you use some EVB? S12ZV is not a fill device number.
What official routine?

If Freemaster do not use CAN communication interface then it does not influence CAN peripheral.
However, if you are not sure about Freemaster usage then use following board:
https://community.nxp.com/t5/FreeMASTER/bd-p/freemaster

Best regards,
Ladislav

0 项奖励
回复

1,245 次查看
zhouqicheng
Contributor I

Hello, the tx pin has been consistently high. Is the can pin of the MC9s12zvl64mlf chip automatically defaulted, does it not need to be configured? Is there a can communication routine?

0 项奖励
回复