English
Language : 

LM3S9B81 Datasheet, PDF (770/1155 Pages) Texas Instruments – Stellaris® LM3S9B81 Microcontroller
Controller Area Network (CAN) Module
tTSeg1 = tProp + tPhase1
tTSeg1 = (1 * tq) + (4 * tq)
tTSeg1 = 5 * tq
tTSeg2 = tPhase2
tTSeg2 = (Information Processing Time + 4) × tq
tTSeg2 = 4 * tq
\\Assumes IPT=0
tSJW = 4 * tq
\\Least of 4, Phase1, and Phase2
TSEG2
TSEG1
SJW
BRP
= TSeg2 -1
= 4-1
=3
= TSeg1 -1
= 5-1
=4
= SJW -1
= 4-1
=3
= Baud rate prescaler - 1
= 50-1
=49
The final value programmed into the CANBIT register = 0x34F1.
18.4
Register Map
Table 18-6 on page 770 lists the registers. All addresses given are relative to the CAN base address
of:
■ CAN0: 0x4004.0000
■ CAN1: 0x4004.1000
■ CAN2: 0x4004.2000
Note that the CAN controller clock must be enabled before the registers can be programmed (see
page 166).
Table 18-6. CAN Register Map
Offset Name
Type
0x000 CANCTL
R/W
0x004 CANSTS
R/W
0x008 CANERR
RO
0x00C CANBIT
R/W
0x010 CANINT
RO
0x014 CANTST
R/W
0x018 CANBRPE
R/W
Reset
0x0000.0001
0x0000.0000
0x0000.0000
0x0000.2301
0x0000.0000
0x0000.0000
0x0000.0000
Description
CAN Control
CAN Status
CAN Error Counter
CAN Bit Timing
CAN Interrupt
CAN Test
CAN Baud Rate Prescaler Extension
See
page
773
775
778
779
781
782
784
770
June 29, 2010
Texas Instruments-Advance Information