Skip to main content
August 20, 2023
Question

AC Signal Input

  • August 20, 2023
  • 2 replies
  • 1661 views

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?

This topic has been closed for replies.

2 replies

RhSilicon
Lead
August 21, 2023

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
Principal
August 21, 2023

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.