2023-06-22 12:12 AM
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
2023-06-23 04:11 AM
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