This reposiroty contains a complete set of examples for every peripheral of the TMS320LF2407 in C. It also contains two examples on filtering (IIR and FIR) and one on the FFT. These examples are explained in the book, Introduction to C programming with the TMS320LF2407 DSP Controller.
Although the TMS320LF2407 is traditionally programmed in assembly in order to fully exploit its special instruction set of optimal performance in standard DSP operations, there is no reason to write peripheral initialization in assembly. Furthermore, as shown in this example, it is possible to write C-callable assembly functions which can implement optimal DSP operations. Thus, the actual DSP algorithms can be optimized with C-callable assmebly functions wherever necessary.
Each example contains sized-down header files that provide C-structure wrappers only for the necessary registers and interrupt service routines (ISRs). To access a complete set of header files including a full list of interrupt service routines (file 'DSP24_DefaultIsr.h'), refer to this repository.