參數(shù)資料
型號(hào): ADUC832
廠商: Analog Devices, Inc.
英文描述: MicroConverter, 12-Bit ADCs and DACs with Embedded 62 kBytes Flash MCU
中文描述: MicroConverter的,12位ADC和62 kBytes為嵌入式閃存MCU數(shù)模轉(zhuǎn)換器
文件頁數(shù): 24/80頁
文件大小: 1311K
代理商: ADUC832
REV. 0
–24–
ADuC832
Configuring the ADC
The ADuC832
s successive approximation ADC is driven by a
divided down version of the master clock. To ensure adequate
ADC operation, this ADC clock must be between 400 kHz
and 6 MHz, and optimum performance is obtained with ADC
clock between 400 kHz and 4.5 MHz. Frequencies within this
range can easily be achieved with master clock frequencies from
400 kHz to well above 16 MHz with the four ADC clock divide
ratios to choose from. For example, set the ADC clock divide
ratio to 4 (i.e., ADCCLK = 16.777216 MHz/8 = 2 MHz) by
setting the appropriate bits in ADCCON1 (ADCCON1.5 = 0,
ADCCON1.4 = 0).
The total ADC conversion time is 15 ADC clocks, plus 1 ADC
clock for synchronization, plus the selected acquisition time
(1, 2, 3, or 4 ADC clocks). For the example above, with a 3-clock
acquisition time, total conversion time is 19 ADC clocks (or 9.05
μ
s
for a 2 MHz ADC clock).
In continuous conversion mode, a new conversion begins each
time the previous one finishes. The sample rate is then simply
the inverse of the total conversion time described above. In the
example above, the continuous conversion mode sample rate
would be 110.3 kHz.
If using the temperature sensor as the ADC input, the ADC
should be configured to use an ADCCLK of MCLK/32 and
four acquisition clocks.
Increasing the conversion time on the temperature monitor channel
improves the accuracy of the reading. To further improve the
accuracy, an external reference with low temperature drift should
also be used.
ADC DMA Mode
The on-chip ADC has been designed to run at a maximum
conversion speed of 4
μ
s (247 kHz sampling rate). When
converting at this rate, the ADuC832 MicroConverter has 4
μ
s
to read the ADC result and store the result in memory for fur-
ther postprocessing, otherwise the next ADC sample could be
lost. In an interrupt driven routine, the MicroConverter would
also have to jump to the ADC Interrupt Service routine, which
will also increase the time required to store the ADC results. In
applications where the ADuC832 cannot sustain the interrupt
rate, an ADC DMA mode is provided.
To enable DMA mode, Bit 6 in ADCCON2 (DMA) must be set.
This allows the ADC results to be written directly to a 16 MByte
external static memory SRAM (mapped into data memory
space) without any interaction from the ADuC832 core. This
mode allows the ADuC832 to capture a contiguous sample
stream at full ADC update rates (247 kHz).
A Typical DMA Mode Configuration Example
To set the ADuC832 into DMA mode, a number of steps must
be followed:
1. The ADC must be powered down. This is done by ensuring
MD1 and MD0 are both set to 0 in ADCCON1.
2. The DMA address pointer must be set to the start address
of where the ADC results are to be written. This is done by
writing to the DMA mode address pointers DMAL, DMAH,
and DMAP. DMAL must be written to first, followed by
DMAH, and then by DMAP.
3. The external memory must be preconfigured. This consists of
writing the required ADC channel IDs into the top four bits
of every second memory location in the external SRAM, starting
at the first address specified by the DMA address pointer. As
the ADC DMA mode operates independent from the ADuC832
core, it is necessary to provide it with a stop command. This
is done by duplicating the last channel ID to be converted
followed by
1111
into the next channel selection field. A
typical preconfiguration of external memory is as follows:
1
1
1
1
0
0
1
1
0
0
1
1
1
0
0
0
0
1
0
1
0
0
1
0
00000AH
000000H
STOP COMMAND
REPEAT LAST CHANNEL
FOR A VALID STOP
CONDITION
CONVERT ADC CH#3
CONVERT TEMP SENSOR
CONVERT ADC CH#5
CONVERT ADC CH#2
Figure 14. Typical DMA External Memory Preconfiguration
4. The DMA is initiated by writing to the ADC SFRs in the
following sequence:
a. ADCCON2 is written to enable the DMA mode,
i.e., MOV ADCCON2, #40H; DMA mode enabled.
b. ADCCON1 is written to configure the conversion time
and power-up of the ADC. It can also enable Timer 2
driven conversions or external triggered conversions
if required.
c. ADC conversions are initiated. This is done by starting
single conversions, starting Timer 2, runningfor Timer 2
conversions, or receiving an external trigger.
When the DMA conversions are completed, the ADC interrupt
bit, ADCI, is set by hardware and the external SRAM contains
the new ADC conversion results as shown below. It should be
noted that no result is written to the last two memory locations.
When the DMA mode logic is active, it takes the responsibility of
storing the ADC results away from both the user and ADuC832
core logic. As it writes the results of the ADC conversions to exter-
nal memory, it takes over the external memory interface from
the core. Thus, any core instructions that access the external
memory while DMA mode is enabled will not get access to it. The
core will execute the instructions and they will take the same time
to execute but they will not gain access to the external memory.
NO CONVERSION
RESULT WRITTEN HERE
CONVERSION RESULT
FOR ADC CH#3
CONVERSION RESULT
FOR TEMP SENSOR
CONVERSION RESULT
FOR ADC CH#5
CONVERSION RESULT
FOR ADC CH#2
1
1
1
1
0
0
1
1
0
0
1
1
1
0
0
0
0
1
0
1
0
0
1
0
00000AH
000000H
STOP COMMAND
Figure 15. Typical External Memory Configuration
Post ADC DMA Operation
相關(guān)PDF資料
PDF描述
ADUC832BCP MicroConverter, 12-Bit ADCs and DACs with Embedded 62 kBytes Flash MCU
ADUC832BS MicroConverter, 12-Bit ADCs and DACs with Embedded 62 kBytes Flash MCU
ADUC834 MicroConverter, Dual 16-/24- Bit ADCs with Embedded 62KB FLASH MCU
ADUC834BS MicroConverter, Dual 16-/24- Bit ADCs with Embedded 62KB FLASH MCU
ADUM1310BRWZ Triple-Channel Digital Isolator with Programmable Default Output
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ADUC832BCP 制造商:Analog Devices 功能描述:MCU 8-Bit ADuC8xx 8052 CISC 62KB Flash 3V/5V 56-Pin LFCSP EP 制造商:Rochester Electronics LLC 功能描述:8BIT CISC 62KB FLASH 16.78MHZ 3.3/5V 56LFCSP - Bulk
ADUC832BCP-REEL 制造商:Analog Devices 功能描述:MCU 8-Bit ADuC8xx 8052 CISC 62KB Flash 3V/5V 56-Pin LFCSP EP T/R
ADUC832BCPZ 功能描述:IC MCU 62K FLASH ADC/DAC 56LFCSP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:MicroConverter® ADuC8xx 標(biāo)準(zhǔn)包裝:250 系列:LPC11Uxx 核心處理器:ARM? Cortex?-M0 芯體尺寸:32-位 速度:50MHz 連通性:I²C,Microwire,SPI,SSI,SSP,UART/USART,USB 外圍設(shè)備:欠壓檢測(cè)/復(fù)位,POR,WDT 輸入/輸出數(shù):40 程序存儲(chǔ)器容量:96KB(96K x 8) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:4K x 8 RAM 容量:10K x 8 電壓 - 電源 (Vcc/Vdd):1.8 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:48-LQFP 包裝:托盤 其它名稱:568-9587
ADUC832BCPZ-REEL 功能描述:IC MCU 62K FLASH ADC/DAC 56LFCSP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:MicroConverter® ADuC8xx 標(biāo)準(zhǔn)包裝:38 系列:Encore!® XP® 核心處理器:eZ8 芯體尺寸:8-位 速度:5MHz 連通性:IrDA,UART/USART 外圍設(shè)備:欠壓檢測(cè)/復(fù)位,LED,POR,PWM,WDT 輸入/輸出數(shù):16 程序存儲(chǔ)器容量:4KB(4K x 8) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:- RAM 容量:1K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:- 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 105°C 封裝/外殼:20-SOIC(0.295",7.50mm 寬) 包裝:管件 其它名稱:269-4116Z8F0413SH005EG-ND
ADUC832BS 制造商:Analog Devices 功能描述:MCU 8-Bit ADuC8xx 8052 CISC 62KB Flash 3.3V/5V 52-Pin MQFP 制造商:Rochester Electronics LLC 功能描述:8BIT CISC 62KB FLASH 16.78MHZ 3.3/5V 52MQFP - Bulk 制造商:Analog Devices 功能描述:8BIT MCU +12BIT ADC LQFP52 832