メインコンテンツ

このページは機械翻訳を使用して翻訳されました。元の英語を参照するには、ここをクリックします。

通信ペリフェラル

CAN、I2C、 IPC 、SCI、SPI、TCP、UDPなどの通信ペリフェラルを設定して使用する

TI’s C2000™マイクロコントローラーで利用可能な CAN、I2C、 IPC 、SCI、SPI などの通信ペリフェラルを使用して Simulink® モデルを作成します。モデル コンフィギュレーション パラメーターを使用して、サポートされているターゲット ハードウェアとのインターフェイスを作成するように Simulink モデルを構成します。Hardware Mapping ツールを使用して、モデル内のタスクとペリフェラルをハードウェアボード構成にマップできます。

ブロック

すべて展開する

C28x CAN ReceiveEnhanced Controller Area Network receive mailbox
C28x CAN TransmitEnhanced Controller Area Network transmit mailbox
MCAN ReceiveRead data from CAN bus (R2021a 以降)
MCAN TransmitSend serial data to CAN bus (R2021a 以降)
MCAN Interrupt StatusOutput specific bits of MCAN interrupt register or entire register (R2021b 以降)
C28x I2C ReceiveConfigure inter-integrated circuit (I2C) module to receive data from I2C bus
C28x I2C TransmitI2Cバスにデータを送信するためにI2Cモジュールを構成する
Interprocess Data ReadReceive messages from another processor using interprocess communication channel
Interprocess Data WriteSend messages to another processor using interprocessor data write
Interprocess Data ChannelModel interprocessor data channel between two processors
C28x SCI ReceiveReceive data on target via serial communication interface (SCI) from host
C28x SCI Transmitシリアル通信インターフェース(SCI)を介してターゲットからホストにデータを送信します。
C28x SPI Controller TransferWrite data to and read data from SPI peripheral device
C28x SPI ReceiveReceive data through Serial Peripheral Interface (SPI) on target
C28x SPI TransmitTransmit data through Serial Peripheral Interface (SPI) on target
C2803x LIN ReceiveReceive data via local interconnect network (LIN) module on target
C2803x LIN TransmitTransmit data from target via serial communications interface (SCI) to host
C29x UART ReceiveReceive data from the Universal Asynchronous Receiver Transmitter (UART) port (R2025a 以降)
C29x UART TransmitSend serial data to the Universal Asynchronous Receiver Transmitter (UART) port (R2025a 以降)
MCAN ReceiveRead data from CAN bus (R2021a 以降)
MCAN TransmitSend serial data to CAN bus (R2021a 以降)
MCAN Interrupt StatusOutput specific bits of MCAN interrupt register or entire register (R2021b 以降)
F2838x-M4 TCP ReceiveReceive data over TCP/IP network from remote host
F2838x-M4 TCP SendSend data over TCP/IP network to remote host
F28M35x/F28M36x TCP SendSend TCP packets to a TCP host on TCP/IP network
F28M35x/F28M36x TCP ReceiveReceive TCP packets from TCP host on TCP/IP network
F2838x-M4 UDP SendSend UDP packets to UDP host
F2838x-M4 UDP ReceiveReceive UDP packets from UDP host
F28M35x/F28M36x UDP SendSend UDP packets to UDP host
F28M35x/F28M36x UDP ReceiveReceive UDP packets from the specified UDP host
F2838x-M4 UART Receiveユニバーサル非同期送受信機(UART)ポートからデータを受信する
F2838x-M4 UART TransmitシリアルデータをUniversal Asynchronous Receiver Transmitter (UART)ポートに送信する
F28M35x/F28M36x UART TransmitTransmit serial data to the Universal Asynchronous Receiver Transmitter (UART) port
F28M35x/F28M36x UART ReceiveReceive data from the Universal Asynchronous Receiver Transmitter (UART) port
F2838x-M4 Hardware InterruptTrigger downstream function-call subsystem from interrupt service routine
F28M3xx-M3 Hardware InterruptTrigger downstream function-call subsystem from interrupt service routine
F2837xD/F2838x/F2838x-M4 IPC ReceiveReceive data from either core while using separate model for each core
F2837xD/F2838x/F2838x-M4 IPC TransmitTransmit data to either core while using separate model for each core

ツール

Hardware Mappingモデル内のタスクとペリフェラルをハードウェアボード構成にマッピングする (R2022b 以降)

トピック

トラブルシューティング

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.

注目の例