LM3S2139 Luminary Micro, Inc, LM3S2139 Datasheet - Page 398

no-image

LM3S2139

Manufacturer Part Number
LM3S2139
Description
Lm3s2139 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM3S2139-EQC25-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S2139-EQC25-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S2139-IBZ25-A2
Manufacturer:
Intersil
Quantity:
85
Part Number:
LM3S2139-IBZ25-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S2139-IBZ25-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S2139-IQC25-A2
Manufacturer:
SMSC
Quantity:
1 001
Part Number:
LM3S2139-IQC25-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S2139-IQC25-A2T
Manufacturer:
FREESCALE
Quantity:
23
Controller Area Network (CAN) Module
15.5
Table 15-4. CAN Register Map
398
Offset
0x00C
0x02C
0x03C
0x000
0x004
0x008
0x010
0x014
0x018
0x020
0x024
0x028
0x030
0x034
0x038
0x040
0x044
0x048
0x080
0x084
0x088
Name
CANCTL
CANSTS
CANERR
CANBIT
CANINT
CANTST
CANBRPE
CANIF1CRQ
CANIF1CMSK
CANIF1MSK1
CANIF1MSK2
CANIF1ARB1
CANIF1ARB2
CANIF1MCTL
CANIF1DA1
CANIF1DA2
CANIF1DB1
CANIF1DB2
CANIF2CRQ
CANIF2CMSK
CANIF2MSK1
tolerance for CAN_CLK 1.58 % =
In this example, the concatenated bit time parameters are (4-1)3&(5-1)4&(4-1)2&(2-1)6, and CANBIT
is programmed to 0x34C1.
In the above example, the parameters for the CANBIT register are: TSeg2=5, TSeg1=12, SJW =3
and BRP=24. This makes the final value programmed into the CANBIT register, 0x5CD8.
Controller Area Network Register Map
Table 15-4 on page 398 lists the registers. All addresses given are relative to the CAN base address
of:
min(PB1,PB2)/ 2 x (13 x bit time - PB2) =
4us/ 2 x (13 x 10us - 4us)
CAN0: 0x4004.0000
Type
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
RO
RO
0x0000.FFFF
0x0000.FFFF
0x0000.FFFF
0x0000.0001
0x0000.0000
0x0000.0000
0x0000.2301
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0001
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0001
0x0000.0000
Reset
Preliminary
Description
CAN Control
CAN Status
CAN Error Counter
CAN Bit Timing
CAN Interrupt
CAN Test
CAN Baud Rate Prescalar Extension
CAN IF1 Command Request
CAN IF1 Command Mask
CAN IF1 Mask 1
CAN IF1 Mask 2
CAN IF1 Arbitration 1
CAN IF1 Arbitration 2
CAN IF1 Message Control
CAN IF1 Data A1
CAN IF1 Data A2
CAN IF1 Data B1
CAN IF1 Data B2
CAN IF2 Command Request
CAN IF2 Command Mask
CAN IF2 Mask 1
July 25, 2008
page
See
400
402
405
406
408
409
411
412
413
416
417
418
419
421
423
423
423
423
412
413
416

Related parts for LM3S2139