This application report presents a solution to control a 3-phase Permanent Magnet Synchronous motor using the TI TMS320F240 DSP. This processor is part of a new family of DSPs that enable cost-effective design of intelligent controllers for brushless motors. The use of this DSP yields enhanced operations, fewer system components, lower system cost and increased efficiency. The control method presented is field oriented control (FOC). The sinusoidal voltage waveforms are generated by the DSP using the space vector modulation technique. A practical solution is described and results are given in this application report.