MCBSTM32EXL Keil, MCBSTM32EXL Datasheet - Page 218

no-image

MCBSTM32EXL

Manufacturer Part Number
MCBSTM32EXL
Description
BOARD EVALUATION FOR STM32F103ZE
Manufacturer
Keil
Datasheets

Specifications of MCBSTM32EXL

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Analog-to-digital converter (ADC)
Note:
11.11
Note:
218/995
Reading the temperature
To use the sensor:
1.
2.
3.
4.
5.
6.
The sensor has a startup time after waking from power down mode before it can output
V
the delay, the ADON and TSVREFE bits should be set at the same time.
ADC interrupts
An interrupt can be produced on end of conversion for regular and injected groups and
when the analog watchdog status bit is set. Separate interrupt enable bits are available for
flexibility.
ADC1 and ADC2 interrupts are mapped onto the same interrupt vector. ADC3 interrupts are
mapped onto a separate interrupt vector.
Two other flags are present in the ADC_SR register, but there is no interrupt associated with
them:
Table 66.
End of conversion regular group
End of conversion injected group
Analog watchdog status bit is set
SENSE
Select the ADCx_IN16 input channel.
Select a sample time of 17.1 µs
Set the TSVREFE bit in the
temperature sensor from power down mode.
Start the ADC conversion by setting the ADON bit (or by external trigger).
Read the resulting V
Obtain the temperature using the following formula:
Temperature (in °C) = {(V
Where,
V
Avg_Slope = Average Slope for curve between Temperature vs. V
mV/° C or µV/ °C).
Refer to the Electrical characteristics section for the actual values of V
Avg_Slope.
JSTRT (Start of conversion for injected group channels)
STRT (Start of conversion for regular group channels)
25
at the correct level. The ADC also has a startup time after power-on, so to minimize
= V
SENSE
ADC interrupts
value for 25° C and
Interrupt event
SENSE
25
Doc ID 13902 Rev 9
data in the ADC data register
- V
ADC control register 2 (ADC_CR2)
SENSE
) / Avg_Slope} + 25.
Event flag
JEOC
AWD
EOC
to wake up the
SENSE
Enable Control bit
25
(given in
and
JEOCIE
EOCIE
AWDIE
RM0008

Related parts for MCBSTM32EXL