Features

25.1.1 FlexCAN Memory Map

The FlexCAN module address space is split into 128 bytes starting at the base address, and then an extra 256 bytes starting at the base address +128. The upper 256 are fully used for the message buffer structures, as described in Section 25.3.2, “Message Buffer Memory Map.” Out of the lower 128 bytes, only part is occupied by various registers.

Table 25-1. FlexCAN Memory Map

IPSBAR

[31:24]

[23:16]

[15:8]

[7:0]

Offset

 

 

 

 

 

 

 

 

 

0x1C_0000

Module Configuration Register (MCR)

Reserved

 

 

 

 

0x1C_0004

Reserved

Control Register 0

Control Register 1

 

 

 

(CANCTRL0)

(CANCTRL1)

 

 

 

 

 

0x1C_0008

Prescaler Divider (PRESDIV)

Control Register 2

Free Running Timer (TIMER)

 

 

(CANCTRL2)

 

 

 

 

 

 

 

0x1C_000C

Reserved

Reserved

 

 

 

 

 

0x1C_0010

 

Rx Global Mask (RXGMASK)

 

 

 

 

 

0x1C_0014

 

Rx Buffer 14 Mask (RX14MASK)

 

 

 

 

 

0x1C_0018

 

Rx Buffer 15 Mask (RX15MASK)

 

 

 

 

 

0x1C_0020

Error and Status (ESTAT)

Interrupt Masks (IMASK)

 

 

 

 

0x1C_0024

Interrupt Flags (IFLAG)

Rx Error Counter

Tx Error Counter

 

 

 

(RXECTR)

(TXECTR)

 

 

 

 

0x1C_0034–

Reserved

Reserved

0x1C_007F

 

 

 

 

 

 

 

 

 

0x1C_0080–

 

Message Buffers 0–15

 

0x1C_017F

 

 

 

 

 

 

 

 

 

25.1.2

External Signals

 

 

The FlexCAN module/CAN transceiver is composed of two signals: CANTX, which is the serial transmitted data, and CANRX, which is the serial received data.

MOTOROLA

Chapter 25. FlexCAN

25-3

Page 529
Image 529
Motorola MCF5281, MCF5282 user manual FlexCAN Memory Map, External Signals