TMP89xy60UG/FG Toshiba, TMP89xy60UG/FG Datasheet - Page 305

no-image

TMP89xy60UG/FG

Manufacturer Part Number
TMP89xy60UG/FG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP89xy60UG/FG

Package
LQFP64/QFP64
Rom Types (m=mask,p=otp,f=flash)
M/F
Rom Size
32/60
Ram Size
3K
Driver Led
8
Driver Lcd
-
Spi/sio Channels
-
Uart/sio Channels
2
I2c/sio Channels
1
High-speed Serial Output
-
Adc 8-bit Channels
-
Adc 10-bit Channels
16
Da Converter Channels
-
Timer Counter 18-bit Channel
-
Timer Counter 16-bit Channel
2
Timer Counter 8-bit Channel
4
Motor Channels
-
Watchdog Timer
Y
Dual Clock
Y
Clock Gear
Y
Number Of I/o Ports
58
Power Supply (v)
4.3 to 5.5
RA002
Example :Generate the start condition
18.5.3
SCL0 pin
SDA0 pin
SBI0CR1<PIN>
Interrupt request
signal
SBI0CR2<TRX>
18.5.3.1
CHK_BB:
whether the mode is a master or slave.
Check SBI0SR2<MST> by the interrupt process after a 1-word data transfer is completed, and determine
1-word data transfer
Figure 18-17 Generating the Start Condition and the Slave Address
(1)
Check SBI0SR2<TRX> and determine whether the mode is a transmitter or receiver.
When SBI0SR2<MST> is "1" (Master mode)
the process to generate a stop condition (described later) and terminate data transfer.
subsequently is other than 8 bits, set SBI0CR1<BC> again, set SBI0CR1<ACK> to "1", and write the
transmitted data to SBI0DBR.
the subsequent 1-word data from the SCL0 pin, and then the 1-word data is transmitted from the SDA0
pin.
pin is set to the low level. If the data to be transferred is more than one word in length, repeat the
procedure from the SBI0SR2<LRB> checking above.
Check SBI0SR2<LRB>. When SBI0SR2<LRB> is "1", a receiver does not request data. Implement
When SBI0SR2<LRB> is "0", the receiver requests subsequent data. When the data to be transmitted
After writing the data, SBI0CR2<PIN> becomes "1", a serial clock pulse is generated for transferring
After the data is transmitted, an interrupt request occurs. SBI0CR2<PIN> become "0" and the SCL0
When SBI0SR2<TRX> is "1" (Transmitter mode)
TEST
JR
LD
LD
Start condition
1
(SBI0SR2).BB
F, CHK_BB
(SBI0DBR), 0xcb
(SBI0CR2), 0xf8
2
3
Slave address + Direction bit
Page 289
4
; Confirms that the bus is free
; The transmission slave address 0x65 and the direction bit "1"
; Write "1" to SBI0CR2<MST>, <TRX>, <BB> and <PIN> to "1"
5
6
7
SBI0CR2 <TRX> is cleared to "0"
when the direction bit is "1"and an
acknowledge signal is returned.
8
9
TMP89FS60
Acknowledgem
ent signal from
a slave

Related parts for TMP89xy60UG/FG