Driver or sample code for bus CAN

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

Driver or sample code for bus CAN

跳至解决方案
3,701 次查看
miquel
Contributor I

I published this message because I'm interested in implementing a CAN network with S12XS family MCU's.

I thought maybe any could advice me of what driver or sample code I should use for a professional aplication.

 

Regards.

 

Miquel

标签 (1)
0 项奖励
1 解答
1,079 次查看
RadekS
NXP Employee
NXP Employee

Unfortunately there isn’t any CAN driver for S12(X) MCUs.

All S12(X/Z) MCUs have MSCAN modules in version V2 or V3. Main difference between versions is just in additional feature - user request Bus-off recovery.

We can offer several example codes.

In attachment you can find pack of example codes for CAN include simple baud rate calculator.

Another option is using (part of) code from Processor Expert.

在原帖中查看解决方案

0 项奖励
2 回复数
1,079 次查看
Monica
Senior Contributor III

Hello miquel,

have you find this example useful to implement your own?

Please don't forget to keep us posted! :smileywink:

Best regards,

Monica.

0 项奖励
1,080 次查看
RadekS
NXP Employee
NXP Employee

Unfortunately there isn’t any CAN driver for S12(X) MCUs.

All S12(X/Z) MCUs have MSCAN modules in version V2 or V3. Main difference between versions is just in additional feature - user request Bus-off recovery.

We can offer several example codes.

In attachment you can find pack of example codes for CAN include simple baud rate calculator.

Another option is using (part of) code from Processor Expert.

0 项奖励