Question
STM32F0 reading internal temperature sensor and reference voltage at the same time.
Posted on August 02, 2016 at 21:25
Hi ,
I interested in measuring STM32F0 temperature and reference voltage using internal sensor of it's processor at the same time using UART. so I used channels like this;ADC_ChannelConfig(ADC1, ADC_Channel_16 , ADC_SampleTime_55_5Cycles); ADC_TempSensorCmd(ENABLE);ADC_ChannelConfig(ADC1, ADC_Channel_Vrefint , ADC_SampleTime_55_5Cycles);ADC_VrefintCmd(ENABLE);Now I can measured only one values properly..If I applied to read two channel at the same time.I mixed volues eachother. I also looked for multichannel adc titles in the forum but it didn't work properly again. I think should use dma but I'm not good now.Thank you in advance for your help.Regards.