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