SPRUJ79A November 2024 – December 2025 F29H850TU , F29H859TU-Q1
FILE: mcan_ex5_receive.c
This example demonstrates the MCAN receive function. Communication is done between two CAN nodes. The transmitting node could be another MCU or a CAN bus analysis tool capable of transmitting CAN FD frames. The transmit and receive pins of the MCAN module should be connected to a CAN transceiver. Nominal Bit Rate of 1 mbps & Data bit rate of 2 Mbps is used
Only Standard frame with message ID 0x4 is received.
If another C2000 MCU is used as the transmitter, mcan_ex4_transmit.c can be run on it for the transmit function.
NOTE - Select XTAL clock source by doing the following change in device.h file: #define USE_PLL_SRC_XTAL //#define USE_PLL_SRC_INTOSC
Hardware Required
External Connections
Both nodes should communicate through CAN FD capable transceivers.
Watch Variables