-
Hello, I would like to know how to call the built-in operational amplifier of STM32G4 in the ArduinoIDE software |
Beta Was this translation helpful? Give feedback.
Answered by
fpistm
Aug 18, 2025
Replies: 1 comment
-
Hi @CJT1111 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
CJT1111
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @CJT1111
No default support provided in the core.
Anyway you can call directly the HAL to configure and use it.
If you need the ADC and/or the DAC, you can disabled the Arduino part as described here:
https://github.com/stm32duino/Arduino_Core_STM32/wiki/HAL-configuration#hal-module-only
by defining
HAL_ADC_MODULE_ONLY
HAL_DAC_MODULE_ONLY