This paper discusses the principle of SPWM, as well as its mathematical models, highlight introduce the generation principle of SPWM wave based on TI digital signal processor TMS320LF2407A. The formula and mathematical model are simplified by using the symmetric regular sampling method. Update the value of the program by comparing the look-up table, this method improves the operational efficiency, and reduces the error generation. The paper detailed analysis the configuration of each register in event manager module, and gives a critical interrupt subroutine. Through online simulation debugging, get the correct SPWM and the corresponding dead-time waveform.