
2
Figure 2 shows the timing for the method which uses 16 clock cycles for each conversion and data transfer cycle and
which inserts CS between each of these transfer cycles. Figure 3 shows the timing for the method which uses 16 clock
cycles for each conversion and data transfer cycle but inserts CS only once at the start of each sequence of conversions.
This application report describes various microcontroller interfaces, each of which uses 16 clock cycles for each
conversion data transfer. CS
is applied at the start of each conversion and data transfer. This method allows for the
general case where one or more conversions may be required. It also simplifies the required software.
Previous Conversion Data
MSB LSB
B7 B6 B5 B4
C7
B15A15 A14 A13 A12 A11 A10 A9 A8 A1 A0
1 2 3 4 5 6 7 8 15 16 1
I/O
CLOCK
DATA
OUT
DATA
INPUT
CS
EOC
B3 B2 B1 B0
t
conv
<10 µs
t
su
>1.425 µs
16-Clock Transfer Using CS
(MSB First)
Figure 2. Timing for 16-Clock Transfer Using CS With MSB First
Previous Conversion Data
MSB LSB
B7 B6 B5 B4 C7
B15A15 A14 A13 A12 A11 A10 A9 A8 A1 A0
1 2 3 4 5 6 7 8 15 16 1
DATA
OUT
DATA
INPUT
CS
EOC
B3 B2 B1 B0
t
conv
<10 µs
t
su
>1.425 µs
16-Clock Transfer Not Using CS
(MSB First)
t
d
(EOC-DATA)
<10 µs
I/O
CLOCK
Figure 3. Timing for 16-Clock Transfer Not Using CS With MSB First
Minimum Number of Data Transfers per Channel
It should be noted that in any single data transfer cycle between the TLC2543 and the chosen microcontroller the data
output from the ADC is the result of the previous conversion. The software listings included in this application report
have been written for the general case where the conversion results may be required for any individual channel or
sequence of channels. In this case the program included for each microcontroller interface must be run at least twice per
channel so that valid data corresponding to the required analogue input channel and ADC mode is delivered.
Software can be written to implement the consecutive channel scanning mode of operation of the TLC2543. In this case
the result from the first analog-to-digital conversion should be ignored or overwritten.
Comentarios a estos manuales