Toshiba TLCS-900 Computer Hardware User Manual


 
TMP92CM22
2007-02-16
92CM22-183
(14) Software reset function
The software reset function is used to initialize the SBI circuit, when SBI is rocked
by external noises, etc.
When write first “10” next “01” to SBI0CR2<SWRST1:0>, reset signal is inputted to
serial bus interface circuit, and circuit is initialized. All command registers except
SBI0CR2<SBIM1:0> and status flag except SBI0CR2<SBIM1:0> are initialized to
value of just after reset. SBI0CR1<SWRMON> is set to “1” automatically when
completed initialization of serial bus interface.
(15) Serial bus interface data buffer register (SBI0DBR)
The received data can be read and transmission data can be written by reading or
writing SBI0DBR.
In the master mode, after the slave address and the direction bit are set in this
register, the start condition is generated.
(16) I
2
C bus address register (I2C0AR)
I2C0AR<SA6:0> is used to set the slave address when the TMP92CM22 functions as
a slave device.
The slave address outputted from the master device is recognized by setting the
I2C0AR<ALS> to “0”. And, the data format becomes the addressing format. When set
<ALS> to “1”, the slave address is not recognized, the data format becomes the free
data format.
(17) Baud rate register (SBI0BR1)
Write “1” to baud rate circuit control register SBI0BR1<P4EN> before using I
2
C bus.
(18) Setting register for IDLE2 mode operation (SBI0BR0)
SBI0BR0<I2SBI0> is the register setting operation/stop during IDLE2 mode.
Therefore, setting <I2SBI0> is necessary before the HALT instruction is executed.