STM32F103 Vrefint / Temp sensor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-08-14 9:35 AM
Posted on August 14, 2013 at 18:35
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 #f103
Labels:
- Labels:
-
ADC
-
STM32F1 Series
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-08-14 3:17 PM
Posted on August 15, 2013 at 00:17
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 PeacockOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-08-15 3:49 AM
Posted on August 15, 2013 at 12:49
http://www.embedds.com/introducing-to-stm32-adc-programming-part2/
