m5m51016btp Renesas Electronics Corporation., m5m51016btp Datasheet - Page 237

no-image

m5m51016btp

Manufacturer Part Number
m5m51016btp
Description
Renesas 16-bit Single-chip Microcomputer M16c Family / M16c/20 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m5m51016btp-10LL/-10L
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-10LL/-10L
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-10VHTC4
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m5m51016btp-10VLL
Manufacturer:
MIT
Quantity:
3 909
Part Number:
m5m51016btp-10VLL
Manufacturer:
MIT
Quantity:
3 909
Part Number:
m5m51016btp-10VLL
Manufacturer:
MITSUMI
Quantity:
20 000
Part Number:
m5m51016btp-12LL
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-70LL
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m5m51016btp-70LLTC4
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
m5m51016btp-70LLTC4
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
M30245 Group
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Operation
Figure 2.9.14. ANi pin's sweep sequence in repeat sweep mode
Figure 2.9.15. Operation timing of repeat sweep 1 mode
2.9.7 Operation of A/D Converter (in repeat sweep mode 1)
A / D
c o n v e r s i o n
s t a r t f l a g
AD register 0
A D r e g i s t e r 1
A D r e g i s t e r 2
A D
In repeat sweep 1 mode, choose functions from those listed in Table 2.9.7. Operations of the circled items are
described below. Figure 2.9.14 shows ANi pin's sweep sequence, Figure 2.9.15 shows timing chart, and Figure
2.9.16 shows the set-up procedure.
When AN
1
0
2
Table 2.9.7. Choosed functions
0 0
(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
O p e r a t i o n c l o c k
R e s o l u t i o n
A n a l o g i n p u t p i n
“ 1 ”
“ 0 ”
3
0
is selected
input to the AN
comparison register (conversion result) is transmitted to AD 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 AN
time conversion on a pin is completed. The A/D conversion interrupt request bit does not go to “1”.
0
4
N o t e : W h e n
0
5
Item
(1) Start AN
0
6
page 228 of 354
A/D conversion
C o n v e r s i o n r a t e p e r a n a l o g i n p u t p i n i s 4 9
0
7
8 - b i t r e s o l u t i o n :
2 8
1 0 - b i t r e s o l u t i o n :
3 3
A D
0
1
A D
A D
A D
0
2
0
Time
c y c l e s
c y c l e s
pin
S e t t o “ 1 ” b y s o f t w a r e
0
f r e q u e n c y i s l e s s t h a n 1 M H z , s a m p l e a n d h o l d f u n c t i o n c a n n o t b e s e l e c t e d .
0
.
.
.
O
O
O
0
pin.
pin again. The conversion result is transmitted to the corresponding AD register i every
A n
p i n s ) / A N
A N
D i v i d e d - b y - 4 f
b y - 3 f
/ f
8 - b i t / 1 0 - b i t
A D
0
0
( 1 p i n ) / A N
t o A N
When AN
A D
2
( 2 )
0
1
Set-up
/ d i v i d e d - b y - 2 f
C o n v e r s i o n r e s u l t i s
t r a n s f e r e d t o A D
c o n v e r s i o n r e g i s t e r 0
0
3
1
0
3
t o A N
( 4 p i n s )
0
4
1
8 - b i t r e s o l u t i o n :
2 8
1 0 - b i t r e s o l u t i o n :
3 3
0
A D
, AN
0
0
1
5
/ d i v i d e d -
A D
A D
2
a n d A N
1
( 3 p i n s ) /
0
are selected
1
6
c y c l e s
c y c l e s
Result
0
1
7
A D
1
2
0
1
( 2
Time
A D
0
.
.
.
c y c l e s f o r 8 - b i t r e s o l u t i o n a n d 5 9
T r i g g e r f o r s t a r t i n g
A / D c o n v e r s i o n
Sample & Hold
( 3 ) C o n s e c u t i v e c o n v e r s i o n
8 - b i t r e s o l u t i o n :
2 8
1 0 - b i t r e s o l u t i o n :
3 3
When AN
Item
0
1
3
2
0
A D
A D
Result
pin is completed, the content of the successive
0
1
2
4
c y c l e s
c y c l e s
1
0
2
5
0
to AN
0
1
2
6
2
0
1
2
7
are selected
O
O
0
1
2
3
Time
C l e a r e d t o “ 0 ” b y s o f t w a r e
0
.
.
.
Software trigger
Trigger by AD
Not activated
A c t i v a t e d
A D
8-bit resolution :
28
10-bit resolution :
33
c y c l e s f o r 1 0 - b i t r e s o l u t i o n .
AD
AD
Set-up
ion start flag to “0”.
When AN
cycles
cycles
4
2
3
0
1
TRG
R e s u l t
2
0
1
3
5
0
to AN
2
0
1
3
6
0
1
2
3
7
3
2. A/D Converter
are selected
0
1
2
3
4
R e s u l t
(4)
Time
0
.
.
.
A / D
c o n v e r s i o n
i s c o m p l e t e

Related parts for m5m51016btp