![Texas Instruments TMS320x281 series Скачать руководство пользователя страница 19](http://html1.mh-extra.com/html/texas-instruments/tms320x281-series/tms320x281-series_reference-manual_1095203019.webp)
1.4
Message Objects
1.5
Message Mailbox
www.ti.com
Message Objects
The eCAN module has 32 different message objects (mailboxes).
Each message object can be configured to either transmit or receive. Each message object has its
individual acceptance mask.
A message object consists of a message mailbox with:
•
The 29-bit message identifier
•
The message control register
•
8 bytes of message data
•
A 29-bit acceptance mask
•
A 32-bit time stamp
•
A 32-bit time-out value
Furthermore, corresponding control and status bits located in the registers allow control of the message
objects.
The message mailboxes are the RAM area where the CAN messages are actually stored after they are
received or before they are transmitted.
The CPU may use the RAM area of the message mailboxes that are not used for storing messages as
normal memory.
Each mailbox contains:
•
The message identifier
–
29 bits for extended identifier
–
11 bits for standard identifier
•
The identifier extension bit, IDE (MSGID.31)
•
The acceptance mask enable bit, AME (MSGID.30)
•
The auto answer mode bit, AAM (MSGID.29)
•
The transmit priority level, TPL (MSGCTRL.12-8)
•
The remote transmission request bit, RTR (MSGCTRL.4)
•
The data length code, DLC (MSGCTRL.3-0)
•
Up to eight bytes for the data field
Each of the mailboxes can be configured as one of four message object types (see
). Transmit
and receive message objects are used for data exchange between one sender and multiple receivers (1 to
n communication link), whereas request and reply message objects are used to set up a one-to-one
communication link.
lists the mailbox RAM layout.
SPRU074F – May 2002 – Revised January 2009
Architecture
19