Toshiba H1 Series Data Book page 508

32bit micro controller tlcs-900/h1 series
Table of Contents

Advertisement

3.18.4
Detailed Description of Operation
(1) Connection example
Figure 3.18.5 shows an example of connections between the TMP92CZ26A and an
external LSI (DA converter) using channel 0.
Note:
After reset, PF0 to PF2 are placed in a high-impedance state. Connect each pin with a pull-up or pull-down resistor
as necessary.
Figure 3.18.5 Connection Example between the TMP92CZ26A and an External LSI
(2) Operation procedure
The I
S unit incorporates a 128-byte FIFO buffer that is divided into two 64-byte units.
2
Whenever each 64-byte buffer space becomes empty, an INTI2Sn interrupt is generated.
The next data to be transmitted should be written to the FIFO in the interrupt routine.
Example settings and timing diagram are shown below.
(Example settings) I2S0WS = 8 KHz, I2SnCKO = 400 kHz, data transmission on the rising edge (at f
(Main routine)
INTEI2S01
PFCR
PFFC
I2S0SC
I2S0CTL
I2S0BUF
I2S0CTL
(INTI2S Interrupt Routine)
I2S0BUF
X: Don't care, −: No change
TMP92CZ26A
(Transmit)
PF2/I2S0WS
WS
PF0/I2SCKO
CK
PF1/I2SDO
DATA
7
6
5
4
3
2
1
0
X
X
0
0
1
X
X
X
1
1
1
1
0
0
1
0
1
1
0
X
X
1
1
0
0
1
0
0
0
X
0
1
0
0
1
0
X
X
X
X
0
0
0
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
1
0
X
0
1
0
0
1
0
X
X
X
X
0
0
0
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
92CZ26A-505
(Receive)
Example: DA converter
Set interrupt level.
Set pins: PF0 (I2S0CKO), PF1 (I2S0DO), PF2 (I2S0WS)
Divider value N=150
Divider value K=50
2
Set transmit mode (I
S mode, MSB-first, 16-bit).
Falling edge, WS=0 Left, clock stop.
Write left and right data to FIFO (4 bytes x 32 = 128 bytes).
Start transmission.
Write left and right data to FIFO (4 bytes x 16 = 64 bytes).
TMP92CZ26A
= 50 MHz)
SYS

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tlcs-900Tmp92cz26axbg

Table of Contents