STM32G431KB: I need for my project an analog value between 0 and 5V. It seems like the MAX DAC Value is only 3.3V. Is it possible to change the range of the DAC somewhere in STM32CubeIDE or do I need to do it external?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-07 9:13 AM
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
‎2022-03-07 9:37 AM
Welcome, @MSpir.2​, to the community!
For this application, there are amplifier circuits that turn a smaller voltage into a larger one. In your case, you would have to use a non-inverting amplifier with a gain factor of 5V/VDD (if VDD=3.3, then =5/3.3), which can be realised quite easily with a low-voltage opamp with RRIO pins (rail-to-rail input and output).
Does it answer your question?
Regards
/Peter
In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-15 6:25 AM
Do you need additional hints?
Regards
/Peter
In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
