Skip to Main Content Skip to Search
Product Documentation

DM643x CAN Transmit - Configure CAN mailbox to transmit messages on CAN serial communications bus on DM643x

Library

Embedded Coder/ Embedded Targets/ Processors/ Texas Instruments C6000/ DM6437 EVM

Embedded Coder/ Embedded Targets/ Processors/ Texas Instruments C6000/ Scheduling

Description

The CAN Transmit block receives messages through the message input (Msg) and broadcasts them to the CAN serial communication bus on the DM643x.

Dialog Box

Mailbox number

Sets the value of the mailbox number register (MBNR). For standard CAN controller (SCC) mode, enter a unique number from 0 to 15. For high-end CAN controller (HECC) mode enter a unique number from 0 to 31 . In SCC mode, transmissions from the mailbox with the highest number have the highest priority. In HECC mode, the mailbox number only determines priority if the Transmit priority level (TPL) of two mailboxes is equal.

Message identifier

Sets the value of the message identifier register (MID). The message identifier is 11 bits long for standard frame size or 29 bits long for extended frame size in decimal, binary, or hex format. For the binary and hex formats, use bin2dec(' ') or hex2dec(' '), respectively, to convert the entry.

Message type

Select Standard (11-bit identifier) or Extended (29-bit identifier).

Enable blocking mode

If you enable blocking mode, the CAN block code blocks further transmissions indefinitely until it receives a successful transmit acknowledge (TA bit in the CANTA register = 1). If you disable blocking mode, the CAN block code continues transmitting without receiving successful transmit acknowledgements. This is useful when the hardware might fail to acknowledge transmissions.

References

For detailed information on the CAN module, see TMS320DM643x DMP High-End CAN Controller User's Guide (Rev. A), Literature Number SPRU981, available at the Texas Instruments Web site.

See Also

Configuring Timing Parameters for CAN Blocks, DM643x CAN Setup, DM643x CAN Receive

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS