Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: Hwi Sysbios

$
0
0

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


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>