Moteur de recherche de fiches techniques de composants électroniques
  French  ▼
ALLDATASHEET.FR

X  

AN3397 Fiches technique(PDF) 5 Page - STMicroelectronics

No de pièce AN3397
Description  Temperature sensor example using the STM8L-DISCOVERY board
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricant  STMICROELECTRONICS [STMicroelectronics]
Site Internet  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3397 Fiches technique(HTML) 5 Page - STMicroelectronics

  AN3397 Datasheet HTML 1Page - STMicroelectronics AN3397 Datasheet HTML 2Page - STMicroelectronics AN3397 Datasheet HTML 3Page - STMicroelectronics AN3397 Datasheet HTML 4Page - STMicroelectronics AN3397 Datasheet HTML 5Page - STMicroelectronics AN3397 Datasheet HTML 6Page - STMicroelectronics AN3397 Datasheet HTML 7Page - STMicroelectronics AN3397 Datasheet HTML 8Page - STMicroelectronics AN3397 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 24 page
background image
AN3397
Temperature sensor overview
Doc ID 018809 Rev 1
5/24
1
Temperature sensor overview
This section provides an overview of the temperature sensor (TS) embedded in
STM8L15xxx devices. It describes how the TS works, the data processing required, and the
accuracy that can be expected.
1.1
Temperature sensor
The STM8L15xxx built-in TS is based on a semiconductor diode embedded in the MCU.
The sensor provides an analog output voltage proportional to the junction temperature of
the device.
Note:
The temperature information provided by the sensor is the thermal junction temperature
(temperature of the semiconductor), and may differ from the ambient temperature (MCU
package).
The diode bias current is held as constant as possible. Consequently, the forward bias
voltage across the diode is temperature dependent, with a temperature coefficient of about
1.62 mV/°C (see the device datasheet). The TS provides a reasonably linear characteristic
with a typical deviation of ±1 % (±2 % max) from linear asymptotic functions and a
temperature range equal to that of the device (-40 °C to 85 °C).
The sensor provides good linearity but quite poor interchangeability, and must be calibrated
to obtain good overall accuracy. If the application is designed to measure only the relative
temperature variations, the temperature sensor does not need to be calibrated.
1.2
Temperature measurement and data processing
The TS is internally connected to the ADC_TS channel of the analog-to-digital converter
(ADC), which is used to sample and convert the sensor analog output voltage. The raw ADC
data must be further processed to display the temperature in standardized units of
measurement (for example, Celsius, Fahrenheit or Kelvin)
The ADC reference voltage is connected to the 3-V VDD power supply of the STM8L-
DISCOVERY board. If the VDD value is not accurately known, as is the case with battery-
operated applications, it must be measured to obtain a correct overall ADC conversion
range. To easily measure the power supply voltage, we recommend using the embedded
internal reference voltage (bandgap). The device is well calibrated during the manufacturing
process, and its calibration data is stored in the protected memory area at address 0x4910.
Note:
Check that the bandgap factory calibration data (VREFINT_Factory_CONV) is available
from your STM8L15xxx MCU device.
The embedded bandgap voltage calibration data is a 12-bit unsigned integer acquired by
the ADC with VDD = 3 V ± 10 mV (please refer to the device datasheet for more details).



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


Fiches technique Télécharger

Go To PDF Page


Lien URL



ALLDATASHEET vous a-t-il été utile ?  [ DONATE ] 

À propos de Alldatasheet   |   Publicité   |   Contactez-nous   |   Politique de confidentialité   |   Lien vers la fiche technique    |   Echange de liens   |   Fabricants
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