Driver or sample code for bus CAN

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Driver or sample code for bus CAN

Jump to solution
3,574 Views
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

Labels (1)
0 Kudos
1 Solution
952 Views
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.

View solution in original post

0 Kudos
2 Replies
952 Views
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 Kudos
953 Views
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 Kudos