I'm trying to get to grips with SPI and how to use it on an XMOS Device.
I have downloaded the XMos SPI_lib and since this is the first time I'm using code from other people (and therefore functions I have no clue about) I also downloaded the Example AN00160 to play around a little.
Setting all things up and including the lib_spi module worked just fine.
I also can simulate/trace messages in Synchornous mode.
However, when I try to run the example in asynchrounus mode (i.e commenting the sync main function and decommenting the async main function) I'm getting this:
Code: Select all
../src/main.xc: Error: Undefined reference to '_Sspi_master_async_0'
xmake[1]: *** [bin//AN00160_using_SPI_master.xe] Error 1
xmake: *** [bin//AN00160_using_SPI_master.xe] Error 2
So if anyone of you guys has any Idea how I could get this to work the he could make an XMOS Newb quite happy.
thanks in advance.
IDE: XTIME Composer Studio 14.1.2
BOARD: (although of no sgnificance since its not beeing used for spi yet) Synapticon c22
OS: Windows 8.1