Demo – Implementing CAN on Aurix TriCore TC275
Description
The official code example from Infineon (MULTICAN_1_KIT_TC275_LK) demonstrates the use of the MultiCAN module for internal CAN data transmission. It establishes communication between CAN Node 0 and CAN Node 1 within the same board by using Loop-Back mode.
While this setup is useful for verifying internal functionality, Loop-Back mode shall be disabled to allow actual CAN communication with external devices.
The steps for a successful CAN transmission with Loop-Back OFF are:
• CAN Initialization – Provided in initMultican()
-> CAN module configuration and initialization
-> Source CAN node configuration and initialization
-> Source message object configuration and initialization
• CAN Pins configuration
• Enable CAN transceiver
• CAN message transmission – Provided in transmitCanMessage()
• Interrupt Service Routine – Provided in canIsrTxHandler()
For more details please refer to full article.
Leave a Reply