Toshiba TMP91C815F Data Book page 170

16bit micro controller tlcs-900/l1 series
Table of Contents

Advertisement

In the slave mode, an INTS2 interrupt request occurs when the TMP91C815F receives a slave
address or a GENERAL CALL from the master device, or when a GENERAL CALL is received
and data transfer is complete, or after matching received address. In the master mode, the
TMP91C815F operates in a slave mode if it losing arbitration. An INTS2 interrupt request occurs
when a word data transfer terminates after losing arbitration. When an INTS2 interrupt request
occurs the <PIN> is cleared to "0" and the SCL pin is pulled down to the Low-level. Either reading
/ writing from / to the SBI0DBR or setting the <PIN> to "1" will release the SCL pin after taking
t
time.
LOW
In the slave mode the TMP91C815F operates either in normal slave mode or in slave mode after
losing arbitration.
Check the SBI0SR<AL>, <TRX>, <AAS>, and <AD0> and implements processes according to
conditions listed in the next table.
<TRX>
<AL>
<AAS> <AD0>
1
1
1
0
1
0
0
1
1
0
0
1
0
#
If <MST> = 0 (Slave Mode)
Table 3.10.1 Operation in the Slave Mode
Conditions
0
The TMP91C815F loses arbitration when
transmitting a slave address and receives a
slave address for which the value of the
direction bit sent from another master is "1".
0
In Salve Receiver Mode the TMP91C815F
receives a slave address for which the value
of the direction bit sent from the master is
"1".
0
In Salve Transmitter Mode a single word of
is transmitted.
Set <BC2 to BC0> to the number of bits in a
word.
1/0
The TMP91C815F loses arbitration when
transmitting a slave address and receives a
slave address or GENERAL CALL for
which the value of the direction bit sent from
another master is "0".
0
The TMP91C815F loses arbitration when
transmitting a slave address or data and
terminates word data transfer.
1/0
In Slave Receiver Mode the TMP91C815F
receives a slave address or GENERAL
CALL for which the value of the direction
bit sent from the master is "0".
1/0
In Slave Receiver Mode the TMP91C815F
terminates receiving word data.
91C815-
167
TMP91C815
Process
Set the number of bits a word in <BC2 to
BC0> and write the transmitted data to
SBI0DBR
Check the <LRB> setting. If <LRB> is set to
"1", set <PIN> to "1" since the receiver win
no request the data which follows. Then,
cleat <TRX> to "0" to release the bus. If
<LRB> is cleared to "0" of and write the
transmitted data to SBI0DBR since the
receiver requests next data.
Read the SBI0DBR for setting the <PIN> to
"1" (reading dummy data) or set the <PIN>
to "1".
Set <BC2 to BC0> to the number of bits in a
word and read the received data from
SBI0DBR.

Advertisement

Table of Contents
loading

Table of Contents