STM32G473 configure ADC in 16-bit mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-19 11:35 PM
I need to configure STM32G473 ADC in 16-bit mode, Currently i configured it in 12 - bit mode it works fine but as per my application i need 16-bit resolution. As datasheet indicates it is possible to configure 16-bit mode by oversampling, but is there any example to implement 16-bit mode from HAL layer? or any suggestions?
Solved! Go to Solution.
- Labels:
-
ADC
-
STM32G4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-20 6:21 AM
Oversampling can be enabled in CubeMX.
There is also this:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-20 6:21 AM
Oversampling can be enabled in CubeMX.
There is also this:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-21 12:08 AM
Is there any Example for implement oversampling in 16-bit mode at HAL layer or with multichannel DMA?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-23 8:20 AM
Thanks for reply the oversampaling is works.
is there any way to configure Dual mode ADC with ADC1 have 3 channel input ADC2 have 3 channel input using DMA with oversampaling?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-23 9:13 AM
From my understanding, this seems possible, but I am not digging into it. At the least, you could do the oversampling in software.
You're getting into some pretty specific applications. The examples are there to show the basics. If you want something more complex, you're probably going to need to take some time to develop it. Pretty sure there are Dual DMA examples. You would need to add hardware oversampling and configure the channels appropriately.
