Chapter 8 A/D Converter; Configuration; Modes Generating The Intad - NEC PD78212 User Manual

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

Advertisement

The µ PD78214 contains an analog-to-digital (A/D) converter with eight multiplexed analog input pins (AN0 through
AN7).
This A/D converter uses successive approximation The conversion result is stored in an 8-bit A/D conversion result
register (ADCR). Conversion can be performed at high speed (with conversion time of 30 µ s and at f
and with high accuracy.
The A/D converter can be started in the following two modes:
°
Hardware start: Conversion starts on a trigger input (INTP5).
°
Software start: Conversion starts as specified in the A/D converter mode register (ADM).
Once started, the A/D converter operates in either of the following modes:
°
Scan mode: Analog inputs are sequentially selected for A/D conversion from all the input pins.
°
Select mode: Only one input pin is used. Analog signals are successively input from this pin to the converter.
These start and operating modes are specified by the ADM register. The ADM register is also used to stop
conversion.
When the conversion result is sent to the ADCR register, an interrupt request (INTAD) is generated (except in the
select mode started by software). Therefore, the conversion result can be successively sent to the memory by
using a macro service.

8.1 CONFIGURATION

Fig. 8-1 shows the configuration of the A/D converter.

CHAPTER 8 A/D CONVERTER

Table 8-1 Modes Generating the INTAD
Scan mode
°
Hardware start
°
Software start
Select mode
°
= 6 MHz)
CLK
8
225

Advertisement

Table of Contents
loading

Table of Contents