2011-12-27 08:34 AM
Hi everybody.
I've just a little question : does anyone knows if the internal temperature sensor of an STM32F107 can be read with ADC2. In the reference manual it's written ''The temperature sensor is internally connected to the ADCx_IN16 input channel'' but on figure 39 Vsense and Vref are clearly connected to ADC1. However I'm trying to use ADC2 to read internal temperature sensor value but I just get very very low values (0x01...0x07) while with ADC1 values are Ok. Thanks a lot. Robin.2011-12-28 07:06 AM
Other sections in the reference manual are more specific. RM0008 Rev 13 Section 11.3.3 says:
''Note: The sensor and VREFINT are only available on the master ADC1 peripheral.'' Figure 29 shows the temp sensor and VRef going to ADC1, but only IN_0 to IN_15 go to ADC2. Cheers, Hal2011-12-28 12:55 PM
Ok thank you very much. Next time i'll read more carefully all the paragraph ;)
Regards. Robin