Lebowski said:looking at the hex, your pwm freq is very low at 8kHz, what output stage do you run ? deadtime is extremely low at 300 nsec (for an 8kHz output stage). Typically you see 6kHz adn 2000 nsec deadtime for big IGBT's, or 20kHz and 500 nsec for FETs...
there is no fieldweakening current in the hex...
As output stage I found a reference design from TI http://www.ti.com/tool/TIDA-00364. It is rated at 8KHz to have an efficiency > 95% at this frequency. The Output is a very very clean quare with no spikes even on this short deadtime.
The fieldweaking was switched on later and results in a great increase of speed