Hi Jie,
I would recommend to use CodeWarrior with embedded Processor Expert software, which provides CAN_LDD component.
In the typical usage CAN_LDD provides interrupt mode and polling mode application demo.
More detailed info, please check CAN_LDD help file.

Wish it helps.
best regards
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------