Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

STM32W108HB Datasheet(PDF) 219 Page - STMicroelectronics

Part # STM32W108HB
Description  High-performance, IEEE 802.15.4 wireless system-on-chip with up to 256 Kbytes of embedded Flash memory
PDF  278 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM32W108HB Datasheet(HTML) 219 Page - STMicroelectronics

Back Button STM32W108HB Datasheet HTML 215Page - STMicroelectronics STM32W108HB Datasheet HTML 216Page - STMicroelectronics STM32W108HB Datasheet HTML 217Page - STMicroelectronics STM32W108HB Datasheet HTML 218Page - STMicroelectronics STM32W108HB Datasheet HTML 219Page - STMicroelectronics STM32W108HB Datasheet HTML 220Page - STMicroelectronics STM32W108HB Datasheet HTML 221Page - STMicroelectronics STM32W108HB Datasheet HTML 222Page - STMicroelectronics STM32W108HB Datasheet HTML 223Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 219 / 278 page
background image
STM32W108HB STM32W108CC STM32W108CB STM32W108CZ
Analog-to-digital converter
Doc ID 16252 Rev 14
219/278
11.1
Functional description
11.1.1
Setup and configuration
To use the ADC follow this procedure, described in more detail in the next sections:
●
Configure any GPIO pins to be used by the ADC in analog mode.
●
Configure the voltage reference (internal or external).
●
Set the offset and gain values.
●
Reset the ADC DMA, define the DMA buffer, and start the DMA in the proper transfer
mode.
●
If interrupts will be used, configure the primary ADC interrupt and specific mask bits.
●
Write the ADC configuration register to define the inputs, voltage range, sample time,
and start the conversions.
11.1.2
GPIO usage
A GPIO pin used by the ADC as an input or voltage reference must be configured in analog
mode by writing 0 to its 4-bit field in the proper GPIOx_CRH/L register. Note that a GPIO pin
in analog mode cannot be used for any digital functions, and software always reads it as 1.
ADC0 input
GPIOB_CRH[7:4]
ADC1 input
GPIOB_CRH[11:8]
ADC2 input
GPIOB_CRH[15:12]
ADC3 input
GPIOC_CRH[7:4]
ADC4 input
GPIOA_CRH[3:0]
ADC5 input
GPIOA_CRH[7:4]
VREF input or output
GPIOB_CRH[3:0]
See Section 8: General-purpose input/output on page 87 for more information about how to
configure the GPIO pins.
11.1.3
Voltage reference
The ADC voltage reference (VREF), may be internally generated or externally sourced from
PB0. If internally generated, it may optionally be output on PB0.
To use an external reference, an ST system function must be called after reset and after
waking from deep sleep. PB0 must also be configured in analog mode using
GPIOB_CRH[3:0]. See the STM32W108 HAL documentation for more information on the
system functions required to use an external reference.
Table 37.
ADC GPIO pin usage
Analog Signal
GPIO
Configuration control
PB5
PB6
PB7
PC1
PA4
PA5
PB0



Html Pages

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 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  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com