Loading...
 
Skip to main content

System Workbench for STM32


STM32L4 - Comparator output seems to be in high impedance - (using cubeMX)

Hi there

I'm trying to get the STM32L4 internal comparator to work using cubeMX but without success. To test the comparator I connected both DAC outputs as the comparator inputs, which in one comes out a sine wave and in the other a faster sawtooth wave, to mimic a inverter pwm. So far my output is just noise.

I attached an image with my cubeMX setup.

Thanks in advance for any help