TC520 MICROCHIP [Microchip Technology], TC520 Datasheet - Page 6

no-image

TC520

Manufacturer Part Number
TC520
Description
Serial Interface Adapter for TC500 A/D Converter Family
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TC5201 CB
Manufacturer:
TOSHIBA
Quantity:
1 831
Part Number:
TC520ACPD
Manufacturer:
AD
Quantity:
14 155
Part Number:
TC520CE
Quantity:
6 229
Part Number:
TC520CPD
Manufacturer:
MOT
Quantity:
6 219
TC520A
3.0
3.1
The TC520A consists of a serial port and state
machine. The state machine provides control timing to
the TC5xx A/D converter connected to the TC520A as
well as providing sequential timing for TC520A internal
operation. All timing is derived from the frequency
source at OSC
can be either an externally provided clock signal or
external crystal. If an external clock is used, it must be
connected to the OSC
floating. If a crystal is used, it must be connected
between the OSC
located as close to the OSC
possible. The incoming frequency is internally divided
by 4 and the resulting clock (SYSCLK) controls all
timing functions.
3.2
The TC520A control outputs (A, B) and control input
(CMPTR) connect directly to the corresponding pins of
the TC5XX A/D converter. A conversion is consum-
mated when A, B have been sequenced through the
required 4 phases of conversion: Auto Zero (AZ), Inte-
grate (INT), De-integrate (D
(see Figure 4-1). The Auto Zero phase compensates
for offset errors in the TC5XX A/D converter. The
Integrate phase connects the voltage to be converted
to the TC5XX A/D converter input, resulting in an inte-
grator output dv/dt directly proportional to the magni-
tude of the applied input voltage. Actual A/D conversion
(counting) is initiated at the start of the DINT phase and
terminates when the integrator output crosses 0V. The
integrator output is then forced to 0V during the IZ
phase and the converter is ready for another cycle.
Please see the TC500/TC500A/TC510/TC514 data
sheet for a complete description of these phases.
The number of SYSCLK periods (counts) for the AZ
and INT phases is determined by the LOAD VALUE.
The LOAD VALUE is a single byte that must be loaded
into the most significant byte of 16-bit counter on board
the TC520A during initialization. The lower byte of this
counter is pre-loaded to a value of 0FFH (256
cannot be changed.
The LOAD VALUE (upper 8 bits of the counter) can be
programmed over a range of 0FFH to 00H (corre-
sponding to a range of AZ = INT = 256 counts to 65536
counts). (See Figure 3-2). The LOAD VALUE sets the
number of counts for both the AZ and INT phases and
directly affects resolution and speed of conversion. The
greater the number of counts allowed for AZ and INT,
the greater the A/D resolution (but the slower the con-
version speed).
DS21431B-page 6
DETAILED DESCRIPTION
TC520A Timing
TC5XX A/D Converter Control
Signals
IN
and OSC
IN
and OSC
IN
pin and OSC
OUT
INT
IN
) and Integrator Zero (IZ)
. This frequency source
OUT
and OSC
and be physically
OUT
must remain
OUT
pins as
10
) and
The time period required for the DINT phase is a func-
tion of the amount of voltage stored on the integrator
during the INT phase and the value of V
phase is initiated by the TC520A immediately after the
INT phase and terminated when the TC5XX A/D con-
verter changes the state of the CMPTR input of the
TC520A, indicating a zero crossing. In general, the
maximum number of counts chosen for DINT is twice
that of INT (with V
ing these values guarantees a full count (maximum res-
olution) during D
The IZ phase is initiated immediately following the D
phase and is maintained until the CMPTR input transi-
tions high. This indicates the integrator is initialized and
ready for another conversion cycle. This phase
typically takes 2msec.
3.3
Communication to and from the TC520A is accom-
plished over a 3 wire serial port. Data is clocked into
D
on the falling edge of D
from the serial port and can be taken high at any time,
which terminates the read cycle and releases D
a high impedance state. Conversion data is shifted to
the processor from D
OVERRANGE (which can also be used as the 17th
data bit), POLARITY, conversion data (MSB first).
IN
on the rising edge of D
Serial Port Control Signals
INT
REF
when V
chosen at V
CLK
©
OUT
2002 Microchip Technology Inc.
CLK
. READ must be low to read
IN
in the following order:
= V
and clocked out of D
IN(MAX)
ININ(MAX)
REF
.
/2). Choos-
. The DINT
OUT
OUT
INT
to

Related parts for TC520