
MB90800 Series
35
5.
8/10-bit A/D converter
A/D converter converts an analog input voltage into digital value. The feature of A/D converter is shown as follows.
conversion time : 3.1
μ
s minimum per 1 channel
(78 machine cycle/at machine clock 25 MHz/including the sampling time)
Sampling time : 2.0
μ
s minimum per 1channel
(50 machine cycle/at machine clock 25 MHz)
Uses RC-type successive approximation conversion method with a sample & hold circuit
8-bit resolution or 10-bit resolution can be select.
12 channel program-selectable analog inputs.
Single conversion mode
: Convert 1 specified channel
Scan conversion mode
: Continuous plural channels (maximum 12 channels can be programmed) are
converted.
Continuous conversion mode : Selected channel converted continuously.
Stop conversion time
: Perform conversion for one channel, then wait for the next activation trigger
(synchronizes the conversion start timing)
EI
2
OS can be activated by outputting the interrupt request when the A/D conversion completes.
If the A/D conversion is performed under the condition of the interrupt enable, the converting data will be
protected.
Selectable conversion activation trigger : Software, or reload timer (rising edge)
(1) Register list
ADCS1, ADCS0 (Control status register)
ADCS0
Address : 000034
H
ADCR1, ADCR0 (data register)
ADCR0
Address : 000036
H
←
Initial Value
←
bit
ADCS1
Address : 000035
H
bit
←
Initial Value
←
bit
bit
←
Initial Value
←
bit
ADCR1
Address : 000037
H
bit
←
Initial Value
←
bit
0
R/W
7
6
5
4
3
2
1
0
MD0
0
R/W
MD1
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
W
0
R/W
15
14
13
12
11
10
9
8
INT
0
R/W
BUSY
INTE
PAUS
STS1
STS0
STRT
Reserved
X
R
X
R
X
R
X
R
X
R
X
R
X
R
7
6
5
4
3
2
1
0
D6
X
R
D7
D5
D4
D3
D2
D1
D0
0
W
1
W
0
W
1
W
X
R
X
R
15
14
13
12
11
10
9
8
ST1
0
W
S10
ST0
CT1
CT0
D9
D8