STM32CubeMX (MCUs)

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32G4 comparator output can‘t disable the PWM outputs when I want to use the fault protection mechanism。Is there something wrong in STM32CubeIDE configuration?

I tried to do a lot of changes of configuration,but it didn’t work. when I use comparator output as FLT input pin,fault protection works,however it‘s used as FLT_Int signal,it always doesn’t work.Hope your kind help,Thanks!

0693W00000AOITxQAP.jpg 0693W00000AOITsQAP.jpg 0693W00000AOITiQAP.jpg 0693W00000AOITYQA5.jpg
lshan.1 by Associate II
  • 1 replies
  • 0 kudos

Resolved! How to use COMP1 and COMP2 in STM32H747I-DISCO board?

I could not figure out how I can connect a sine wave signal to the positive input of COMP1 or COMP2 comparators in STM32H747I-DISCO board. According to the STM32CubeMX the comparators positive inputs are on PB0 (COM1_INP) and PB9 (COM2_INP) GPIO, but...

Louie88 by Associate III
  • 5 replies
  • 0 kudos

Resolved! Sending comparator to output

Hi.I am working on microcontroller STM32L072KZ and STM32CubeMX.I am trying to set a value of one pin depending on comparator value. I do not know how to do it in STM32CubeMX.I want to do it using only hardware, not software.Can anyone help me?

TWaks.1 by Associate
  • 3 replies
  • 0 kudos

dac to comparator does not working interrupt

comparator does not interruptThis function handles TIM6, DAC1 and LPTIM1 interrupts (LPTIM1 interrupt through EXTI line 29). LL_EXTI_LINE_17 ? 17 ? 29 ? @file      : main.c LL_TIM_GenerateEvent_CC1(TIM6); LL_EXTI_EnableIT_0_31(LL_EXTI_LINE_17); LL_EX...

0693W000000VzD8QAK.jpg 0693W000000Vz0JQAS.jpg
Ecift.1 by Associate
  • 1 replies
  • 0 kudos