參數(shù)資料
型號: STM32W108CBU62
廠商: STMICROELECTRONICS
元件分類: 微控制器/微處理器
英文描述: SPECIALTY MICROPROCESSOR CIRCUIT, QCC48
封裝: 7 X 7 MM, ROHS COMPLIANT, VFQFPN-48
文件頁數(shù): 70/208頁
文件大?。?/td> 2801K
代理商: STM32W108CBU62
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁當(dāng)前第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁
STM32W108CB, STM32W108HB
Analog-to-digital converter
Doc ID 16252 Rev 6
161/208
Note:
ADC sample timing is the same whether the STM32W108 is using the 24 MHz crystal
oscillator or the 12 MHz high-speed RC oscillator. This facilitates using the ADC soon after
the CPU wakes from deep sleep, before switching to the crystal oscillator.
11.1.7
Operation
Setting the ADC_EN bit in the ADC_CFG register enables the ADC; once enabled, it
performs conversions continuously until it is disabled. If the ADC had previously been
disabled, a 21 s analog startup delay is imposed before the ADC starts conversions. The
delay timing is performed in hardware and is simply added to the time until the first
conversion result is output.
When the ADC is first enabled, and or if any change is made to ADC_CFG after it is
enabled, the time until a result is output is double the normal sample time. This is because
the ADC’s internal design requires it to discard the first conversion after startup or a
configuration change. This is done automatically and is hidden from software except for the
longer timing. Switching the processor clock between the RC and crystal oscillator also
causes the ADC to go through this startup cycle. If the ADC was newly enabled, the analog
delay time is added to the doubled sample time.
If the DMA is running when ADC_CFG is modified, the DMA does not stop, so the DMA
buffer may contain conversion results from both the old and new configurations.
The following procedure illustrates a simple polled method of using the ADC. After
completing the procedure, the latest conversion results is available in the location written to
by the DMA. This assumes that any GPIOs and the voltage reference have already been
configured.
1.
Allocate a 16-bit signed variable, for example analogData, to receive the ADC output.
(Make sure that analogData is half-word aligned – that is, at an even address.)
2.
Disable all ADC interrupts – write 0 to INT_ADCCFG.
3.
Set up the DMA to output conversion results to the variable, analogData.
Reset the DMA – set the ADC_DMARST bit in ADC_DMACFG.
Define a one sample buffer – write analogData’s address to ADC_DMABEG, set
ADC_DMASIZE to 1.
4.
Write the desired offset and gain correction values to the ADC_OFFSET and
ADC_GAIN registers.
5.
Start the ADC and the DMA.
Write the desired conversion configuration, with the ADC_EN bit set, to ADC_CFG.
Clear the ADC buffer full flag – write INT_ADCULDFULL to INT_ADCFLAG.
Start the DMA in auto wrap mode – set the ADC_DMAAUTOWRAP and
ADC_DMALOAD bits in ADC_DMACFG.
6.
Wait until the INT_ADCULDFULL bit is set in INT_ADCFLAG, then read the result from
analogData.
6
2048
341
0.488
2.93
11
7
4096
682
0.244
1.47
12
Table 30.
ADC sample times
ADC_PERIOD
Sample
Clocks
Sample Time (s)
Sample Frequency (kHz)
Significant
Bits
1 MHz clock 6 MHz clock 1 MHz clock 6 MHz clock
相關(guān)PDF資料
PDF描述
STM8L162R8T3 8-BIT, FLASH, 16 MHz, RISC MICROCONTROLLER, PQFP64
STM8L162R8T6 8-BIT, FLASH, 16 MHz, RISC MICROCONTROLLER, PQFP64
STMPE2401TBR 24 I/O, PIA-GENERAL PURPOSE, PBGA36
STMPE801MTR 8 I/O, PIA-GENERAL PURPOSE, PDSO16
STMPS2262MTR 4 I/O, PIA-GENERAL PURPOSE, PDSO8
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
STM32W108CBU63TR 功能描述:射頻微控制器 - MCU 32BIT ARM Cortex M3 IEEE 802.15.4 64kB RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:Si100x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:24 MHz 程序存儲器大小:64 KB 數(shù)據(jù) RAM 大小:4 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:LGA-42 安裝風(fēng)格:SMD/SMT 封裝:Tube
STM32W108CBU64 制造商:STMicroelectronics 功能描述:STM32 WITH AN ON-CHIP 802.15.4 TRANSCEIVER - Bulk
STM32W108CBU64TR 功能描述:射頻微控制器 - MCU 32BIT ARM Cortex M3 IEEE 802.15.4 64kB RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:Si100x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:24 MHz 程序存儲器大小:64 KB 數(shù)據(jù) RAM 大小:4 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:LGA-42 安裝風(fēng)格:SMD/SMT 封裝:Tube
STM32W108CCU73TR 功能描述:RF片上系統(tǒng) - SoC Hi-prf IEEE 802.15.4 wireless SOC 256Kb RoHS:否 制造商:Texas Instruments 類型:Zigbee 處理器系列:CC253 核心:8051 最大數(shù)據(jù)速率:250 Kbps 輸出功率:4.5 dBm 靈敏度:- 97 dBm 工作電源電壓:2 V to 3.6 V 接收供電電流:24.3 mA 傳輸供電電流:33.5 mA 程序存儲器大小:256 KB 工作溫度范圍:- 40 C to + 125 C 封裝 / 箱體:QFN-40
STM32W108CCU74TR 功能描述:RF片上系統(tǒng) - SoC Hi-prf IEEE 802.15.4 wireless SOC 256Kb RoHS:否 制造商:Texas Instruments 類型:Zigbee 處理器系列:CC253 核心:8051 最大數(shù)據(jù)速率:250 Kbps 輸出功率:4.5 dBm 靈敏度:- 97 dBm 工作電源電壓:2 V to 3.6 V 接收供電電流:24.3 mA 傳輸供電電流:33.5 mA 程序存儲器大小:256 KB 工作溫度范圍:- 40 C to + 125 C 封裝 / 箱體:QFN-40