I am running a motor through an inverter.
My main code which is inside taking 130 us, which is too much for a small piece of code.
My switching frequency is currently 5kHz (T=200 us). If I use 10kHz, then I am getting erroneous results.
Epwm settings related to switching frequency are:
Regards