IV ANALOG BLOCK: A/D CONVERTER

A-1

IV-2 A/D CONVERTER

Features and Structure of A/D Converter

The Analog Block contains an A/D converter with the following features:

• Conversion method:

Successive comparison

• Resolution:

10 bits

• Input channels:

Maximum of 8

• Conversion time:

Maximum of 10 µs (when a 2-MHz input clock is selected)

• Conversion range:

Between VSS and AVDDE

• Two conversion modes can be selected:

Normal mode:

Conversion is completed in one operation.

Continuous mode:

Conversion is continuous and terminated through software control.

Continuous conversion of multiple channels can be performed in each mode.

Four types of A/D-conversion start triggers can be selected: Triggered by the external pin (#ADTRG)

Triggered by the compare match B of the 16-bit programmable timer 0 Triggered by the underflow of the 8-bit programmable timer 0 Triggered by the software

A/D conversion results can be read out from a 10-bit data register.

An interrupt is generated upon completion of A/D conversion.

Figure 2.1 shows the structure of the A/D converter.

AVDDE

VSS

AD0

 

 

 

 

Control

 

 

 

 

registers

AD1

 

 

 

 

 

 

 

 

 

AD2

Analog

 

Successive

 

 

AD3

Analog

 

Data

input

approximation

 

AD4

block

 

register

decoder

block

Control circuit

AD5

 

 

 

 

 

 

 

 

 

 

 

AD6

 

 

 

 

 

AD7

 

 

 

 

 

#ADTRG

 

 

 

 

Interrupt

8-bit timer 0

 

 

 

 

 

 

 

 

control

16-bit timer 0

 

 

 

 

circuit

 

 

 

Clock

Prescaler

Interrupt request

 

 

 

generator

 

 

 

 

 

 

Internal data bus

B-IV

A/D

Figure 2.1 Structure of A/D Converter

S1C33L03 FUNCTION PART

EPSON

B-IV-2-1