<< >>

Demo ApplicationsΒΆ

This tutorial describes the demo applications included in the XMOS SPI package. SPI H/W Development Platforms describes the required hardware setups to run the demos. The source for both demos can be found in the top level directory of the sc_spi component.

A basic knowledge of XC programming is assumed. For information on XMOS programming, you can find reference material about XC programming at the XMOS website.

To write an SPI enabled application for an XMOS device requires several things:

  1. Write a Makefile for our application
  2. Provide an spi_conf.h configuration file
  3. Write the application code that uses the component

This process is described for both demos in the following sections.