Transmit 16 bit stereo audio to an I2S device using I2S slave mode.
Port | Purpose |
---|---|
In 0 | Left Channel |
In 1 | Right Channel |
This object has no functions to call from the Arduino sketch. It simply streams data from its 2 input ports to the I2S hardware.
The I2S signals are used in "slave" mode, where the I2S device controls data timing.
Pin | Signal | Direction |
---|---|---|
9 | BCLK | Input |
22 | TX | Output |
23 | LRCLK | Input |
File > Examples > Audio > HardwareTesting > WM8731MikroSine
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).