Low-side current sensing with G4 series.
I`m struggling with low side current sensing. In AN5306 ST proposed a lowside current sensing with the STM32G4 series. Here is a screenshot.
Furthermore the range of the opamp input voltage ist from 0V to VDDA, as can be seen here
How can this be done without damaging the the chip? As far as i understand the switching process of the three halfbridges, there is a freewheling current inbetween every positive pulse of the top side pwm cycle. This current flows “backward�? through the shunt and through the freewheling diode of the lowside mosfets. So this current causes a negative voltage drop at the shunt resistor.
I am missing something? Why is ST recommanding this allthough it can harm my chip?
Best regards
