Device User Guide — 9S12C128DGV1/D V01.05

 

 

 

 

 

 

 

 

$0140 - $017F

 

CAN (Motorola Scalable CAN - MSCAN)1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Address

Name

 

Bit 7

Bit 6

 

Bit 5

Bit 4

Bit 3

Bit 2

 

Bit 1

Bit 0

$014E

CANRXERR

Read:

RXERR7

RXERR6

 

RXERR5

RXERR4

RXERR3

RXERR2

 

RXERR1

RXERR0

Write:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$014F

CANTXERR

Read:

TXERR7

TXERR6

 

TXERR5

TXERR4

TXERR3

TXERR2

 

TXERR1

TXERR0

Write:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$0150 -

CANIDAR0 -

Read:

AC7

AC6

 

AC5

AC4

AC3

AC2

 

AC1

AC0

$0153

CANIDAR3

Write:

 

 

 

 

 

 

 

 

 

 

 

 

$0154 -

CANIDMR0 -

Read:

AM7

AM6

 

AM5

AM4

AM3

AM2

 

AM1

AM0

$0157

CANIDMR3

Write:

 

 

 

 

 

 

 

 

 

 

 

 

$0158 -

CANIDAR4 -

Read:

AC7

AC6

 

AC5

AC4

AC3

AC2

 

AC1

AC0

$015B

CANIDAR7

Write:

 

 

 

 

 

 

 

 

 

 

 

 

$015C -

CANIDMR4 -

Read:

AM7

AM6

 

AM5

AM4

AM3

AM2

 

AM1

AM0

$015F

CANIDMR7

Write:

 

 

 

 

 

 

 

 

 

 

 

 

$0160 -

CANRXFG

Read:

 

 

 

FOREGROUND

RECEIVE

BUFFER

see Table 1-2

 

 

$016F

Write:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$0170 -

CANTXFG

Read:

 

FOREGROUND TRANSMIT BUFFER see Table 1-2

 

$017F

Write:

 

 

 

 

 

 

 

 

 

 

 

 

 

NOTES:

1. Not available on the MC9S12GC-Family members. Those memory locations should not be accessed.

Table 1-2 Detailed MSCAN Foreground Receive and Transmit Buffer Layout

Address

Name

 

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

 

Extended ID

Read:

ID28

ID27

ID26

ID25

ID24

ID23

ID22

ID21

$xxx0

Standard ID

Read:

ID10

ID9

ID8

ID7

ID6

ID5

ID4

ID3

 

CANxRIDR0

Write:

 

 

 

 

 

 

 

 

 

Extended ID

Read:

ID20

ID19

ID18

SRR=1

IDE=1

ID17

ID16

ID15

$xxx1

Standard ID

Read:

ID2

ID1

ID0

RTR

IDE=0

 

 

 

 

CANxRIDR1

Write:

 

 

 

 

 

 

 

 

 

Extended ID

Read:

ID14

ID13

ID12

ID11

ID10

ID9

ID8

ID7

$xxx2

Standard ID

Read:

 

 

 

 

 

 

 

 

 

CANxRIDR2

Write:

 

 

 

 

 

 

 

 

 

Extended ID

Read:

ID6

ID5

ID4

ID3

ID2

ID1

ID0

RTR

$xxx3

Standard ID

Read:

 

 

 

 

 

 

 

 

 

CANxRIDR3

Write:

 

 

 

 

 

 

 

 

$xxx4-

CANxRDSR0 - Read:

DB7

DB6

DB5

DB4

DB3

DB2

DB1

DB0

$xxxB

CANxRDSR7

Write:

 

 

 

 

 

 

 

 

$xxxC

CANRxDLR

Read:

 

 

 

 

DLC3

DLC2

DLC1

DLC0

Write:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$xxxD

Reserved

Read:

 

 

 

 

 

 

 

 

Write:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$xxxE

CANxRTSRH

Read:

TSR15

TSR14

TSR13

TSR12

TSR11

TSR10

TSR9

TSR8

Write:

 

 

 

 

 

 

 

 

$xxxF

CANxRTSRL

Read:

TSR7

TSR6

TSR5

TSR4

TSR3

TSR2

TSR1

TSR0

Write:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Extended ID

Read:

ID28

ID27

ID26

ID25

ID24

ID23

ID22

ID21

 

CANxTIDR0

Write:

$xx10

 

 

 

 

 

 

 

 

Standard ID

Read:

ID10

ID9

ID8

ID7

ID6

ID5

ID4

ID3

 

 

 

Write:

 

 

 

 

 

 

 

 

 

 

46

Page 46
Image 46
Motorola MC9S12GC-Family, MC9S12C-Family warranty $0140 $017F Can Motorola Scalable can MSCAN1