cancel
Showing results for 
Search instead for 
Did you mean: 

Temperature Sensor STM32L Discovery

kotoel26
Associate II
Posted on May 09, 2013 at 03:27

how i can know if the Vrefin its On?, because im enable and disable

ADC_TempSensorVrefintCmd(); and i get the same values on data registrer  :s

#discovery #discovery #stm32l #stm32l
2 REPLIES 2
Posted on May 09, 2013 at 19:38

if (ADC->CCR & (uint32_t)ADC_CCR_TSVREFE)

 puts(''TempSensorVrefint ON'');

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
kotoel26
Associate II
Posted on May 09, 2013 at 21:42

I have a question, i have the STM32LDiscovery and I was reading the datasheet and I found this values for Vrefint and A

Vrefint=1.224V

Avg_Slope=1.61(mV/ºC)

I want to confirm if those values are correct.