Controller Area Network (CAN)
12 - 26 TMS320F2837xD Microcontroller Workshop - Communications
The CAN controller module contains 32 mailboxes for objects of 0 to 8-byte data lengths:
• configurable transmit/receive mailboxes
• configurable with standard or extended indentifier
The CAN module mailboxes are divided into several parts:
• MID – contains the identifier of the mailbox
• MCF (Message Control Field) – contains the length of the message (to transmit or
receive) and the RTR bit (Remote Transmission Request – used to send remote
frames)
• MDL and MDH – contains the data
The CAN module contains registers which are divided into five groups:
• Control & Status Registers
• Local Acceptance Masks
• Message Object Time Stamps
• Message Object Timeout
• Mailboxes
CAN Summary
CAN Summary
Fully compliant with CAN standard v2.0B
Supports data rates up to 1 Mbps
Thirty-two message objects
Configurable as receive or transmit
Configurable with standard or extended identifier
Programmable receive mask
Uses 32-bit time stamp on messages
Programmable interrupt scheme (two levels)
Programmable alarm time-out
Programmable wake-up on bus activity
Two interrupt lines
Self-test mode