Skip to content
XMOS SPI Master/Slave Software Component
XC C C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app_spi_loopback_demo
app_spi_master_demo
module_spi_master
module_spi_slave
CHANGELOG.rst
LICENSE.txt
Makefile
README.rst
xpd.xml

README.rst

XCORE.com SPI SOFTWARE COMPONENT

Latest release:1.4.0rc1
Maintainer:djpwilk
Description:SPI protocol components

Key Features

  • Master and slave components
  • Implements SPI modes 0, 1, 2, 3
  • Configurable clock

Firmware Overview

SPI master and slave components. Simple API with functions to initialize, read and write values of 1, 2 or 4 bytes, or arbitrary length arrays, and shutdown. This component API is function-based and does not require a dedicated thread. Includes data transfer test code.

Documentation

Full documentation can be found at: http://xcore.github.com/sc_spi/

Known Issues

  • module_spi_slave: Slave select line usage documentation still to be added. Slave active when SS line low, as is standard for SPI. However SS port is inverted, so apps must watch for SS port going high.
  • module_spi_slave: MISO port continues to drive final bit after output is complete, rather than being left in a high-impedance state.

These issues will be addressed in the next release.

Support

Issues may be submitted via the Issues tab in this github repo. Response to any issues submitted as at the discretion of the maintainer for this line.

Required software (dependencies)

You can’t perform that action at this time.