Toshiba H1 Series Data Book page 368

32bit micro controller tlcs-900/h1 series
Table of Contents

Advertisement

(5) Restart
Restart is used during data transfer between a master device and a slave device to
change the data transfer direction.
The following description explains how to restart when the TMP92CZ26A is in
Master Mode.
Clear SBICR2<MST, TRX, and BB> to 0 and set SBICR2<PIN> to 1 to release the
bus. The SDA line remains High and the SCL pin is released. Since a stop condition
has not been generated on the bus, other devices assume the bus to be in busy state.
And confirm SCL pin, that SCL pin is released and become bus-free state by
SBISR<BB> = "0" or signal level "1" of SCL pin in port mode. Check the <LRB> until it
becomes 1 to check that the SCL line on a bus is not pulled down to the low-level by
other devices. After confirming that the bus remains in a free state, generate a start
condition using the procedure described in (2).
In order to satisfy the set-up time requirements when restarting, take at least 4.7 μs of
waiting time by software from the time of restarting to confirm that the bus is free
until the time to generate the start condition.
← 0 0 0 1 1 0 0 0
SBICR2
if SBISR<BB> ≠ 0
Then
if SBISR<LRB> ≠ 1
Then
4.7 μs Wait
← X X X 1 X X X X
SBICR1
← X X X X X X X X
SBIDBR
← 1 1 1 1 1 0 0 0
SBICR2
Note: X: Don't care
SCL line
Internal SCL
9
output
SDA line
<LRB>
<BB>
<PIN>
Figure 3.15.20 Timing chart for generate restart
Note: Don't write <MST> = "0", when <MST> = "0" condition. (Cannot be restarted)
7 6 5 4 3 2 1 0
"0" → <MST>
"0" → <TRX>
"0" → <BB>
"1" → <PIN>
92CZ26A-365
Release the bus
Check if SCL pin is released.
Check if SCL pin of other device is "L" level.
Set acknowledgement mode.
Set the slave address and direction bit.
Generate start condition.
"1" → <MST>
"1" → <TRX>
"1" → <BB>
"1" → <PIN>
4.7 μs (Min)
TMP92CZ26A
Start condition

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tlcs-900Tmp92cz26axbg

Table of Contents