Sign In
Upload
Manuals
Brands
texas instruments Manuals
Controller
TMS320x281 series
texas instruments TMS320x281 series Manuals
Manuals and User Guides for texas instruments TMS320x281 series. We have
1
texas instruments TMS320x281 series manual available for free PDF download: Reference Manual
texas instruments TMS320x281 series Reference Manual (84 pages)
Enhanced Controller Area Network (eCAN)
Brand:
texas instruments
| Category:
Controller
| Size: 0.59 MB
Table of Contents
Table of Contents
3
List of Figures
5
Preface
7
Architecture
9
CAN Overview
10
Features
10
Block Diagram
11
Ecan Compatibility with Other TI CAN Modules
11
The CAN Network and Module
12
CAN Protocol Overview
12
CAN Data Frame
12
Ecan Controller Overview
13
Architecture of the Ecan Module
13
Standard CAN Controller (SCC) Mode
14
Memory Map
15
Ecan-A Memory Map
16
Ecan-B Memory Map
17
Ecan Control and Status Registers
18
Register Map
18
Message Objects
19
Message Mailbox
19
Ecan-A Mailbox RAM Layout
20
Addresses of LAM, MOTS and MOTO Registers for Mailboxes (Ecan-A)
21
Ecan-B Mailbox Ram Layout
22
Transmit Mailbox
23
Addresses of LAM, MOTS, and MOTO Registers for Mailboxes (Ecan-B)
23
Message Object Behavior Configuration
23
Receive Mailbox
24
CAN Module Operation in Normal Configuration
24
Ecan Registers
25
Mailbox Enable Register (CANME)
26
Mailbox-Enable Register (CANME)
26
Mailbox-Enable Register (CANME) Field Descriptions
26
Mailbox-Direction Register (CANMD)
27
Mailbox-Direction Register (CANMD) Field Descriptions
27
Transmission-Request Set Register (CANTRS)
28
Transmission-Request Set Register (CANTRS) Field Descriptions
28
Transmission-Request-Reset Register (CANTRR)
29
Transmission-Request-Reset Register (CANTRR) Field Descriptions
29
Transmission-Acknowledge Register (CANTA)
30
Transmission-Acknowledge Register (CANTA) Field Descriptions
30
Abort-Acknowledge Register (CANAA)
31
Abort-Acknowledge Register (CANAA) Field Descriptions
31
Received-Message-Pending Register (CANRMP)
32
Received-Message-Pending Register (CANRMP) Field Descriptions
32
Received-Message-Lost Register (CANRML)
33
Received-Message-Lost Register (CANRML) Field Descriptions
33
Remote-Frame-Pending Register (CANRFP)
34
Handling of Remote Frames
34
Remote-Frame-Pending Register (CANRFP) Field Descriptions
34
Global Acceptance Mask Register (CANGAM)
36
Global Acceptance Mask Register (CANGAM) Field Descriptions
36
Master Control Register (CANMC)
37
Master Control Register (CANMC) Field Descriptions
37
CAN Module Action in SUSPEND
39
Bit-Timing Configuration Register (CANBTC)
40
Bit-Timing Configuration Register (CANBTC) Field Descriptions
40
Error and Status Register (CANES)
42
Error and Status Register (CANES) Field Descriptions
42
CAN Error Counter Registers (CANTEC/CANREC)
44
Transmit-Error-Counter Register (CANTEC)
44
Receive-Error-Counter Register (CANREC)
44
Interrupt Registers
45
Global Interrupt Flag Registers (CANGIF0/CANGIF1)
45
Global Interrupt Flag 0 Register (CANGIF0)
46
Global Interrupt Flag 1 Register (CANGIF1)
46
Global Interrupt Flag Registers (CANGIF0/CANGIF1) Field Descriptions
47
Global Interrupt Mask Register (CANGIM)
48
Global Interrupt Mask Register (CANGIM) Field Descriptions
48
Mailbox Interrupt Mask Register (CANMIM)
50
Mailbox Interrupt Mask Register (CANMIM) Field Descriptions
50
Mailbox Interrupt Level Register (CANMIL)
51
Mailbox Interrupt Level Register (CANMIL) Field Descriptions
51
Overwrite Protection Control Register (CANOPC)
52
Overwrite Protection Control Register (CANOPC) Field Descriptions
52
Ecan I/O Control Registers (CANTIOC, CANRIOC)
53
TX I/O Control Register (CANTIOC)
53
TX I/O Control Register (CANTIOC) Field Descriptions
53
RX I/O Control Register (CANRIOC)
54
RX I/O Control Register (CANRIOC) Field Descriptions
54
Timer Management Unit
55
Time Stamp Functions
55
Time-Stamp Counter Register (CANTSC)
56
Time-Stamp Counter Register (CANTSC) Field Descriptions
56
Message Object Time Stamp Registers (MOTS)
57
Message Object Time Stamp Registers (MOTS) Field Descriptions
57
Time-Out Functions
58
Message-Object Time-Out Registers (MOTO)
58
Message-Object Time-Out Registers (MOTO) Field Descriptions
58
Time-Out Control Register (CANTOC)
59
Time-Out Control Register (CANTOC) Field Descriptions
59
Behavior/Usage of MTOF0/1 Bit in User Applications
60
Time-Out Status Register (CANTOS)
60
Time-Out Status Register (CANTOS) Field Descriptions
60
Mailbox Layout
61
Message Identifier Register (MSGID)
61
Message Identifier Register (MSGID) Register
61
Message Identifier Register (MSGID) Field Descriptions
61
CPU Mailbox Access
62
Message-Control Register (MSGCTRL)
63
Message-Control Register (MSGCTRL) Field Descriptions
63
Message Data Registers (CANMDL, CANMDH)
64
Message-Data-Low Register with DBO = 0 (CANMDL)
64
Message-Data-High Register with DBO = 0 (CANMDH)
64
Message-Data-Low Register with DBO = 1 (CANMDL)
64
Message-Data-High Register with DBO = 1 (CANMDH)
64
Acceptance Filter
65
Local-Acceptance Masks (CANLAM)
65
Local-Acceptance-Mask Register (Lamn)
66
Local-Acceptance-Mask Register (Lamn) Field Descriptions
66
Ecan Configuration
67
CAN Module Initialization
68
Initialization Sequence
68
CAN Bit-Timing Configuration
69
CAN Bit Rate Calculation
69
CAN Bit Timing
69
Bit Configuration Parameters for 150-Mhz CAN Clock
70
BRP Field for Bit Rates
70
10, Tseg2
70
Reg = 2, Sampling Point = 80%)
70
Achieving Different Sampling Points with a BT of 15
70
Reg = 1, Sampling Point = 80%)
70
Bit Configuration Parameters for 100-Mhz CAN Clock
71
BRP Field for Bit Rates
71
Achieving Different Sampling Points with a BT of 20
71
EALLOW Protection
72
Steps to Configure Ecan
72
Configuring a Mailbox for Transmit
73
Transmitting a Message
73
Configuring Mailboxes for Receive
73
Receiving a Message
74
Handling of Overload Situations
74
Handling of Remote Frame Mailboxes
74
Requesting Data from Another Node
74
Answering a Remote Request
75
Updating the Data Field
75
Interrupts
75
Interrupts Scheme
76
Interrupts Scheme
77
Mailbox Interrupt
77
Interrupt Handling
78
Ecan Interrupt Assertion/Clearing
78
CAN Power-Down Mode
80
Entering and Exiting Local Power-Down Mode
80
Precautions for Entering and Exiting Device Low-Power Modes (LPM)
80
Enabling/Disabling Clock to the CAN Module
81
Possible Failure Modes External to the CAN Controller Module
81
Revision History
83
Changes Made in this Revision
83
Advertisement
Advertisement
Related Products
Texas Instruments TMS320x2833x
Texas Instruments TMS320x2823x
Texas Instruments TMS320x2833 series
Texas Instruments TMS320x2823 series
Texas Instruments TMS320C674X
Texas Instruments TMS320 2833 Series
Texas Instruments TMS320 2823 Series
Texas Instruments TMS320F28332
Texas Instruments TMS320C6748
Texas Instruments TMS320C6746
texas instruments Categories
Motherboard
Control Unit
Microcontrollers
Computer Hardware
Calculator
More texas instruments Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL