S/PDIF library

S/PDIF library

A software defined S/PDIF library that allows you to trasnmit or receive S/PDIF data via xCORE ports. S/PDIF is a digital data streaming interface. The components in the libary are controlled via C using the XMOS multicore extensions (xC) and provides both a S/PDIF receiver and transmitter.

Features

  • Supports stereo S/PDIF up to sample rates up to 9600Khz
  • Supports receiving and transmitting

Typical Resource Usage

This following table shows typical resource usage in some different configurations. Exact resource usage will depend on the particular use of the library by the application.

Configuration

Pins

Ports

Clocks

Ram

Logical cores

Transmit

1

1 (1-bit)

1

~3.8K

1

Receive

1

1 (1-bit)

1

~3.9K

1

Software version and dependencies

This document pertains to version 2.0.1 of this library. It is known to work on version 14.1.1 of the xTIMEcomposer tools suite, it may work on other versions.

The library does not have any dependencies (i.e. it does not rely on any other libraries).

The following application notes use this library:

  • AN00178 - How to use the S/PDIF library