SPRUIW9C October 2021 – March 2024 TMS320F280033 , TMS320F280034 , TMS320F280034-Q1 , TMS320F280036-Q1 , TMS320F280036C-Q1 , TMS320F280037 , TMS320F280037-Q1 , TMS320F280037C , TMS320F280037C-Q1 , TMS320F280038-Q1 , TMS320F280038C-Q1 , TMS320F280039 , TMS320F280039-Q1 , TMS320F280039C , TMS320F280039C-Q1
FILE: mcan_ex13_transmit_TxEventFIFO.c
This example demonstrates the usage of Tx Event FIFO. External communication is done between two CAN nodes. The receiving node could be another MCU or a CAN bus analysis tool capable of Receiving/ACKnowledging transmitted frames. The transmit and receive pins of the MCAN module should be connected to a CAN Transceiver. Nominal Bit Rate of 500 kbps and Data bit rate of 1 Mbps is used. Standard Identifier (STD ID) 0x4 is transmitted with 64 data bytes. Tx Event FIFOs store transmit status information from the Tx Buffer allowing the Tx Buffer to be overwritten based on the needs of the application Message Marker Bits are used to link Tx Event FIFO elements to the Tx Messages, while the Tx Timestamp denotes the counter value for when the message was transmitted.
If another C2000 MCU is used as the receiver, mcan_ex4_receive.c can be run on it for the receive function.
Hardware Required
External Connections
Both nodes should communicate through CAN FD capable transceivers.
Watch Variables