IBM EM78P312N Specification page 29

Ibm 8-bit microcontroller green product specification
Table of Contents

Advertisement

AD7 (P97)
AD6 (P96)
AD5 (P95)
AD4 (P94)
AD3 (P93)
AD2 (P92)
AD1 (P91)
AD0 (P90)
ADIC
It is a 10-bit successive approximation type AD converter. The upper side of analog
reference voltage can select either internal VDD or external input pin P97 (VREF) by
setting the ADREF bit in ADCR.
ADC Data Register
When the A/D conversion is completed, the result is loaded to the ADDH (8 bit) and
ADDL (2 bit). The START/END bit is cleared, and the ADIF is set.
A/D Sampling Time
The accuracy, linearity, and speed of the successive approximation A/D converter are
dependent on the properties of the ADC. The source impedance and the internal
sampling impedance directly affect the time required to charge the sample holding
capacitor. The application program controls the length of the sample time to meet the
specified accuracy. Generally speaking, the program should wait for 2 μs for each KΩ
of the analog source impedance and at least 2 μs for the low-impedance source. The
maximum recommended impedance for the analog source is 10KΩ at V
the analog input channel is selected, this acquisition time must be done before A/D
conversion can be started.
A/D Conversion Time
ADCK0 and ADCK1 select the conversion time (Tct), in terms of instruction cycles.
This allows the MCU to run at maximum frequency without sacrificing accuracy of A/D
conversion. For the EM78P312N, the conversion time per bit is about 4μs. Table 5
shows the relationship between Tct and the maximum operating frequencies.
Table 5
ADCK1:0 Operation Mode
0 0
0 1
1 0
1 1
Product Specification (V1.0) 10.03.2006
(This specification is subject to change without further notice)
Fosc/4
4 to 1
Fosc/16
MUX
Fosc/32
7 - 0
2
1
0
5
4
ADCR
ADCR
Max. Frequency
Fc/4
Fc/16
Fc/32
Reserved
ADC
(Successive Approximation)
5
5
9 8 7 6 5 4 3 2 1 0
ISFR1
IMR1
DATA BUS
Fig. 5-5 AD Converter
Max. Conversion
(Fc)
Rate per Bit
1MHz
250kHz (4μs)
4MHz
250kHz (4μs)
8MHz
250kHz (4μs)
-
-
EM78P312N
8-Bit Microcontroller
VDD
VREF
Power Down
Start to Convert
6
3
7
ADCR
=5V. After
DD
Max. Conversion
Rate
48μs (20.8kHz)
48μs (20.8kHz)
48μs (20.8kHz)
-
• 25

Advertisement

Table of Contents
loading

Table of Contents