SLAAET4A April   2025  – October 2026 MSPM0G3506 , MSPM0G3507 , MSPM0G3518 , MSPM0G3519

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1CAN Introduction
    1. 1.1 CAN Standard
      1. 1.1.1 CAN Bus
      2. 1.1.2 CAN Frame
      3. 1.1.3 CAN Bit Timing
    2. 1.2 MSPM0 MCAN Module
  5. 2Sysconfig Configuration for MCAN Module
    1. 2.1 MCAN Clock Frequency
    2. 2.2 MCAN Basic Configuration
      1. 2.2.1 Transmitter Delay Compensation (TDC)
      2. 2.2.2 Bit Timing Parameters
      3. 2.2.3 Message RAM Configuration
        1. 2.2.3.1 Standard and Extended ID Filter Configuration
          1. 2.2.3.1.1 How to Config More than One Filter
        2. 2.2.3.2 TX MSG RAM
        3. 2.2.3.3 RX MSG RAM
    3. 2.3 Advanced Configuration
    4. 2.4 Retention Configuration
    5. 2.5 Interrupts
    6. 2.6 Pin Configuration and PinMux
  6. 3SDK Example Code Introduction
    1. 3.1 mcan_loopback
    2. 3.2 mcan_message_rx
    3. 3.3 mcan_message_rx_tcan114x
    4. 3.4 mcan_multi_message_tx
    5. 3.5 mcan_multi_message_tx_tcan114x
    6. 3.6 mcan_single_message_tx
  7. 4MCAN Use Case
    1. 4.1 TX Buffer Element
    2. 4.2 RX Buffer Element
    3. 4.3 TX Handling Buffer Mode
    4. 4.4 TX Handling FIFO Mode
    5. 4.5 RX Handling Buffer Mode
    6. 4.6 RX Handling FIFO Mode
    7. 4.7 Using MSPM0 MCAN in Low Power Mode
    8. 4.8 Bus Off Handling
  8. 5Design Test and Debug Tips
    1. 5.1 Minimum Number of Nodes Required
    2. 5.2 Why a Transceiver is Needed
    3. 5.3 Debug Checklist
      1. 5.3.1 Programming Issues
      2. 5.3.2 Physical Layer Issues
      3. 5.3.3 Hardware Debug Tips
  9. 6Summary
  10. 7References
  11. 8Revision History

mcan_multi_message_tx_tcan114x

This example demonstrates the MCAN external transmit function to send multiple messages using the BOOSTXL-TCAN1145 BoosterPack™. External communication is done between two CAN nodes. The receiving node can be another MCU or a CAN bus analysis tool capable of receiving or acknowledging the transmitted frames. Connect both CAN nodes through a CAN transceiver. This example can be used with the mcan_multi_message_rx_tcan114x example project. A nominal bit rate of 250kbps and data bit rate of 2Mbps are used.

The software first initiailzes the TCAN114x module through SPI. Meanwhile, TX messages are stored in the CAN message RAM as buffer mode. Then, use a software call add request for the transmission API to transmit messages in the desired TX buffer.

 Output of Bus-Monitoring Tool
                    for mcan_multi_message_tx_tcan114x Figure 3-3 Output of Bus-Monitoring Tool for mcan_multi_message_tx_tcan114x