TC850
DS21479D-page 16 2001-2012 Microchip Technology Inc.
8.0 DIGITAL SECTION TYPICAL
APPLICATIONS
8.1 Oscillator
The TC850 may operate with a crystal oscillator. The
crystal selected should be designed for a Pierce
oscillator, such as an AT-cut quartz crystal. The crystal
oscillator schematic is shown in Figure 8-1.
Since low-frequency crystals are very large and
ceramic resonators are too lossy, the TC850 clock
should be derived from an external source, such as a
microprocessor clock. The clock should be input on the
OSC
1
pin and no connection should be made to the
OSC
2
pin. The external clock should swing between
DGND and V
DD
.
Since oscillator frequency is ÷ 4 internally and each
conversion requires 1280 internal clock cycles, the
conversion time will be:
EQUATION 8-1:
An important advantage of the integrating ADC is the
ability to reject periodic noise. This feature is most often
used to reject line frequency (50 Hz or 60 Hz) noise.
Noise rejection is accomplished by selecting the inte-
gration period equal to one or more line frequency
cycles. The desired clock frequency is selected as
follows:
EQUATION 8-2:
For example, 60 Hz noise will be rejected with a clock
frequency of 61.44 kHz, giving a conversion rate of 12
conversions/sec. Integer submultiples of 61.44 kHz
(such as 30.72 kHz, etc.) will also reject 60 Hz noise.
For 50 Hz noise rejection, a 51.2 kHz frequency is
recommended.
If noise rejection is not important, other clock frequen-
cies can be used. The TC850 will typically operate at
conversion rates ranging from 3 to 40 conversions/sec,
corresponding to oscillator frequencies from 15.36 kHz
to 204.8 kHz.
FIGURE 8-1: Crystal Oscillator Schematic
8.2 Data Bus Interfacing
The TC850 provides an easy and flexible digital inter-
face. A 3-state data bus and six control inputs permit
the TC850 to be treated as a memory device, in most
applications. The conversion result can be accessed
over an 8-bit bus or via a P I/O port.
A typical P bus interface for the TC850 is shown in
Figure 8-2. In this example, the TC850 operates in the
Demand mode and conversion begins when a write
operation is performed to any decoded address space.
The BUSY output interrupts the P at the end-of-con-
version.
The A/D conversion result is read as three memory
bytes. The two LSBs of the address bus select high/low
byte and overrange/polarity bit data, while high-order
address lines enable the CE
input.
FIGURE 8-2: Interface to Typical
P Data
Bus
Conversion Time =
4 x 1280
F
CLOCK
F
CLOCK
= F
NOISE
x 4 x 256
where:
F
NOISE
is the noise frequency to be rejected,
4 represents the clock divider,
256 is the number of integrate cycles.
100 pF 100 pF
17
TC850
18
61.44 kHz
10 MΩ
System
Clock
¸4
Address
Decode
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
CE
A2
L/H
OVR/POL
RD
WR
BUSY
CS
+5V
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
A15
A0
A1
RD
WR
INTERRUPT
Address
Data Bus
CONT/DEMAND
. . .
μP
TC850
X00
X01
X10
High Byte Polarity
Low Byte
High Byte Overrange
2001-2012 Microchip Technology Inc. DS21479D-page 17
TC850
Figure 8-3 shows a typical interface to a P I/O port or
single-chip C. The TC850 operates in the Continuous
mode and can either interrupt the C/P or be polled
with an input pin.
FIGURE 8-3: Interface to Typical
P I/O
Port or Single Chip
C
Since the PA0-PA7 inputs are dedicated to reading A/D
data, the A/D CS/CE
inputs can be enabled continu-
ously. In Continuous mode, data must be read in 3
bytes, as shown in Table 6-1. The required RD pulses
are provided by a C/P output pin.
The circuit of Figure 8-3 can also operate in the
Demand mode, with the start-up conversion strobe
generated by a C/P output pin. In this case, the L/H
and CONT/DEMAND inputs can be controlled by I/O
pins and the RD
input connected to digital ground.
8.3 Demand Mode Interface Timing
When CONT/DEMAND input is LOW, the TC850
performs a conversion each time CE
and CS are active
and WR
is strobed LOW.
The Demand mode conversion timing is shown in
Figure 8-1. BUSY goes LOW and data is valid 1155
clock pulses after WR goes LOW. After BUSY goes
low, 125 additional clock cycles are required before the
next conversion cycle will begin.
Once conversion is started, WR
is ignored for 1100
internal clock cycles. After 1100 clock cycles, another
WR
pulse is recognized and initiates a new conversion
when the present conversion is complete. A negative
edge on WR is required to begin conversion. If WR is
held LOW, conversions will not occur continuously.
The A/D conversion data is valid on the falling edge of
BUSY and remains valid until one-half internal clock
cycle before BUSY goes HIGH on the succeeding
conversion. BUSY can be monitored with an I/O pin to
determine end of conversion or to generate a P
interrupt.
In Demand mode, the three data bytes can be read in
any desired order. The TC850 is simply regarded as
three bytes of memory and accessed accordingly. The
bus output timing is shown in Figure 8-2.
8.4 Continuous Mode Interface Timing
When the CONT/DEMAND input is HIGH, the TC850
performs conversions continuously. Data will be valid
on the falling edge of BUSY and all three bytes must be
read within 443-1/2 internal clock cycles of BUSY going
LOW. The timing diagram is shown in Figure 8-3.
In Continuous mode, OVR/POL
and L/H byte-select
inputs are ignored. The TC850 automatically cycles
through three data bytes, as shown in Table 6-1. Bus
output timing in the Continuous mode is shown in
Figure 8-4.
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
BUSY
RD
PB0
CS
NC
CE WR
+5V
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
INTERRUPT
CONT/DEMAND
mC OR m
P
I/O PORT
TC850
TC850
DS21479D-page 18 2001-2012 Microchip Technology Inc.
FIGURE 8-4: Conversion Timing, Demand Mode
FIGURE 8-5: Bus Output Timing, Demand Mode
WR Pulses are Ignored
836 Clock Cycles
1100 Clock Cycles
Internal Clock
BUSY
DB0-DB7
CS
.
CE
Next Convert
Command will be
Recognized
Previous Conversion
Data Valid
Data Meaningless
New Conversion Data Valid
Next Conversion
can Begin
319 Clock
Cycles
125 Clock
Cycles
. . . .
. . . . . . . .
WR

TC850CLW713

Mfr. #:
Manufacturer:
Microchip Technology
Description:
Analog to Digital Converters - ADC 16 Bit Hi Speed A/D
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet