Summary

Transmit 16 bit stereo audio to an I2S device using I2S slave mode.

Audio Connections

PortPurpose
In 0Left Channel
In 1Right Channel

Functions

This object has no functions to call from the Arduino sketch. It simply streams data from its 2 input ports to the I2S hardware.

Hardware

The I2S signals are used in "slave" mode, where the I2S device controls data timing.

PinSignalDirection
9BCLKInput
22TXOutput
23LRCLKInput

Examples

File > Examples > Audio > HardwareTesting > WM8731MikroSine

Notes

Slave mode I2S should not used in the same project as ADC, DAC and PWM signals. Differences in timing between the I2S device and Teensy's clock can cause occasional audio glitches when I2S slave mode is used together with other input or output objects based on Teensy's timing.

Only one I2S input and one I2S output object may be used. Master and slave modes may not be mixed (both must be of the same type).