2014-10-30 03:17 AM
Hi,
I try to use the ADC with ext ref but it doesn't work...I use ADC 1 from PA3.Are there any sample or does have anybody code example? #whiskey-tango-foxtrot2014-10-30 04:49 AM
Ok, from your post I'm not sure exactly what you've got wired up, or what voltage you apply to +VREF, and what in fact is not working. Please describe what you're seeing and what you're expecting.
The Standard Peripheral Library has several ADC code examples, tried those?2014-10-30 06:52 AM
Hi,
I use a 1,024V Ref at Ref+ and clearyl REF- at vssBut the Values toggle from 0 to 880, nothing between these :(2014-10-30 09:46 AM
And the nature of the input signal is what? Please try to present some complete context to your issue, including code, so you stand some chance of get an actual diagnosis of your problem.
[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/Multi%20Channel%20ADC%20reading&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F¤tviews=3162]https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSTM32Discovery%2FMulti%20Channel%20ADC%20reading&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F¤tviews=31622014-10-30 09:52 AM
There no input source.
If i connect PA3 to GND it seems more often show 0..but not really.The point of my question is, how can I switz from internal Reference to external?I use the Compiler from Microe and in this ACD Unit is only a internal Ref from VSS to Vdd, And the init Advanced does not work for this µc.So I need the Information, how can I switch to external Ref