Question
Internal temperature sensor shows big offset at temperatures > 50°C (STM32G474VE). Is this common knowledge and if so is there some form of formula to correct this?
Setup:
- Using ADC1 with an ADC frequency of 50MHz
- Sampling time of internal temperature channel = 640.5 cycles = 12.81µs (> minimal sampling time of 5µs)
- Conversion triggered every 1s by software
- Using injected channel since regular channel conversion is used to measure external signals at a higher frequency (of 2kHz)
- Injected channel sequence is two to perform two consecutive conversion(adding one dummy conversion) to avoid errate topic
More information:
- The temperate is calculated from raw ADC value to °C using LL-Driver functions
- The offset only occurs at higher temperatures (> 50°C)
- The temperature of the chip is externally measured with a thermoelement glued to the STM32 using heat paste and Kapton tape
- The maximum temperatue range of this particular STM32 is -40°C to 130°C
