STM32 MCUs products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Problems with Comparator/DAC on STM32G473

Hi,I've been struggling with using the STM32G473's internal comparator and DAC for a few days now.ComparatorI use the internal COMP1. For the negative Input I selected the DAC3-CH1 and for the positive input I selected the Pin PA1. PA1 is configured ...

Moritz1 by Associate III
  • 54 Views
  • 0 replies
  • 0 kudos

COMP and blanking Function

Hi all,I am having some problems connecting a comparator to a TIMER using its blanking function (as described in the AN4232 application note).I've read the COMP_OutputBlanking example found in the STM32G4 repository projects (I'm using a STM32G431).I...

FlavioB by Associate II
  • 93 Views
  • 2 replies
  • 0 kudos

Resolved! STM32G4 comparator source sink current

HiIs there any info available regarding source sink current of analog comparators on the STM32G4 series.The datasheet doesn't contain any info on this although the drive current of Opamps is mentioned as 500uA.TIA

MMala.3 by Associate II
  • 186 Views
  • 3 replies
  • 2 kudos

STM32F303 Comparator & ADC for AC RMS measurements

I come from the PJRC Teensy 4.x after many years playing around with it and building a product or two based on it. (NXP IMXRT chip)But for a new project I need to be able to rapidly calculate the RMS value of an AC sine wave from an audio signal, wit...

DResn.1 by Associate II
  • 227 Views
  • 6 replies
  • 0 kudos

Resolved! Unexpected COMP1 behavior on STM32H723

Hello,I need to detect input when it goes over REF/2 (1.65V). I do supply VREF+ pin with 3.3000V.My signal has offset of 1.2V, and it will go over 2V when I apply signal to it.Everything is working, but it has unexpected behavior. I can only use nega...

COMP_CIRCUIT.PNG REF_DIV.PNG REGISTERS.PNG
Linas L by Senior II
  • 671 Views
  • 7 replies
  • 0 kudos

LPTIM count error on STM32L476RG

Hello,I am experiencing counting errors (specifically overflow counting errors) on LPTIM1.A bit of context first: the goal is to use the LPTIM1 to count pulses which are first treated by the COMP1 (to convert the input signal into an all-or-nothing s...