2013-08-14 09:35 AM
Hello,
So I tried every setup I could come up with, and had no luck. Does anyone have an example of using the Vrefint and Temp sensor ADC channels? Thanks #stm32 #internal-temperature-sensor #adc-vrefint #vrefint #f1032013-08-14 03:17 PM
I use both channels, no problems. Make sure you enable the channels first:
ADC_TempSensorVrefintCmd(
ENABLE
);
// enable temperature sensor and Vrefint (ADC1 only) and that you set the sample conversion time according to the datasheet (typically 5-10 usec). Otherwise they work the same as any other channel. And remember you can only use ADC1 for these channels. Jack Peacock2013-08-15 03:49 AM
http://www.embedds.com/introducing-to-stm32-adc-programming-part2/