M30622M4 MITSUBISHI [Mitsubishi Electric Semiconductor], M30622M4 Datasheet - Page 158

no-image

M30622M4

Manufacturer Part Number
M30622M4
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M30622M4A-462GP D3
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
M30622M4A-462GP D3
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
A-D Converter
158
Table 1.20.4. Single sweep mode specifications
Figure 1.20.6. A-D conversion register in single sweep mode
(3) Single sweep mode
Function
Start condition
Stop condition
Interrupt request generation timing
Input pin
Reading of result of A-D converter
In single sweep mode, the pins selected using the A-D sweep pin select bit are used for one-by-one A-D
conversion. Table 1.20.4 shows the specifications of single sweep mode. Figure 1.20.6 shows the A-D
control register in single sweep mode.
Item
A-D control register 0 (Note)
A-D control register 1 (Note 1)
b7
b7
b6
b6
b5
b5
1
b4
1 0
b4
b3
b3
b2
b2
0
b1
b1
b0
b0
The pins selected by the A-D sweep pin select bit are used for one-by-one A-D conversion
Writing “1” to A-D converter start flag
• End of A-D conversion (A-D conversion start flag changes to “0”, except
• Writing “0” to A-D conversion start flag
End of A-D conversion
AN
Read A-D register corresponding to selected pin
Note: If the A-D control register is rewritten during A-D conversion, the conversion result
Note 1: If the A-D control register is rewritten during A-D conversion, the conversion result
Note 2: Neither ‘01’ nor ‘10’ can be selected with the external op-amp connection mode bit.
when external trigger is selected)
Bit symbol
Bit symbol
0
SCAN0
SCAN1
VCUT
CKS1
OPA0
OPA1
BITS
ADST
CKS0
MD2
CH0
CH1
CH2
MD0
MD1
TRG
and AN
Symbol
ADCON1
Symbol
ADCON0
is indeterminate.
is indeterminate.
1
Frequency select bit 0
Analog input pin
select bit
A-D operation mode
select bit 0
Trigger select bit
A-D conversion start flag
A-D sweep pin select bit
A-D operation mode
select bit 1
8/10-bit mode select bit
Frequency select bit 1
Vref connect bit
External op-amp
connection mode
bit (Note 2)
(2 pins), AN
Bit name
Bit name
Address
Address
03D7
03D6
0
16
16
to AN
00000XXX
When reset
When reset
0 : f
1 : f
0 0 : ANEX0 and ANEX1 are not used
0 1 : ANEX0 input is A-D converted
1 0 : ANEX1 input is A-D converted
1 1 : External op-amp connection mode
When single sweep and repeat sweep mode 0
are selected
0 : Any mode other than repeat sweep mode 1
0 : 8-bit mode
1 : 10-bit mode
1 : Vref connected
b7 b6
0 : A-D conversion disabled
1 : A-D conversion started
Invalid in single sweep mode
b4 b3
1 0 : Single sweep mode
0 : Software trigger
1 : AD
0 : f
1 : f
3
b1 b0
0 0 : AN
0 1 : AN
1 0 : AN
1 1 : AN
Specification
(4 pins), AN
00
AD
AD
AD
AD
/2 or f
16
TRG
/4 is selected
/2 is selected
is selected
0
0
0
0
, AN
to AN
to AN
to AN
trigger
2
AD
/4 is selected
1
(2 pins)
3
5
7
(4 pins)
(6 pins)
(8 pins)
0
Function
Function
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
to AN
5
(6 pins), or AN
R
R
0
Mitsubishi microcomputers
M16C / 62 Group
W
W
to AN
7
(8 pins)

Related parts for M30622M4