Stm32f4 ADC exemple
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-08-31 10:50 AM
Posted on August 31, 2013 at 19:50
hello
i tried ST's adc exemple and i got weird values of my variable while debugging , for exemple i got 30 for 2.0 v and -1000 for 2.5 v , so anyone have a working code with no weird things? and thnx :)
This discussion is locked. Please start a new topic to ask your question.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-08-31 4:34 PM
Posted on September 01, 2013 at 01:34
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-09-01 3:19 AM
Posted on September 01, 2013 at 12:19
thank you clive it's better anyway , i got this values on debugging the array table values :
2 , 24 , 1040 , 1418 , 2001 , 2400 ,2800 , 3381 , 4095 , 3895 the problem is at 5v i got value 3895 and at 4.xx v i got 4095 !! :o any help plzOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-09-01 6:44 AM
Posted on September 01, 2013 at 15:44
How exactly do you expect to sample 5V on a part that's probably running at 3V? Wouldn't that exceed VREF+?
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-09-01 10:37 AM
Posted on September 01, 2013 at 19:37
yeah right VREF+ is 3.3v thnx :)
