Input Voltage And Conversion Result - NEC mPD789426 Series User Manual

8-bit single-chip
Table of Contents

Advertisement

CHAPTER 11 10-BIT A/D CONVERTER ( µ µ µ µ PD789436 AND 789456 SUBSERIES)
Sampling
time
A/D converter
Sampling
operation
SAR
Undefined
ADCR0
INTAD0
A/D conversion continues until bit 7 (ADCS0) of A/D converter mode register 0 (ADM0) is reset (0) by software.
If an attempt is made to write to ADM0 or analog input channel specification register 0 (ADS0) during A/D
conversion, the ongoing A/D conversion is canceled. In this case, A/D conversion is restarted from the beginning, if
ADCS0 is set (1).
RESET input makes A/D conversion result register 0 (ADCR0) undefined.

11.4.2 Input voltage and conversion result

The relationships between the analog input voltage at the analog input pins (ANI0 to ANI5) and the A/D
conversion result (A/D conversion result register 0 (ADCR0)) are represented by:
V
IN
ADCR0 = INT (
AV
DD
or
AV
DD
(ADCR0 − 0.5) ×
1,024
INT( ):
Function that returns the integer part of a parenthesized value
V
:
Analog input voltage
IN
AV
:
Supply voltage for the A/D converter
DD
ADCR0:
Value in A/D conversion result register 0 (ADCR0)
Figure 11-5 shows the relationship between the analog input voltage and the A/D conversion result.
Figure 11-4. Basic Operation of 10-Bit A/D Converter
× 1,024 + 0.5)
≤ V
< (ADCR0 + 0.5) ×
IN
User's Manual U15075EJ1V0UM00
Conversion time
A/D conversion
AV
DD
1,024
Conversion
result
Conversion
result
203

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd789436 seriesMpd789446 seriesMpd789456 seriesMpd789425Mpd789445Mpd789426 ... Show all

Table of Contents