STMicroelectronics Discovery kit for STM32L151/152 line - with STM32L152RC MCU STM32L152C-DISCO STM32L152C-DISCO Hoja De Datos

Los códigos de productos
STM32L152C-DISCO
Descargar
Página de 132
DocID022799 Rev 6
STM32L15xCC STM32L15xRC STM32L15xUC STM32L15xVC
Functional overview
51
3.10.1 Temperature 
sensor
The temperature sensor (T
SENSE
) generates a voltage V
SENSE 
that varies linearly with 
temperature.
The temperature sensor is internally connected to the ADC_IN16 input channel which is 
used to convert the sensor output voltage into a digital value. 
The sensor provides good linearity but it has to be calibrated to obtain good overall 
accuracy of the temperature measurement. As the offset of the temperature sensor varies 
from chip to chip due to process variation, the uncalibrated internal temperature sensor is 
suitable for applications that detect temperature changes only.
To improve the accuracy of the temperature sensor measurement,  each device is 
individually factory-calibrated by ST. The temperature sensor factory calibration data are 
stored by ST in the system memory area, accessible in read-only mode.
 on page 116.
3.10.2 
Internal voltage reference (V
REFINT
)
The internal voltage reference (V
REFINT
) provides a stable (bandgap) voltage output for the 
ADC and Comparators.  V
REFINT
 is internally connected to the ADC_IN17 input channel. It 
enables accurate monitoring of the V
DD
  value (when no external voltage, VREF+, is 
available for ADC). The precise voltage of V
REFINT
  is individually measured for each part by 
ST during production test and stored in the system memory area. It is accessible in read-
only mode. See 
 on page 
61.
3.11 
DAC (digital-to-analog converter)
The two 12-bit buffered DAC channels can be used to convert two digital signals into two 
analog voltage signal outputs. The chosen design structure is composed of integrated 
resistor strings and an amplifier in non-inverting configuration.
This dual digital Interface supports the following features:
Two DAC converters: one for each output channel
Up to 10-bit output
Left or right data alignment in 12-bit mode
Synchronized update capability
Noise-wave generation
Triangular-wave generation
Dual DAC channels, independent or simultaneous conversions
DMA capability for each channel (including the underrun interrupt)
External triggers for conversion
Input reference voltage V
REF+
Eight DAC trigger inputs are used in the STM32L15xxC. The DAC channels are triggered 
through the timer update outputs that are also connected to different DMA channels.