Skip to main content
lshan.1
Associate
May 14, 2021
Question

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?

  • May 14, 2021
  • 1 reply
  • 1636 views

0693W00000AOITxQAP.jpg0693W00000AOITsQAP.jpg0693W00000AOITiQAP.jpg0693W00000AOITYQA5.jpgI 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!

This topic has been closed for replies.

1 reply

MJean
Associate
November 7, 2022

Hello

I think you have to fill the "Trigger Mode" of your comparator with an Event (and not an interrupt) :

0693W00000WHaj9QAD.png