Skip to content
An I2S audio codec driver library for the Arduino Due board.
C C++
Branch: master
Clone or download
delsauce Merge pull request #11 from codacy-badger/codacy-badge
Add a Codacy badge to README.md
Latest commit 3b217d1 Oct 17, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Initial commit. Apr 18, 2013
HiFi.cpp Reverted to using some of the ssc library functions from Atmel's Jun 25, 2013
HiFi.h Initial commit. Apr 18, 2013
README.md Add Codacy badge Oct 16, 2018
keywords.txt Use correct field separator in keywords.txt Jul 17, 2018
ssc.c Initial commit. Apr 18, 2013
ssc.h

README.md

ArduinoDueHiFi

Codacy Badge

An I2S audio codec driver library for the Arduino Due board.

This library will configure the SSC on the ARM to transmit and/or receive in I2S mode. This will allow the Arduino to interface with a large number of audio codecs and enable higher quality audio I/O than what is available with the standard on-chip ADC and DAC. The library can be used to enable CD quality audio signal processing, waveform synthesis, audio file (e.g. wav) recording and playback, etc.

The driver currently supports slave mode only as the ARM doesn't appear to be able to generate the appropriate MCLK signal to drive external converters. It may be desirable to record and playback files and transfer them to another device (e.g. PC) for further use so the clocks can be supplied by the converter to get to a standard sampling frequency (e.g. 32kHz, 44.1kHz, 48kHz, etc.).

Although the SSC peripheral suppors many modes (Left-justified, I2S, TDM) only I2S is supported out-of-the box to keep the driver simple and easier to understand. Most audio converters support this protocol.

A couple of simple examples are provided that demonstrate usage of the library.

You can’t perform that action at this time.