Skip to Main Content Skip to Search
Product Documentation

DM643x CAN Setup - Configure CAN serial communications bus parameters on DM643x

Library

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

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

Description

This block configures the CAN serial communications bus parameters on the DM6437EVM. The Configuring Timing Parameters for CAN Blocks topic provides instructions and examples for configuring this block.

Dialog Box

Baud rate prescaler

Value by which to scale the bit rate. Valid values are 0 to 255.

TSEG1

(Time SEGment 1) Sets the value of time segment 1, which, with TSEG2 and Baud rate prescaler, determines the length of a bit on the CAN bus. Valid values for TSEG1 are 2 through 16.

TSEG2

(Time SEGment 2) Sets the value of time segment 2, which, with TSEG1 and Baud rate prescaler, determines the length of a bit on the CAN bus. Valid values for TSEG2 are 2 through 8.

ERM

(Edge Resynchronization Mode) Sets the message resynchronization triggering. Options are Falling edges only and Both falling and rising edges.

SJW

(Synchronization Jump Width) For CAN to work successfully, all nodes on the network must be synchronized. However, as time passes, clocks on different nodes drift out of sync, and must resynchronize. SJW specifies the maximum width (in time quanta) that can be added to TSEG1 (in the case of a slower transmitter), or subtracted from TSEG2 (in the case of a faster transmitter) to regain synchronization during the receipt of a CAN message. Valid values for SJW are 1 to 4.

SAM

(SAMple point setting) Number of samples used by the CAN module to determine the CAN bus level. Selecting Sample one time samples once at the sampling point. Selecting Sample three times samples once at the sampling point and twice before at a distance of TQ/2 (Time Quanta/2). A majority decision is derived from the three points.

Self test mode

Puts the CAN module into loopback mode, that sends a dummy acknowledge message without requiring an acknowledge bit.

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 Transmit, 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