
13
TC8129
TC8129 - 3/29/96-2
2001 Microchip Technology Inc.
DS21473A
4C\VDigit Auto-Ranging DMM ADC
40
D55
MSB
39
D54
38
D53
37
D52
36
D51
35
D50
LSB
34
S5
33
D45
32
D44
31
D43
30
D42
29
D41
28
D40
LSB
27
S4
26
D35
MSB
25
D34
24
D33
23
D32
22
D31
21
D30
LSB
20
S3
19
D25
MSB
18
D24
17
D23
16
D22
15
D21
14
D20
LSB
13
S2
12
D19
MSB
11
D18
10
D17
9
D16
8
D15
7
D14
6
D13
5
D12
4
D11
3
D10
LSB
2
S1
1
T
0
OR
DATA 5
DATA 4
DATA 3
DATA 2
DATA 1
OR (Overrange) Codes
OR
0
1
DECODE
Normal
Overrange
T (Data Type) Codes
T
0
1
DECODE
Data
Offset
S (Sign) Codes
S1,S2,S3, S4, S5
0
1
DECODE
Negative
Positive
RESULT = (DATA1 + DATA2) x 1000 – (DATA3) x 100 + (DATA4) x 10 – (DATA5) IN 400,000 COUNTS
Figure 9. TC8129 Serial Data Output Format
B11 enables the buzzer when the CONT pin is HIGH.
A voltage comparator connected in parallel with the inter-
nal terminals of the A/D monitors the input signal level.
When the signal level is lower than the threshold voltage,
typically 30mV, the CONT pin will be set to a logic "1".
Buzzer will also be activated once the "B11" of the configu-
ration word is set "HIGH". This feature can facilitate the
"FAST CONTINUITY" check in the resistance measure-
ment mode.
To simplify programming of the TC8129, configuration
codes for all measurement modes and ranges are shown
in Figure 8.
Data Output Format
The TC8129 communicates the A/D converter result
via a 41-bit serial word (Figure 9). The first two bits of the
output word are status bits and the last 39 bits provide the
polarity and magnitude of the conversion.
The first bit of the output word is the overrange bit.
This bit is normally 0. If B0 is a 1, the A/D converter is
overranged.
Bit B1 is a logic 1 if the output data represents a
system offset reading. For normal conversions, B1 is a 0.
The TC8129 uses a five-deintegration method of A/D
conversion (see the A/D theory of operation section). The
result of each deintegration period is included in the data
output word. These five values are labeled DATA1 through
DATA5 (Figure 9). Each of these data words is a sign-
Configuration Word B11
B10
B9
B8
B7
B6
B5
B4
B3
B2
B1
B0
Offset Measurement
Short Integration
0
1
P
SO
0
Normal Integration
0
1
0
P
SO
0
Diode Measurement: Multiply the output by 5.45 for 60Hz operation or 6.55 for 50Hz operation to get the final result
0
1
P
10110000
Legend:
P: Determined by TC8131 or Programmer
SO: Previous State
Figure 8. TC8129 Configuration Codes (part 2)
magnitude binary number. DATA1 is 10 bits plus sign and
DATA2 through DATA5 are 6 bits plus sign. The TC8129
conversion result is obtained by adding and multiplying the
five data words as follows:
Result = (DATA1 + DATA2) x 3E816 - (DATA3) x 6416
+ (DATA4) x 0A16 - (DATA5)
(Note: 3E816, 6416, and 0A16 equate to decimal num-
bers 1000, 100, and 10, respectively.)
The result of this operation will be a binary representa-
tion of a 5
digit number. Figure 10 illustrates this conver-
sion of typical data from the TC8129 into a 5
digit num-
ber. Before displaying this number, three operations are
required:
1.
The system offset must be subtracted.
2.
The binary number is converted to decimal format.
3.
The least significant digit is discarded to yield a
4
digit result.
For microcomputer applications of the TC8129, the
A/D conversion result can also be calculated by the follow-
ing method:
1. Add DATA1 and DATA2 (observing polarity of both)
2.
Multiply by 3E816.