TC850
DS21479C-page 12
2006 Microchip Technology Inc.
6.0
DIGITAL SECTION
DESCRIPTION
The TC850 digital section consists of two sets of con-
version counters, control and sequencing logic, clock
oscillator and divider, data latches and an 8-bit, 3-state
interface bus. A simplified schematic of the bus
6.1
Clock Oscillator
The TC850 includes a crystal oscillator on-chip. All that
is required is to connect a crystal across OSC1 and
OSC2 pins and to add two inexpensive capacitors
(
Figure 1-1). The oscillator output is ÷ 4 prior to clock-
ing the A/D internal counters. For example, a 100 kHz
crystal produces a system clock frequency of 25 kHz.
Since each conversion requires 1280 clock periods, in
this case the conversion rate will be 25,000/1280, or
19.5 conversions per second.
In most applications, however, an external clock is
divided down from the microprocessor clock. In this
case, the OSC1 pin is used as the external oscillator
input and OSC2 is left unconnected. The external clock
driver should swing from digital ground to VDD. The ÷ 4
function is active for both external clock and crystal
oscillator operations.
FIGURE 6-1:
Bus Interface Simplified Schematic
6.2
Digital Operating Modes
Two modes of operation are available with the TC850,
continuous conversions and on-demand. The Operat-
ing mode is controlled by the CONT/DEMAND input.
The bus interface method is different for Continuous
and Demand modes of operation.
6.2.1
DEMAND MODE OPERATION
When CONT/DEMAND is low, the TC850 performs one
conversion each time the chip is selected and the WR
input is pulsed low. Data is valid on the falling edge of
the BUSY output and can be accessed using the
6.2.2
CONTINUOUS MODE OPERATION
When CONT/DEMAND is high, the TC850 continu-
ously performs conversions. Data will be valid on the
falling edge of the BUSY output and remains valid for
443-1/2 clock cycles.
The low/high (L/H) byte-select and overrange/polarity
(OVR/POL) inputs are disabled during Continuous mode
operation. Data must be read in three consecutive bytes,
RD
L/H
3-State
Buffer
Output
Enable
End of Conversion
CONT/
DEMAND
Start
Conversion
To A/D
Control Logic
Octal
2-Input Mux
Select
Low-Byte
Up/Down
Counter
High-Byte
Up/Down
Counter
Polarity
Overrange
TC850
8
Select
2-Input Mux
DBO–DB7
8
7
8
CE
CS
WR
POL/OVR
Note:
In Continuous mode, the conversion result
must be read within 443-1/2 clock cycles
of the BUSY output falling edge. After this
time (i.e.,1/2 clock cycle before BUSY
goes high) the internal counters are reset
and the data is lost.