04.07.2014 Views

M_TTCAN - User Manual - Bosch Semiconductors and Sensors

M_TTCAN - User Manual - Bosch Semiconductors and Sensors

M_TTCAN - User Manual - Bosch Semiconductors and Sensors

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4.<br />

4. <strong>TTCAN</strong> Operation<br />

4.1 Reference Message<br />

4.1.1 Level 1<br />

Areference message is a data frame characterized by a specific CAN identifier. It is received <strong>and</strong><br />

accepted by all nodes except the Time Master (sender of the reference message).<br />

For Level 1 the data length must be at least one; for Level 0,2 the data length must be at least four;<br />

otherwise, the message is not accepted as reference message. The reference message may be<br />

extended by other data up to the sum of eight CAN data bytes. All bits of the identifier except the<br />

three LSBs characterize the message as a reference message. The last three bits specify the<br />

priorities of up to 8 potential time masters. Reserved bits are transmitted as logical 0 <strong>and</strong> are ignored<br />

by the receivers. The reference message is configured via register TTRMC.<br />

The time master transmits the reference message. If the reference message is disturbed by an error,<br />

it is retransmitted immediately. In case of a retransmission, the transmitted Master_Ref_Mark is<br />

updated. The reference message is sent periodically, but is allowed to stop the periodic transmission<br />

(Next_is_Gap bit) <strong>and</strong> to initiate transmission event-synchronized at the start of the next basic cycle<br />

by the current time master or by one of the other potential time masters.<br />

The node transmitting the reference message is the current time master. The time master is allowed<br />

to transmit other messages. If the current time master fails, its function is replicated by the potential<br />

time master with the highest priority. Nodes that are neither time master nor potential time master<br />

are time-receiving nodes.<br />

Level 1 operation is configured via TTOCF.OM = “01” <strong>and</strong> TTOCF.GEN. External clock<br />

synchronization is not available in Level 1.<br />

The information related to the reference message is stored in the first data byte as shown in Table 76<br />

below. Cycle_Count is optional.<br />

Bits 7 6 5 4 3 2 1 0<br />

Table 76<br />

First<br />

Byte<br />

Next_is_Gap res Cycle_Count[5:0]<br />

First byte of Level 1 reference message<br />

M_<strong>TTCAN</strong> - Revision 3.0.2 - 14.02.2013 97

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!