I notice that you set the Zero Vector Frequency to 32 Khz at 1:07 https://www.youtube.com/watch?v=H-6qzmeCNtw, however https://github.com/vedderb/bldc/blob/release_6_06/motor/mcpwm_foc.c L1922 looks to me it clamps the frequency to 30 Khz, or by another words, there is no difference you set it to more than 30 Khz. if (motor->m_conf->foc_f_zv > 30.0e3) { motor->m_conf->foc_f_zv = 30.0e3; } is it true?