SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
FILE: mcan_ex2_external_loopback.c
This example shows the MCAN External Loopback functionality. The external loopback is done between two MCAN Controllers. As there is only one MCAN that exist this example can be changed to make MCAN Transmit or Receive based on define selected. The GPIOs of MCAN should be connected to a CAN Transceiver
Before running this example, please run the mcan_config_c28x example It will initialize the clock, configure the GPIOs.
Selection of Mode : A define has to be selected to make the MCAN to transmit or receive.
Run the example as with RECEIVE Define on one MCAN Controller before running it as Transmit.
Hardware Required
External Connections
Watch Variables