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 , TM4C123FE6PM , TM4C123FE6PM , TM4C123FH6PM , TM4C123FH6PM , TM4C123GE6PM , TM4C123GE6PM , TM4C123GE6PZ , TM4C123GE6PZ , TM4C123GH6PGE , TM4C123GH6PGE , TM4C123GH6PM , TM4C123GH6PM , TM4C123GH6PZ , TM4C123GH6PZ

 

  1.   Abstract
  2.   Trademarks
  3. 1Introduction
  4. 2Installation of Edde Flex CAN Booster Pack for TI TIVA C
  5. 3Download and Import the CAN Host Examples
  6. 4Modified CAN.C for Interrupts
  7. 5Example Projects
    1. 5.1 Internal Loopback With Interrupts (simple_can_loopback)
    2. 5.2 Simple CAN Transmit (simple_can_tx)
    3. 5.3 Simple CAN Receive (simple_can_rx)
    4. 5.4 CAN UART Bridge (can_uart_bridge)
  8. 6CAN Bootloader
    1. 6.1 Bootloader Configuration
    2. 6.2 Boot Demo Program (boot_demo_can)
    3. 6.3 UART-to-CAN Bridge for LM Flash Programmer Support
      1. 6.3.1 CCS Demo Program (uart_to_can)
      2. 6.3.2 SendCANID PC Program
    4. 6.4 Using the CAN Bootloader

Download and Import the CAN Host Examples

There are seven Code Composer Studio™ (CCS) project examples attached as collateral to this application report. The examples can be downloaded from the following URL: http://www.ti.com/lit/zip/spna244. You can unzip the project or keep it in zip format. Both formats can be imported into CCS.

  1. To import the project into CCS, first select "File" → "Import".
    GUID-DA645E60-7BCF-4428-8816-F6245CC625B8-low.png Figure 3-1 Import CCS Projects Step 1
  2. Select "CCS Projects" to import the example and then click "Next".
    GUID-4C4AD8E4-A502-44ED-80BE-79F07B81FCAB-low.png Figure 3-2 Import CCS Projects Step 2
  3. Provide the path to either the unzipped project by selecting the first radio button or import from the zip file directly by selecting the second radio button. Click the "Copy projects into workspace".
    GUID-C490D3F0-A1EA-4D8F-8CE1-449956F9ED77-low.png Figure 3-3 Import CCS Projects Step 3
  4. After the project path is provided, seven discovered projects will show up. First, click the "Select All" button and then click the "Finish" button to complete the import.
    GUID-20200902-CA0I-10GT-SQQJ-95QCGJ99V3LX-low.png Figure 3-4 Import CCS Projects Step 4

These projects were built using CCS version 9.3 and the Texas Instruments ARM compiler tools version 18.12.6.

There is also an executable program for the PC (SendCANID.exe) and three .bat files (StopBlue.bat, StopGreen.bat and StopRed.bat) that are used with the CAN bootloader demo program. These should be extracted from the .zip file and placed in a directory where they can be executed.