參數(shù)資料
型號(hào): M34508G4GP
元件分類: 微控制器/微處理器
英文描述: 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
封裝: 4.40 X 6.50 MM, 0.65 MM PITCH, PLASTIC, SSOP-20
文件頁(yè)數(shù): 43/106頁(yè)
文件大?。?/td> 1059K
代理商: M34508G4GP
4508 Group
Rev.1.03
2009.07.27
page 39 of 140
REJ03B0148-0103
Note: “R” represents read enabled, and “W” represents write enabled.
(1) A/D control register Q1
Register Q1 is used to select the operation mode and one of analog
input pins. Set the contents of this register through register A with the
TQ1A instruction. The TAQ1 instruction can be used to transfer the
contents of register Q1 to register A.
(2) Operating at A/D conversion mode
The A/D conversion mode is set by setting the bit 3 of register Q1 to “0.”
(3) Successive comparison register AD
Register AD stores the A/D conversion result of an analog input in
10-bit digital data format. The contents of the high-order 8 bits of this
register can be stored in register B and register A with the TABAD in-
struction. The contents of the low-order 2 bits of this register can be
stored into the high-order 2 bits of register A with the TALA instruc-
tion. However, do not execute these instructions during A/D
conversion.
When the contents of register AD is n, the logic value of the compari-
son voltage Vref generated from the built-in DA converter can be
obtained with the reference voltage VDD by the following formula:
Logic value of comparison voltage Vref
Vref =
n
n: The value of register AD (n = 0 to 1023)
VDD
1024
Table 12 A/D control registers
(4) A/D conversion completion flag (ADF)
A/D conversion completion flag (ADF) is set to “1” when A/D conver-
sion completes. The state of ADF flag can be examined with the skip
instruction (SNZAD). Use the interrupt control register V2 to select
the interrupt or the skip instruction.
The ADF flag is cleared to “0” when the interrupt occurs or when the
next instruction is skipped with the skip instruction.
(5) A/D conversion start instruction (ADST)
A/D conversion starts when the ADST instruction is executed. The
conversion result is automatically stored in the register AD.
(6) Operation description
A/D conversion is started with the A/D conversion start instruction
(ADST). The internal operation during A/D conversion is as follows:
When the A/D conversion starts, the register AD is cleared to
“00016.”
Next, the topmost bit of the register AD is set to “1,” and the com-
parison voltage Vref is compared with the analog input voltage VIN.
When the comparison result is Vref < VIN, the topmost bit of the
register AD remains set to “1.” When the comparison result is Vref
> VIN, it is cleared to “0.”
The 4508 Group repeats this operation to the lowermost bit of the
register AD to convert an analog value to a digital value. A/D conver-
sion stops after 62 machine cycles (31 s when f(XIN) = 6.0 MHz in
high-speed mode) from the start, and the conversion result is stored
in the register AD. An A/D interrupt activated condition is satisfied
and the ADF flag is set to “1” as soon as A/D conversion completes
(Figure 32).
Q13
A/D control register Q1
A/D operation mode selection bit
at reset : 00002
at RAM back-up : state retained
0
1
Q12
0
1
A/D conversion mode
Comparator mode
Selected pins
AIN0
AIN1
Not available
AIN4
AIN5
Not available
Q11
0
1
0
1
Q11
Q10
0
1
0
1
0
1
0
1
Q12
Q10
Analog input pin selection bits
R/W
TAQ1/TQ1A
相關(guān)PDF資料
PDF描述
M34508G4H-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
M34508G4-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
M34508G4HGP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
M34508G4FP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
M34518M2-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PQFP32
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M34508G4GP#U0 功能描述:MCU 2/5V 4096 QZROM PB-FREE 20-S RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:720/4500 標(biāo)準(zhǔn)包裝:300 系列:78K0R/Ix3 核心處理器:78K/0R 芯體尺寸:16-位 速度:40MHz 連通性:3 線 SIO,I²C,LIN,UART/USART 外圍設(shè)備:DMA,LVD,POR,PWM,WDT 輸入/輸出數(shù):27 程序存儲(chǔ)器容量:16KB(16K x 8) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:- RAM 容量:1K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:38-SSOP 包裝:托盤
M34508G4GP(#UO) 制造商:Renesas Electronics Corporation 功能描述:
M34508G4HFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34508G4HGP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34508G4H-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER