STM32W108C8U64TR STMicroelectronics, STM32W108C8U64TR Datasheet - Page 157

no-image

STM32W108C8U64TR

Manufacturer Part Number
STM32W108C8U64TR
Description
16/32-BITS MICROS
Manufacturer
STMicroelectronics
Series
STM32r
Datasheet

Specifications of STM32W108C8U64TR

Applications
RF4CE, Remote Control
Core Processor
ARM® Cortex-M3™
Program Memory Type
FLASH (64 kB)
Controller Series
STM32W
Ram Size
8K x 8
Interface
I²C, SPI, UART/USART
Number Of I /o
24
Voltage - Supply
1.18 V ~ 3.6 V
Operating Temperature
-40°C ~ 85°C
Mounting Type
Surface Mount
Package / Case
48-VFQFN Exposed Pad
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
STM32W108C8U64TR
Manufacturer:
ST
0
STM32W108C8
11.1
11.1.1
11.1.2
11.1.3
Functional description
Setup and configuration
To use the ADC follow this procedure, described in more detail in the next sections:
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 GPIO_PnCFGH/L register. Note that a GPIO
pin in analog mode cannot be used for any digital functions, and software always reads it as
1.
Table 27.
See
to configure the GPIO pins.
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
GPIO_PBCFGH[3:0]. See the STM32W108C8 HAL documentation for more information on
the system functions required to use an external reference.
ADC0 input
ADC1 input
ADC2 input
ADC3 input
ADC4 input
ADC5 input
VREF input or output
Section 8: General-purpose input/outputs on page 54
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.
Analog Signal
ADC GPIO pin usage
Doc ID 018587 Rev 1
GPIO
PB5
PB6
PB7
PC1
PB0
PA4
PA5
GPIO_PBCFGH[3:0]
GPIO_PBCFGH[7:4]
GPIO_PBCFGH[11:8]
GPIO_PBCFGH[15:12]
GPIO_PCCFGH[7:4]
GPIO_PACFGH[3:0]
GPIO_PACFGH[7:4]
for more information about how
Configuration control
Analog-to-digital converter
157/207

Related parts for STM32W108C8U64TR