Chapter 14 A/D Converter; Configuration - NEC uPD784038 Series User Manual

16-bit single-chip microcontrollers
Table of Contents

Advertisement

The µ PD784038 incorporates an analog/digital (A/D) converter with 8 multiplexed analog inputs (ANI0 to ANI7).
The successive approximation conversion method is used, and the conversion result is held in the 8-bit A/D conversion
result register (ADCR). This allows fast, high-precision conversion to be performed (conversion time of 7.5 µ s when f
= 16 MHz and high-speed conversion is used).
There are two modes for starting A/D conversion, as follows:
• Hardware start : Conversion started by trigger input (INTP5).
• Software start : Conversion started in accordance with A/D converter mode register (ADM) bit setting.
After start-up, there are two operating modes, as follows:
• Scan mode : Multiple analog inputs are selected in order, and conversion data is obtained from all pins.
• Select mode: One pin is used as the analog input, and conversion values are obtained in succession.
Stoppage of all the above modes and conversion operations is specified by the ADM register.
When the conversion result is transferred to the ADCR, an INTAD interrupt request is generated. This allows conversion
values to be transferred to memory in succession by means of macro service.

14.1 CONFIGURATION

The A/D converter configuration is shown in Figure 14-1.

CHAPTER 14 A/D CONVERTER

User's Manual U11316EJ4V1UD
CLK
385

Advertisement

Table of Contents
loading

Table of Contents