TMP86xy12MG Toshiba, TMP86xy12MG Datasheet - Page 147

no-image

TMP86xy12MG

Manufacturer Part Number
TMP86xy12MG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP86xy12MG

Package
SSOP30
Rom Types (m=mask,p=otp,f=flash)
M/F
Rom Size
16
Ram Size
512
Driver Led
8
Driver Lcd
-
Spi/sio Channels
1
Uart/sio Channels
1
I2c/sio Channels
-
High-speed Serial Output
-
Adc 8-bit Channels
-
Adc 10-bit Channels
8
Da Converter Channels
-
Timer Counter 18-bit Channel
IGBT
Timer Counter 16-bit Channel
1
Timer Counter 8-bit Channel
2
Motor Channels
-
Watchdog Timer
Y
Dual Clock
Y
Clock Gear
-
Number Of I/o Ports
24
Power Supply (v)
4.5 to 5.5
12.6 Transfer Mode
12.6 Transfer Mode
12.6.1 4-bit and 8-bit transfer modes
SIOCR1<SIOM> is used to select the transmit, receive, or transmit/receive mode.
(number of transfer words to be transferred) to the data buffer registers (DBR).
output sequentially to the SO pin in synchronous with the serial clock, starting with the least significant bit
(LSB). As soon as the LSB has been output, the data are transferred from the data buffer register to the shift
register. When the final data bit has been transferred and the data buffer register is empty, an INTSIO (Buffer
empty) interrupt is generated to request the next transmitted data.
transmitted data are not loaded to the data buffer register by the time the number of data words specified with
the SIOCR2<BUF> has been transmitted. Writing even one word of data cancels the automatic-wait; therefore,
when transmitting two or more words, always write the next word before transmission of the previous word is
completed.
Thus, the transfer speed is determined by the maximum delay time from the generation of the interrupt request
to writing of the data to the data buffer register by the interrupt service program.
empty interrupt service program.
SCK pin
SO pin
INTSIO interrupt
SCK pin
SO pin
INTSIO interrupt
SCK pin
SI pin
INTSIO interrupt
In these modes, firstly set the SIO control register to the transmit mode, and then write first transmit data
When the internal clock is used, the serial clock will stop and an automatic-wait will be initiated if the next
Note:Automatic waits are also canceled by writing to a DBR not being used as a transmit data buffer register; there-
When an external clock is used, the data must be written to the data buffer register before shifting next data.
The transmission is ended by clearing SIOCR1<SIOS> to “0” or setting SIOCR1<SIOINH> to “1” in buffer
After the data are written, the transmission is started by setting SIOCR1<SIOS> to “1”. The data are then
Figure 12-6 Number of words to transfer (Example: 1word = 4bit)
fore, during SIO do not use such DBR for other applications. For example, when 3 words are transmitted, do
not use the DBR of the remained 5 words.
a
a
a
0
0
0
a
a
a
1
1
1
a
a
a
2
2
2
a
a
Page 136
3
3
(b) 3 words transmit
(a) 1 word transmit
(c) 3 words receive
b
b
0
0
a
3
b
b
1
1
b
b
2
2
b
b
3
3
c
c
0
0
c
c
1
1
c
c
2
2
c
c
3
3
TMP86CH12MG

Related parts for TMP86xy12MG