cancel
Showing results for 
Search instead for 
Did you mean: 

problem with Internal comp in STM32G4

tmaun.1
Associate II

Hi,

I have a problem with the demoboard EVSPIN32G4 and also a motor control board using the STM32G431. The overcurrent detection using internal comparator triggers below the theory (10A insteand 100A for example). I tried to use as voltage reference Vrefint and also the internal DAC. I filtered the glitch of mosfet commutation but always the same result : the comp triggers too low 

Anyone have an idea for this problem ? many thanks

1 REPLY 1
Igor Cesko
ST Employee

Hi,

  Comparator in STM32G4 is very fast. There should be some glitch which is detected by COMP (during commutation). Try to use "blanking" feature for COMP - to stop COMP comparison during commutation - to remove glitches.

  Regards

                      Igor