μPD78F921x ONLY) User’s Manual U16994EJ6V0UD 166 9.4 A/D Converter Operations" />
參數資料
型號: UPD78F9210GR-JJG-A
廠商: Renesas Electronics America
文件頁數: 77/175頁
文件大?。?/td> 0K
描述: MCU 8BIT 1KB FLASH MEM 16-SSOP
標準包裝: 1
系列: 78K0S/Kx1+
核心處理器: 78K0S
芯體尺寸: 8-位
速度: 10MHz
外圍設備: LVD,POR,PWM,WDT
輸入/輸出數: 13
程序存儲器容量: 1KB(1K x 8)
程序存儲器類型: 閃存
RAM 容量: 128 x 8
電壓 - 電源 (Vcc/Vdd): 2 V ~ 5.5 V
數據轉換器: A/D 4x10b
振蕩器型: 內部
工作溫度: -40°C ~ 85°C
封裝/外殼: 16-SSOP(0.173",4.40mm 寬)
包裝: 托盤
其它名稱: 972-1045
UPD78F9210GR-JJG-A-ND
CHAPTER 9 A/D CONVERTER (
μPD78F921x ONLY)
User’s Manual U16994EJ6V0UD
166
9.4
A/D Converter Operations
9.4.1
Basic operations of A/D converter
<1>
Select one channel for A/D conversion using the analog input channel specification register (ADS).
<2>
Set ADCE to 1 and wait for 1
μs or longer.
<3>
Execute two NOP instructions or an instruction equivalent to two machine cycles.
<4>
Set ADCS to 1 and start the conversion operation.
(<5> to <11> are operations performed by hardware.)
<5>
The voltage input to the selected analog input channel is sampled by the sample & hold circuit.
<6>
When sampling has been done for a certain time, the sample & hold circuit is placed in the hold state and the
input analog voltage is held until the A/D conversion operation has ended.
<7>
Bit 9 of the successive approximation register (SAR) is set. The D/A converter voltage tap is set to (1/2) VDD
by the tap selector.
<8>
The voltage difference between the D/A converter voltage tap and analog input is compared by the voltage
comparator. If the analog input is greater than (1/2) AVDD, the MSB of SAR remains set to 1. If the analog
input is smaller than (1/2) VDD, the MSB is reset to 0.
<9>
Next, bit 8 of SAR is automatically set to 1, and the operation proceeds to the next comparison. The D/A
converter voltage tap is selected according to the preset value of bit 9, as described below.
Bit 9 = 1: (3/4) VDD
Bit 9 = 0: (1/4) VDD
The voltage tap and analog input voltage are compared and bit 8 of SAR is manipulated as follows.
Analog input voltage ≥ Voltage tap: Bit 8 = 1
Analog input voltage < Voltage tap: Bit 8 = 0
<10> Comparison is continued in this way up to bit 0 of SAR.
<11> Upon completion of the comparison of 10 bits, an effective digital result value remains in SAR, and the result
value is transferred to the A/D conversion result register (ADCR, ADCRH) and then latched.
At the same time, the A/D conversion end interrupt request (INTAD) can also be generated.
<12> Repeat steps <5> to <11>, until ADCS is cleared to 0.
To stop the A/D converter, clear ADCS to 0.
To restart A/D conversion from the status of ADCE = 1, start from <3>. To restart A/D conversion from the
status of ADCE = 0, start from <2>.
Cautions 1.
Make sure the period of <1> to <4> is 1
μs or more.
2.
It is no problem if the order of <1> and <2> is reversed.
Remark
The following two types of A/D conversion result registers can be used.
ADCR (16 bits): Stores a 10-bit A/D conversion value.
ADCRH (8 bits): Stores an 8-bit A/D conversion value.
相關PDF資料
PDF描述
P87LPC760BDH,118 IC 80C51 MCU 1KB OTP 14TSSOP
MC74HCT4851ADTG ANALOG MULTIPLEXERS/DEMUL TSSOP
MC74HCT4851ADG ANALOG MULTIPLEXERS/DEMUL SOIC16
MC74HC4851ADG IC MUX/DEMUX 8X1 16SOIC
ISL54228IRTZ-T IC USB SWITCH DPST OVP 8TDFN
相關代理商/技術參數
參數描述
UPD78F9210MA-FAA-AX 制造商:Renesas Electronics Corporation 功能描述:78K0S/KY1+ MCU, 1KB FLASH, 0.125KB RAM, 16-SSOP - Trays 制造商:Renesas Electronics Corporation 功能描述:IC MCU 8BIT 1KB FLASH 16SSOP 制造商:Renesas Electronics Corporation 功能描述:MCU 8BIT 10MHZ 1KB 16SSOP
UPD78F9211CS-CAB-A 功能描述:MCU 8BIT 2KB FLASH 16PIN RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:78K0S/Kx1+ 標準包裝:300 系列:78K0R/Ix3 核心處理器:78K/0R 芯體尺寸:16-位 速度:40MHz 連通性:3 線 SIO,I²C,LIN,UART/USART 外圍設備:DMA,LVD,POR,PWM,WDT 輸入/輸出數:27 程序存儲器容量:16KB(16K x 8) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:1K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 5.5 V 數據轉換器:A/D 8x10b 振蕩器型:內部 工作溫度:-40°C ~ 85°C 封裝/外殼:38-SSOP 包裝:托盤
UPD78F9211FH-2A2-A 制造商:Renesas Electronics Corporation 功能描述:
UPD78F9211GR(T)-JJG-A 制造商:Renesas Electronics Corporation 功能描述:MCU 8-Bit 78K0S CISC 2KB Flash 5V 16-Pin SSOP
UPD78F9211GR(T)-JJG-E1-A 制造商:Renesas Electronics Corporation 功能描述:MCU 8-Bit 78K0S CISC 2KB Flash 5V 16-Pin SSOP