Skip to main content
kotoel26
Associate II
May 9, 2013
Question

Temperature Sensor STM32L Discovery

  • May 9, 2013
  • 2 replies
  • 659 views
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
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    May 9, 2013
    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 VenmoUp vote any posts that you find helpful, it shows what's working..
    kotoel26
    kotoel26Author
    Associate II
    May 9, 2013
    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.