Select Mode; Select Mode Operation Timing; A/D Conversion Time - NEC PD78212 User Manual

8-bit single-chip microcomputer sub-series
Table of Contents

Advertisement

µ PD78214 Sub-Series

(3) A/D conversion time

The time required for A/D conversion is determined by the system clock frequency (f
ADM register. To maintain A/D conversion accuracy above a certain level, it is necessary to set the FR bit as
listed in Table 8-2 according to the system clock frequency.
This A/D conversion time includes all the time required for one A/D conversion sequence and the sampling
time.
Table 8-2 shows the conversion time and sampling time.
System clock (f
range
4 MHz < f
2 MHz ≤ f

8.3.2 Select Mode

Bits 1 through 3 (ANI0 through ANI2) of the ADM register specify one analog input pin. A/D conversion is repeated
for the specified pin. The resultant digital data is stored in the A/D conversion result register (ADCR).
If bit 6 (TRG) of the ADM register is set to enable an external trigger, an A/D conversion end interrupt request
(INTAD) is generated.
A/D
conversion
Conversion starts
ADCR
INTP5
A/D
conversion
Conversion starts
ANI2-0←000
ADCR
INTAD
232
Table 8-2 A/D Conversion Time
)
CLK
FR bit
≤ 6 MHz
0
CLK
≤ 4 MHz
1
CLK
Fig. 8-6 Select Mode Operation Timing
(a) TRG bit ← 0
AN3
AN3
CS←1
MS←1
ANI2-0←011
AN3
(b) TRG bit ← 1
Initialization
Initialization
AN0
AN0
AN0
Conversion
end
CS←1
MS←1
AN0
Conversion time
(30 µ s to 45 µ s)
180/f
36/f
CLK
(30 µ s to 60 µ s)
120/f
24/f
CLK
AN3
AN3
AN3
AN3
AN3
AN3
Initialization
AN0
AN0
Conversion
Conversion
end
end
AN0
AN0
) and the FR bit of the
CLK
Sampling time
(6 µ s to 9 µ s)
CLK
(6 µ s to 12 µ s)
CLK
AN3
AN3
AN0
AN0
Conversion
Conversion
end
end
AN0

Advertisement

Table of Contents
loading

Table of Contents