STM32W108CBU6 STMICROELECTRONICS [STMicroelectronics], STM32W108CBU6 Datasheet - Page 137

no-image

STM32W108CBU6

Manufacturer Part Number
STM32W108CBU6
Description
High-performance, IEEE 802.15.4 wireless system-on-chip
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
STM32W108CBU6
Manufacturer:
ST
Quantity:
20 000
Part Number:
STM32W108CBU61
Manufacturer:
ST
0
Part Number:
STM32W108CBU61TR
Manufacturer:
ST
0
Part Number:
STM32W108CBU63
Manufacturer:
ST
0
Part Number:
STM32W108CBU63TR
Manufacturer:
ST
0
Part Number:
STM32W108CBU63TR
Manufacturer:
ST
Quantity:
20 000
Part Number:
STM32W108CBU64
Manufacturer:
ST
Quantity:
2 330
Part Number:
STM32W108CBU64
Manufacturer:
ST
0
Part Number:
STM32W108CBU64TR
Manufacturer:
IDT
Quantity:
5 803
Part Number:
STM32W108CBU64TR
Manufacturer:
ST
Quantity:
20 000
STM32W108CB, STM32W108HB
9.2
Note:
Table 20.
Interrupts
The ADC has its own ARM
ADC interrupt is enabled by writing the INT_ADC bit to the INT_CFGSET register, and
cleared by writing the INT_ADC bit to the INT_CFGCLR register.
page 143
Four kinds of ADC events can generate an ADC interrupt, and each has a bit flag in the
INT_ADCFLAG register to identify the reason(s) for the interrupt:
Bits in INT_ADCFLAG may be cleared by writing a 1 to their position.
The INT_ADCCFG register controls whether or not INT_ADCFLAG bits actually request the
ARM
so.
For non-interrupt (polled) ADC operation set INT_ADCCFG to zero, and read the bit flags in
INT_ADCFLAG to determine the ADC status.
When making changes to the ADC configuration it is best to disable the DMA beforehand. If
this isn’t done it can be difficult to determine at which point the sample data in the DMA
buffer switch from the old configuration to the new configuration. However, since the ADC
will be left running, if it completes a conversion after the DMA is disabled, the INT_ADCOVF
flag will be set. To prevent these unwanted DMA buffer overflow indications, clear the
INT_ADCOVF flag immediately after enabling the DMA, preferably with interrupts off.
Disabling the ADC in addition to the DMA is often undesirable because of the additional
analog startup time when it is re-enabled.
Offset corrected
Offset and gain
corrected using
VREF, normalized to
VREF
Offset and gain
corrected using
VDD_PADSA,
normalized to
VDD_PADSA
Calculation Type
INT_ADCOVF – an ADC conversion result was ready but the DMA was disabled (DMA
buffer overflow).
INT_ADCSAT– the gain correction multiplication exceeded the limits for a signed 16-bit
number (gain saturation).
INT_ADCULDFULL – the DMA wrote to the last location in the buffer (DMA buffer full).
INT_ADCULDHALF – the DMA wrote to the last location of the first half of the DMA
buffer (DMA buffer half full).
®
Cortex-M3 ADC interrupt; only the events whose bits are 1 in INT_ADCCFG can do
describes the interrupt system in detail.
Offset and gain correction (ADC_HVSELn=1)
N
=
N
(
®
=
N
N
Cortex-M3 vectored interrupt with programmable priority. The
(
2
=
N
X
Doc ID 16252 Rev 2
×
X
(
+
Corrected Sample
N
+
(
N
X
2
N
N
×
+
VREF
VREF
VDD
(
N
N
VREF
VREF
_
PADSA
2
2
×
×
2
N
N
N
×
VREF
VREF
VREF
N
N
VREF
2 /
2 /
VREF
2 /
)
)
2 /
<<
)
)
<<
2 /
16
)
16
Analog-to-digital converter
V
Section 10: Interrupts on
=
(
Absolute Voltage
N
V
×
=
VDD
(
N
×
2
VREF
2
16
14
_
PADSA
)
137/179
)

Related parts for STM32W108CBU6