Datasheet


      
      
SLAS235B − JULY 1999 − REVISED APRIL 2004
11
WWW.TI.COM
APPLICATION INFORMATION
serial interface (continued)
TMS320
DSP
XF0
CLKX
DX
FSX
XF1
TLV5624
CS
FS DIN SCLK
TLV5624
CS
FS DIN SCLK
Figure 13. TMS320 Interface
If there is no need to have more than one device on the serial bus, then CS
can be tied low. Figure 14 shows
an example of how to connect the TLV5624 to TMS320, SPI or Microwire using only three pins.
TMS320
DSP
FSX
CLKX
DX
TLV5624
SCLK
DIN
FS
SPI
I/O
SCK
MOSI
TLV5624
SCLK
DIN
FS
Microwire
I/O
SK
SO
TLV5624
SCLK
DIN
FS
CS
CS CS
Figure 14. Three-Wire Interface
Notes on SPI and Microwire: Before the controller starts the data transfer, the software has to generate a
falling edge on the I/O pin connected to FS. If the word width is 8 bits (SPI and Microwire), two write
operations must be performed to program the TLV5624. After the write operation(s), the DAC output is updated
automatically on the next positive clock edge following the 16
th
falling clock edge.
serial clock frequency and update rate
The maximum serial clock frequency is given by:
f
sclkmax
+
1
t
whmin
) t
wlmin
+ 20 MHz
The maximum update rate is:
f
updatemax
+
1
16
ǒ
t
whmin
) t
wlmin
Ǔ
+ 1.25 MHz
Note that the maximum update rate is just a theoretical value for the serial interface, as the settling time of the
TLV5624 has to be considered, too.