Event Pin Enable one
zero
Time Mark Gap one
zero
Finish Gap one
zero
Now is Gap one
zero
Gap Herald one
zero
Next is Gap one
zero

TTCAN

User’s Manual

Revision 1.6

manual_about.fm

3.5.22 TT Time Mark Register (addresses 0x6D & 0x6C)

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

TMark

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

rw

 

 

 

 

 

 

 

 

rw

 

 

 

TMark

Time Mark

 

 

 

 

 

 

 

 

 

 

 

 

0x0000-0xFFFFAn interrupt is generated when the time base indicated by TMC (Cycle Time, Local Time, or Global Time) has the same value as Time Mark.

Note : The Time Mark register can only be written while the time mark interrupt is disabled by TMC = 0.

3.5.23 TT Gap Control Register (addresses 0x6F & 0x6E)

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

res

 

 

 

 

EPE

res

TMG

FGp

res

Gap

GpH

NiG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

r

 

 

 

 

rw

r

rw

rw

r

r

r

rw

EPE

The EVENT_TRIGGER pin controls the Gaps.

The application program controls the Gaps.

TMG

The next Reference Message is started when the Time Mark

Interrupt TMI becomes active.

The bit is reset automatically at each Reference Message.

FGp

The next Reference Message is started immediately when Gap = ‘1’ or else at the next Tx_Ref_Trigger. This bit is set in TTMODE_3 by the CPU, by a Time Mark Interrupt if TMG = ‘1’, or by EVENT_TRIGGER pin = ‘0’ if EPE = ‘1’.

The bit is reset automatically at each Reference Message.

Gap

The Gap time after the Basic Cycle has started and TTMODE_3. No Gap in Schedule, this bit is reset automatically at each Refer- ence Message and in nodes that are time slaves.

GpH

Next_is_Gap = ‘1’ in Reference Message and TTMODE_3.

No Gap announced, this bit is reset automatically at each Refer- ence Message with Next_is_Gap = ‘0’.

NiG

Next_is_Gap = ‘1’ will be transmitted in next Reference Mes- sage(s). This bit can only be set by the CPU in a node that is the actual time master operating in TTMODE_3.

No action. The bit is reset automatically when any Reference

Message transmitted by another node is received.

The time master writes NiG to ‘1’ to initiate a Gap. The Next_is_Gap bit will be transmitted as ‘1’ in the next Reference Message. As soon as that Reference Message is completed, the GpH bit will announce the Gap to the time master as well as to the time slaves. The current

BOSCH

- 39/77 -

11.11.02

Page 39
Image 39
Bosch Appliances TTCAN user manual Epe, Tmg