Toshiba TLCS-900/H1 Series Data Book page 410

32bit micro controller
Hide thumbs Also See for TLCS-900/H1 Series:
Table of Contents

Advertisement

3.20.4 Explanation of SIO-mode
(1)  Connection example
Figure 3.20.4(1) shows an example with external-LSI.
Note) Since P90 to P91 become High-impedance, connect pull-up or pull-down
resistor if necessary.
(2) Procedure
  The 32byte-FIFO are built-in and if a FIFO's data became empty, INTI2S-interrupt is occurred.
In the interrupt routine, write next transmittion data to FIFO.
The below shows a setting example and timing diagram.
(Setting example)
to rising edge
(Main routine)
INTE5I2S
P9CR
P9FC
I2SCTL0
I2SBUFR
I2SCTL0
(INTI2S interruptroutine)
I2SBUFR
     
If <BUSY> == "1" then WAIT else NEXT
I2SCTL0
(note)
TMP92CH21
(TRANSMITTER)
P90/I2SCKO
P91/I2SDO
Port
Figure 3.20.3(1)  example with external-LSI
Transmitting by SIO-mode,I2SCKO=10MHz, synchronous
7
6
5
4
3
2
1
X
0
0
1
X
-
-
-
-
-
-
-
-
0
-
-
-
-
-
-
1
0
1
-
1
0
0
1
-
1
-
1
0
0
0
**
**
**
**
**
**
**
1
1
-
1
0
0
1
-
1
-
1
0
0
0
**
**
**
**
**
**
**
1
1
-
1
0
0
1
-
1
-
1
0
0
0
X: don't care
-: no change
92CH21-
(RECEIVER)
SCK
SI
RCK
Ex. Shift register
(at f
=20MHz)
SYS
0
-
Set interrupt level
0
Set pins to P90(I2SCKO), P91(I2SDO)
1
-
Set SIO-mode,LSB-first,8bit,f
1
Set rising-edge
**
Write 32 byte data to FIFO
-
Start transmitting
1
**
Write 32 byte data to FIFO
Sence and wait for termination trasmit 32byte data
-
Start transmitting
1
406
TMP92CH21
/2 clock
SYS
(16times)
(16times)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tmp92ch21fg

Table of Contents