We are working with the ADC and we can read the registers over I2C. But the conversion of those values into voltages is a mystery to us and nowhere documented.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-06 4:58 AM
If someone has that information please share, better would be if you can point me to the documentation where I can found the information.
We are using the STM32F429ZI nucleo board.
Solved! Go to Solution.
- Labels:
-
ADC
-
I2C
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-06 5:29 AM
An external I2C ADC? Which one?
The internal ADC?
If the board is running at 3V? voltageADC = 3.0 * measurementADC / 4096.0
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-06 5:29 AM
An external I2C ADC? Which one?
The internal ADC?
If the board is running at 3V? voltageADC = 3.0 * measurementADC / 4096.0
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-06 5:47 AM
yes sorry, I meant the internal ADCs.
thank you for the quick response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-06 6:59 AM
Internal ADC over I2C?
What code?
hth
KnarfB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-06 8:16 AM
I applied the formula, and it works! We are using the I2C bus yes. Thank you Tesla
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-06 8:33 AM
Maybe your MCU is running at 3.3V?
You can also measure Vdda by measuring the internal reference voltage Vrefint and extrapolate the result to get an estimate for Vdda. Details should be in the ref.man.
hth
KnarfB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-07 1:30 AM
Thank you. I found my error and it works fine now. Accuracy is within 5 mV. Not ideal but acceptable.
