This project deals with real time DC motor speed control, using the new generation TMS320LF2407A digital signal processor. A PID controller is designed using MATLAB for the desired controller characteristics. The controller coefficients are then discretized and included in an assembly language or C program that implements the PID controller. Code composer studio is used to load and run the PID controller program to achieve real time control. Input to the DSP processor is given from potentiometer through ADC. Duty cycle is given as input to the controller which is used to calculate control voltage to generate PWM from ramp. The output from DSP processor is fed to the buck converter which is used to drive the DC motor.