SPNA244 September 2020 TM4C1230D5PM , TM4C1230D5PM , TM4C1230E6PM , TM4C1230E6PM , TM4C1230H6PM , TM4C1230H6PM , TM4C1231C3PM , TM4C1231C3PM , TM4C1231D5PM , TM4C1231D5PM , TM4C1231D5PZ , TM4C1231D5PZ , TM4C1231E6PM , TM4C1231E6PM , TM4C1231E6PZ , TM4C1231E6PZ , TM4C1231H6PGE , TM4C1231H6PGE , TM4C1231H6PM , TM4C1231H6PM , TM4C1231H6PZ , TM4C1231H6PZ , TM4C1232C3PM , TM4C1232C3PM , TM4C1232D5PM , TM4C1232D5PM , TM4C1232E6PM , TM4C1232E6PM , TM4C1232H6PM , TM4C1232H6PM , TM4C1233C3PM , TM4C1233C3PM , TM4C1233D5PM , TM4C1233D5PM , TM4C1233D5PZ , TM4C1233D5PZ , TM4C1233E6PM , TM4C1233E6PM , TM4C1233E6PZ , TM4C1233E6PZ , TM4C1233H6PGE , TM4C1233H6PGE , TM4C1233H6PM , TM4C1233H6PM , TM4C1233H6PZ , TM4C1233H6PZ , TM4C1236D5PM , TM4C1236D5PM , TM4C1236E6PM , TM4C1236E6PM , TM4C1236H6PM , TM4C1236H6PM , TM4C1237D5PM , TM4C1237D5PM , TM4C1237D5PZ , TM4C1237D5PZ , TM4C1237E6PM , TM4C1237E6PM , TM4C1237E6PZ , TM4C1237E6PZ , TM4C1237H6PGE , TM4C1237H6PGE , TM4C1237H6PM , TM4C1237H6PM , TM4C1237H6PZ , TM4C1237H6PZ , TM4C123AE6PM , TM4C123AE6PM , TM4C123AH6PM , TM4C123AH6PM , TM4C123BE6PM , TM4C123BE6PM , TM4C123BE6PZ , TM4C123BE6PZ , TM4C123BH6PGE , TM4C123BH6PGE , TM4C123BH6PM , TM4C123BH6PM , TM4C123BH6PZ , TM4C123BH6PZ , TM4C123BH6ZRB , TM4C123BH6ZRB , TM4C123FE6PM , TM4C123FE6PM , TM4C123FH6PM , TM4C123FH6PM , TM4C123GE6PM , TM4C123GE6PM , TM4C123GE6PZ , TM4C123GE6PZ , TM4C123GH6PGE , TM4C123GH6PGE , TM4C123GH6PM , TM4C123GH6PM , TM4C123GH6PZ , TM4C123GH6PZ , TM4C123GH6ZRB , TM4C123GH6ZRB
This application report demonstrates how to use the TM4C CAN module for simple transmit and receive operations. It also includes the code and utilities needed to implement a CAN-based bootloader.
Project collateral and source code discussed in this application can be downloaded from the following URL: http://www.ti.com/lit/zip/spna244.
LaunchPad and Code Composer Studio are trademarks of Texas Instruments Incorporated.
Arm and Cortex are registered trademarks of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
All other trademarks are the property of their respective owners.
TM4C MCUs offer a broad array of wired connectivity peripheral including an integrated CAN bus which only requires external CAN transceivers. Texas Instruments low-cost evaluation platforms such as the EK-TM4C123GXL LaunchPad™ Evaluation Kit for Arm® Cortex®-M4F based microcontrollers allow for quick and affordable evaluation for many device features. However, the LaunchPad lacks the required on board CAN transceivers. The Edde Flex CAN BoosterPack provides the transceivers needed for the EK-TM4C123GXL to communicate over CAN.
Installation of the Edde Flex CAN booster pack on the EK-TM4C123GXL Launchpad is straight forward. Note that for proper alignment the silkscreen text on the booster pack is upside down in relationship to the silkscreen text on the LaunchPad. for the proper orientation, see Figure 2-1.
With switches 1 and 2 in the “on” position, PE4 and PE5 will be connected to the transmit and receive pins of the booster pack CAN transceiver. Switch 3 in the "on" position connects a 120 Ω termination resistor between CAN0H and CAN0L.
With the exception of the internal loopback example, all examples require a working CAN network. A simple CAN network can be constructed using two EK-TM4C123GXL each with an Edde Flex booster pack as shown in Figure 2-2. Note that there are three connections between the two systems, CAN0H, CAN0L and GND.