Library or sample code for CANBUS TJA1050

I'm developing a project. In this project I need to use the TJA1050 Module to connect to the CAN protocol. Do you have a library or sample code to use this module?

May be this post will help you try something?

The TJA1050 is a CAN Transceiver. It only translates signal levels. You need a CAN Controller to turn the signal levels into useful messages. I think the Arduino DUE is capable of acting as a CAN Controller but for other Arduinos you would typically use a separate controller like the MCP2515 CAN Controller. Pick a controller and look for an Arduino library to control it.