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.
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.