A method to detect the rotor position of PM motors at standstill: implementation issues using TMS320F24x