cancel
Showing results for 
Search instead for 
Did you mean: 

How to Temeprature Sensor reading from STm32F discovery Kit

angy1551
Associate II
Posted on May 15, 2015 at 12:24

I am using discovery kit STm32F100R8 .I am looking for source code  for using temperature sensor using ADC .I am not able to find it on the  net.I dont want to use I2C code example given in library

4 REPLIES 4
raptorhal2
Lead
Posted on May 15, 2015 at 16:35

Which temperature sensor? There is one in the processor chip on a dedicated ADC channel, and coding examples in the peripheral library.

Cheers, Hal

angy1551
Associate II
Posted on May 16, 2015 at 08:47

angy1551
Associate II
Posted on May 16, 2015 at 08:48

The one with processor chip on dedicated ADC

raptorhal2
Lead
Posted on May 16, 2015 at 17:20

In the STM32F10x standard peripheral library there is an example RegSimul_DualMode that include conversion of the temperature channel you can adapt for your needs.

Cheers, Hal