A Method to Detect the Rotor Position of PM Motors at Standstill: Implementation Issues Using TMS320F24x