Main Content

Communication Peripherals

R2026b
Configure and use communication peripherals such as CAN, I2C, IPC, SCI, SPI, TCP, UDP, and more

Create Simulink® models with the communication peripherals such as CAN, I2C, IPC, SCI, SPI, and more available on TI’s C2000™ microcontrollers. Configure the Simulink model to interface with supported target hardware using model configuration parameters. You can map tasks and peripherals in a model to hardware board configurations using Hardware Mapping tool.

Blocks

expand all

C28x CAN Receive blockC28x CAN ReceiveEnhanced Controller Area Network receive mailbox
C28x CAN Transmit blockC28x CAN TransmitEnhanced Controller Area Network transmit mailbox
MCAN Receive blockMCAN ReceiveRead data from CAN bus
F2838x-M4 MCAN Transmit blockMCAN TransmitSend serial data to CAN bus
MCAN Interrupt Status BlockMCAN Interrupt StatusOutput specific bits of MCAN interrupt register or entire register
C28x I2C Receive blockC28x I2C ReceiveConfigure inter-integrated circuit (I2C) module to receive data from I2C bus
C28x I2C Transmit blockC28x I2C TransmitConfigure inter-integrated circuit (I2C) module to transmit data to I2C bus
Block icon of interprocess data read.Interprocess Data ReadReceive messages from another processor using interprocess communication channel
Interprocess Data WriteSend messages to another processor using interprocessor data write
Block icon of interprocess data channel.Interprocess Data ChannelModel interprocessor data channel between two processors
C28x SCI Receive blockC28x SCI ReceiveReceive data on target via serial communication interface (SCI) from host
C28x SCI Transmit blockC28x SCI TransmitTransmit data from target via serial communication interface (SCI) to host
C28x SPI controller Transfer blockC28x SPI Controller TransferWrite data to and read data from SPI peripheral device
C28x SPI Receive blockC28x SPI ReceiveReceive data through Serial Peripheral Interface (SPI) on target
C28x SPI Transmit blockC28x SPI TransmitTransmit data through Serial Peripheral Interface (SPI) on target
C2803x LIN Receive blockC2803x LIN ReceiveReceive data via local interconnect network (LIN) module on target
C2803x LIN Transmit blockC2803x LIN TransmitTransmit data from target via serial communications interface (SCI) to host
C29x UART ReceiveC29x UART ReceiveReceive data from the Universal Asynchronous Receiver Transmitter (UART) port (Since R2025a)
C29x-UART-TransmitC29x UART TransmitSend serial data to the Universal Asynchronous Receiver Transmitter (UART) port (Since R2025a)
MCAN Receive blockMCAN ReceiveRead data from CAN bus
F2838x-M4 MCAN Transmit blockMCAN TransmitSend serial data to CAN bus
MCAN Interrupt Status BlockMCAN Interrupt StatusOutput specific bits of MCAN interrupt register or entire register
F2838x-M4 TCP Receive blockF2838x-M4 TCP ReceiveReceive data over TCP/IP network from remote host
F2838x-M4 TCP Send blockF2838x-M4 TCP SendSend data over TCP/IP network to remote host
F28M35x/F28M36x TCP Send blockF28M35x/F28M36x TCP SendSend TCP packets to a TCP host on TCP/IP network
F28M35x/F28M36x TCP Receive blockF28M35x/F28M36x TCP ReceiveReceive TCP packets from TCP host on TCP/IP network
UDP SendF2838x-M4 UDP SendSend UDP packets to UDP host
UDP ReceiveF2838x-M4 UDP ReceiveReceive UDP packets from UDP host
F28M35x/F28M36x UDP Send blockF28M35x/F28M36x UDP SendSend UDP packets to UDP host
F28M35x/F28M36x UDP Receive blockF28M35x/F28M36x UDP ReceiveReceive UDP packets from the specified UDP host
F2838x-M4 UART Receive blockF2838x-M4 UART ReceiveReceive data from the Universal Asynchronous Receiver Transmitter (UART) port
F2838x-M4 UART Transmit blockF2838x-M4 UART TransmitSend serial data to the Universal Asynchronous Receiver Transmitter (UART) port
F28M35x/F28M36x UART Transmit blockF28M35x/F28M36x UART TransmitTransmit serial data to the Universal Asynchronous Receiver Transmitter (UART) port
F28M35x/F28M36x UART Receive blockF28M35x/F28M36x UART ReceiveReceive data from the Universal Asynchronous Receiver Transmitter (UART) port
Hardware InterruptF2838x-M4 Hardware InterruptTrigger downstream function-call subsystem from interrupt service routine
Hardware Interrupt blockF28M3xx-M3 Hardware InterruptTrigger downstream function-call subsystem from interrupt service routine
F2837xD/F2838x/F2838x-M4 IPC Receive blockF2837xD/F2838x/F2838x-M4 IPC ReceiveReceive data from either core while using separate model for each core
IPC TransmitF2837xD/F2838x/F2838x-M4 IPC TransmitTransmit data to either core while using separate model for each core

Tools

Hardware MappingMap tasks and peripherals in a model to hardware board configurations (Since R2022b)

Topics

Troubleshooting

External Interrupt Workflow for Texas Instruments C2000 Processors

This topic helps you with the workflow for external interrupts.

Troubleshooting External Mode Issues

Troubleshoot the problems when you try to execute TI C2000 Simulink model in External Mode.

Optimizing Baud Rate Settings for External Mode Communication

Optimize baud rates of SCI-A, on-board FTDI, and windows COM port for external mode communication.

Troubleshoot SPI Communication

Featured Examples