Hi Shubam,
To use the driver in your project, you need only add it to your project configuration. To add it using the graphical configuration tool; double-click on your project's .cfg file. Right-click on the SPI module box and select "Use SPI":
If you are not using the graphical configuration tool, just add the following lines of code to your .cfg file:
var SPI = xdc.useModule('ti.drivers.SPI'); /* Can use LibType_Instrumented for debug purposes */ SPI.libType = SPI.LibType_NonInstrumented;
You can find the driver .c/.h source in the following directory:
<ti_rtos_install_dir>\packages\ti\drivers\spi\SPITivaDMA.c
Thanks,
-- Emmanuel