Tt operation mode register (addresses 0x29 & 0x28) – Bosch TTCAN User Manual

Page 30

Advertising
background image

User’s Manual

BOSCH

- 30/77 -

Revision 1.6

TTCAN

11.11.02

manual_about.fm

In the Trigger Memory, the Triggers must be sorted according to their Time_Marks. There may
not be two Triggers that are active at the same Cycle Time and Cycle_Count. For details see
chapter 5.1.3.

Type

Trigger Type
0

Tx_Ref_Trigger

valid when not in Gap

1

Tx_Ref_Trigger_Gap

valid when in Gap

2

Tx_Trigger_Single

Start a transmission

3

Tx_Trigger_Merged

Start a Merged Arbitrating Window

4

Watch_Trigger

valid when not in Gap

5

Watch_Trigger_Gap

valid when in Gap

6

Rx_Trigger

Check for reception

7

EndOfList

illegal type, causes config-error

Message Number

0x00

Trigger is valid for Message 32

0x01-0x1F

Trigger is valid for Message 1 to Message 31

Cycle_Code Cycle_Count for which the Trigger is valid

0b000000x valid for all Cycles
0b000001c valid every second Cycle

at (Cycle_Count mod 2)

= c

0b00001cc valid every fourth Cycle

at (Cycle_Count mod 4)

= cc

0b0001ccc valid every eighth Cycle

at (Cycle_Count mod 8)

= ccc

0b001cccc valid every sixteenth Cycle

at (Cycle_Count mod 16) = cccc

0b01ccccc valid every thirty-second Cycle

at (Cycle_Count mod 32) = ccccc

0b1cccccc valid every sixty-fourth Cycle

at (Cycle_Count mod 64) = cccccc

Time_Mark

0x0000-0xFFFF Cycle Time for which the trigger becomes active.

Note :

The Message Number must be “1” for Type Tx_Ref_Trigger and Tx_Ref_Trigger_Gap. The
Message Number is not regarded for Type Watch_Trigger, Watch_Trigger_Gap, and EndOf-
List. The Time_Mark is not regarded for Trigger Type EndOfList. The Cycle_Count is only
regarded for Type Rx_Trigger, Tx_Trigger_Single, and Tx_Trigger_Merged.

3.5.3 TT Operation Mode Register (addresses 0x29 & 0x28)

Init_Ref_Offset Initial Reference Trigger Offset

0x00-0x7F

positive offset (Initial offset may not be negative).

TM

Time Master
one

The node is a (potential) Time Master.

zero

The node will never be a Time Master.

MPr2-0

Time Master Priority (last three bits of Reference Message’s identifier)
0x0-0x7

The priority of this node (0 is highest priority).

L2

Level 2
one

The node operates in TTCAN Level 2.

zero

The node operates in TTCAN Level 1.

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

res

Init_Ref_Offset

TM

MPR2-0

L2

EECS

TTMode

r

rw

rw

rw

rw

rw

rw

Advertising