User`s guide
Table Of Contents
- Getting Started
- Using the IQmath Library
- Block Reference
- Blocks — Alphabetical List
- Absolute IQN
- Arctangent IQN
- C24x ADC
- C24x CAN Receive
- C24x CAN Transmit
- C24x From Memory
- C24x PWM
- C24x To Memory
- C28x ADC
- C28x eCAN Receive
- C28x eCAN Transmit
- C28x From Memory
- C28x PWM
- C28x To Memory
- Division IQN
- F2812 eZdsp
- Float to IQN
- Fractional part IQN
- Fractional part IQN x int32
- Integer part IQN
- Integer part IQN x int32
- IQN to Float
- IQN x int32
- IQN x IQN
- IQN1 to IQN2
- IQN1 x IQN2
- LF2407 eZdsp
- Magnitude IQN
- Saturate IQN
- Square Root IQN
- Trig Fcn IQN
- Index

C28x eCAN Receive
3-24
3C28x eCAN Receive
Purpose Configure an eCAN mailbox to receive messages from the eCAN pins and
output received messages at specified sample intervals
Library c2800dspchiplib in Embedded Target for TI C2000 DSP
Description The C28x enhanced Control Area Network (eCAN) Receive block generates
source code for receiving eCAN messages through an eCAN mailbox. The eCAN
module on the DSP chip provides serial communication capability and has 32
mailboxes configurable for receive or transmit.The C28x supports eCAN data
frames in standard or extended format.
The C28x eCAN Receive block has up to two and, optionally, three output ports.
• First output port is the function call port, and a function call subsystem
should be connected to this port. When a new message is received, this
subsystem is executed.
• Second output port is the message data port. The received data is output in
the form of a vector of elements of the selected data type. The length of the
vector is always 8 bytes.
• Third output port is optional and appears only if
Output message length is
selected.
Detailed information on the eCAN module is in the TMS320F28x DSP
Enhanced Control Area Network (eCAN) Reference Guide, Literature Number
SPRU074A, available at the Texas Instruments Web site.
Mailbox number — Unique number between 0 and 15 for standard or between
0 and 31 for enhanced CAN mode. It refers to a mailbox area in RAM. In
standard 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 associated with a receive mailbox. Only messages that
match the mailbox message identifier are accepted into it.
Message type — Select Standard (11-bit identifier) or Extended (29-bit
identifier).
Mailbox: 0
C28x eCAN
Receive
f(
)
Ms
g
Ms
g
Ms
g
C28x eCAN Receive