cancel
Showing results for 
Search instead for 
Did you mean: 

AC Signal Input

Legacy member
Not applicable

I have a STM32-C3 and was wondering what is the best way to sample a bipolar AC signal? In addition, does the STM32-C3 support ADC gain?

2 REPLIES 2
RhSilicon
Lead

Apparently there was a mix-up between the ESP32-C3 and the STM32.

Being ESP32, it's another forum: https://www.esp32.com/

ESP32-C3-WROOM-02_SPL

Ozone
Lead

None of the STM32 microcontrollers support symmetrical ADC inputs, i.e. true differential.
You require a negative supply voltage for that. By the way, this applies to almost all MCUs of other vendors, too.

You can either amplify/attenuate and shift the signal to the range acceptable for the onboard ADC in an appropriate preamplifier, or use an external ADC converter.
Though both variants would require symmetrical power supply in one way or another.

If you need just the zero crossing events, there are simpler methods and circuits.