Hi Yan,
You may also use the more complex MSCAN S12 driver for your reference.
Note: This driver was created for older S12(X) devices (the CW5 projects cannot be used directly), but the CAN module is still the same.
I hope it helps you.
Have a great day,
Radek
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------