M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 417

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
402
A-D Converter
Operation
Figure 2.7.19. ANi pin's sweep sequence in repeat sweep mode
Figure 2.7.20. Operation timing of repeat sweep 1 mode
2.7.9 Operation of A-D Converter (in repeat sweep mode 1)
A-D register 2
A-D
conversion
start flag
A-D register 0
A-D register 1
AD
In repeat sweep 1 mode, choose functions from those listed in Table 2.7.9. Operations of the circled items are
described below. Figure 2.7.19 shows ANi pin's sweep sequence, Figure 2.7.20 shows timing chart, and Figure
2.7.21 shows the set-up procedure.
When AN
1
0
2
0 0
Table 2.7.9. Choosed functions
(1) Setting the A-D conversion start flag to “1” causes the A-D converter to start the conversion on voltage
(2) After the A-D conversion on voltage input to the AN
(3) Every time the A-D converter carries out A-D conversion on a selected analog input pin, the A-D converter
(4) The A-D converter continues operating until software goes the A-D convers
“1”
“0”
Operation clock
Resolution
Analog input pin
3
0
is selected
input to the AN
comparison register (conversion result) is transmitted to A-D register 0.
carries out A-D conversion on only one unselected pin, and then the A-D converter carries out A-D conver-
sion from the AN0 pin again. (See Figure 2.7.19.) The conversion result is transmitted to A-D register i
every time conversion on a pin is completed. The A-D conversion interrupt request bit does not go to “1”.
0
4
Note: When
0
5
(1) Start AN
Item
0
6
Conversion rate per analog input pin is 49
0
7
8-bit resolution :
28
10-bit resolution :
33
0
1
AD
AD
AD
0
0
2
AD
Time
cycles
cycles
Set to “1” by software
pin conversion
frequency is less than 1MHz, sample and hold function cannot be selected.
0
0
.
.
.
pin.
O
O
O
Divided-by-4 f
by-2 f
An
pins) / AN
AN
8-bit / 10-bit
When AN
(2)
2
0
1
0
0
Conversion result is
transfered to A-D
conversion register 0
(1 pin) / AN
to AN
0
3
1
AD
8-bit resolution :
28
10-bit resolution :
33
0
1
4
Set-up
0
/ f
, AN
0
AD
3
0
1
5
AD
AD
to AN
(4 pins)
1
0
are selected
1
6
cycles
cycles
AD
Result
0
0
1
7
/ divided-
2
and AN
(3 pins) /
0
2
1
AD
Time
0
cycles for 8-bit resolution and 59
.
.
.
(3) Consecutive conversion
1
(2
8-bit resolution :
28
10-bit resolution :
33
Sample & Hold
Trigger for starting
A-D conversion
Expanded analog
input pin
When AN
0
1
3
2
0
AD
AD
Result
pin is completed, the content of the successive
0
1
2
4
cycles
cycles
0
1
2
5
0
Item
to AN
0
1
2
6
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
0
1
2
2
7
are selected
1
3
0
2
Time
Cleared to “0” by software
0
.
.
.
AD
8-bit resolution :
28
10-bit resolution :
33
cycles for 10-bit resolution.
O
O
O
AD
AD
When AN
ion start flag to “0”.
cycles
cycles
Software trigger
Trigger by AD
Not used
External ope-amp
connection mode
Not activated
Activated
4
1
2
3
0
Result
2
0
1
3
5
0
Mitsubishi microcomputers
to AN
M16C / 62 Group
0
1
2
3
6
Set-up
2
3
7
0
1
3
are selected
2
0
1
3
4
Result
(4)
TRG
Time
0
.
.
.
A-D
conversion
is complete

Related parts for M30622MA-XXXFP