Question about SPI

All technical discussions and projects around startKIT
Junior Member
Posts: 6
Joined: Sun May 11, 2014 1:54 am

Question about SPI

Postby nickn » Wed Feb 18, 2015 6:22 am

I've recently got back into playing around with my startKIT again. I've been curious about how to use the SPI peripheral. Upon skimming though the XCORE architecture intro dochere it talks about "software defined peripherals" which at first sounded like bit-banging (which I have done in the past when I wanted to use an SPI device with my startKIT) but upon further reading it may be something in between bit-banging and dedicated peripherals. Does anyone have a link to a good tutorial of using the SPI xSOFTip peripheral?

As for a little background I'm most familiar with 8-bit and 16-bit uc's that often include a peripheral that can do SPI.
User avatar
Respected Member
Posts: 275
Joined: Fri Mar 12, 2010 6:03 pm

Postby larry » Wed Feb 18, 2015 8:29 pm

The xCORE SPI component (same as the one available in xTIMEcomposer as xSOFTip) is actually quite simple and easy to use. Application examples included in the source repository are great for introduction. Look in and spi_master_demo.xc in the app_spi_master_demo directory in particular.

Who is online

Users browsing this forum: No registered users and 0 guests