3 ifx message buffer registers, 1 ifx mask registers, 2 ifx arbitration registers – Bosch TTCAN User Manual

Page 23: Ifx message buffer registers, Chapter 3.3.3)

Advertising
background image

User’s Manual

BOSCH

- 23/77 -

Revision 1.6

TTCAN

11.11.02

manual_about.fm

6 CAN_CLK periods, the transfer between the Interface Register and the Message RAM has
completed and the Busy bit is cleared to ‘0’. The upper limit of the wait time occurs when the
message transfer coincides with a CAN message transmission, acceptance filtering, or
message storage. If the CPU-IFC is implemented with the wait-function, the CPU is halted
while the Busy bit is set. If the CPU writes to both Command Request Registers consecutively
(requests a second transfer while another transfer is already in progress), the second transfer
starts when the first one is completed.

Busy

Busy Flag
one

set to one when writing to the IFx Command Request Register

zero

reset to zero when read/write action has finished.

Message Number

0x01-0x20

Valid Message Number, the Message Object in the Message
RAM is selected for data transfer.

0x00

Not a valid Message Number, interpreted as

0x20.

0x21-0x3F

Not a valid Message Number, interpreted as

0x01-0x1F.

Note :

When an invalid Message Number is written to the Command Request Register, the Message
Number
will be transformed into a valid value and that Message Object will be transferred.

3.3.3 IFx Message Buffer Registers

The bits of the Message Buffer registers mirror the Message Objects in the Message RAM.
The function of the Message Objects bits is described in chapter 3.3.4.

3.3.3.1 IFx Mask Registers

3.3.3.2 IFx Arbitration Registers

IF1 Command Request Register

(addresses 0x11 & 0x10)

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Busy

res

res

Message Number

IF2 Command Request Register

(addresses 0x41 & 0x40)

Busy

res

res

Message Number

r

r

r

rw

IF1 Mask 1 Register

(addresses 0x15 & 0x14)

15

14

13 12 11 10

9

8

7

6

5

4

3

2

1

0

Msk15-0

IF1 Mask 2 Register

(addresses 0x17 & 0x16)

MXtd MDir res

Msk28-16

IF2 Mask 1 Register

(addresses 0x45 & 0x44)

Msk15-0

IF2 Mask 2 Register

(addresses 0x47 & 0x46)

MXtd MDir res

Msk28-16

rw

rw

r

rw

IF1 Arbitration 1 Register

(addresses 0x19 & 0x18)

15

14

13 12 11 10

9

8

7

6

5

4

3

2

1

0

ID15-0

IF1 Arbitration 2 Register

(addresses 0x1B& 0x1A)

MsgVal Xtd Dir

ID28-16

IF2 Arbitration 1 Register

(addresses 0x49 & 0x48)

ID15-0

IF2 Arbitration 2 Register
(addresses 0x4B & 0x4A)

MsgVal Xtd Dir

ID28-16

rw

rw

rw

rw

Advertising