MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Podręcznik Użytkownika Strona 55

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 112
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 54
C24x CAN Transmit
3-13
3C24x CAN Transmit
Purpose Configure a CAN mailbox to transmit messages to the CAN pins
Library c2400dspchiplib in Embedded Target for TI C2000 DSP
Description The C24x Control Area Network (CAN) Transmit block generates source code
for transmitting CAN messages through a CAN mailbox. The CAN module on
the DSP chip provides serial communication capability and has six mailboxes
— two for receive, two for transmit, and two configurable for receive or
transmit.The C24x supports CAN data frames in standard or extended format.
Detailed information on the CAN module is in the TMS320LF/LC240xA DSP
Controller Reference Guide — System and Peripherals, Literature Number
SPRU357B, available at the Texas Instruments website.
Mailbox number — Unique number between 0 and 5 that refers to a mailbox
area in RAM. Mailboxes 0 and 1 are receive mailboxes, 2 and 3 are configurable
for receive or transmit, and 4 and 5 are transmit mailboxes. In standard data
frame mode, the mailbox number determines priority.
Message identifier Identifier of length 11 bits for standard frame size or
length 29 bits for extended frame size in decimal, binary, or hex. If in binary or
hex, use
bin2dec(' ') or hex2dec(' '), respectively, to convert the entry. The
message identifier is coded into a message that is sent to the CAN bus.
Message type — Select Standard (11-bit identifier) or Extended
(29-bit identifier).
Mailbox: 5
C24x CAN
Transmit
Msg
C24x CAN Transmit
Przeglądanie stron 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 111 112

Komentarze do niniejszej Instrukcji

Brak uwag