You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.5KB

  1. <h3>Summary</h3>
  2. <p>Receive 16 bit stereo audio from an I2S device using I2S slave mode.</p>
  3. <h3>Audio Connections</h3>
  4. <table class=doc align=center cellpadding=3>
  5. <tr class=top><th>Port</th><th>Purpose</th></tr>
  6. <tr class=odd><td align=center>Out 0</td><td>Left Channel</td></tr>
  7. <tr class=odd><td align=center>Out 1</td><td>Right Channel</td></tr>
  8. </table>
  9. <h3>Functions</h3>
  10. <p>This object has no functions to call from the Arduino sketch. It
  11. simply streams data from the I2S hardware to its 2 output ports.</p>
  12. <h3>Hardware</h3>
  13. <p>The I2S signals are used in "slave" mode, where the I2S device controls
  14. data timing.</p>
  15. <table class=doc align=center cellpadding=3>
  16. <tr class=top><th>Pin</th><th>Signal</th><th>Direction</th></tr>
  17. <tr class=odd><td align=center>9</td><td>BCLK</td><td>Input</td></tr>
  18. <tr class=odd><td align=center>13</td><td>RX</td><td>Input</td></tr>
  19. <tr class=odd><td align=center>23</td><td>LRCLK</td><td>Input</td></tr>
  20. </table>
  21. <!--<h3>Examples</h3>
  22. <p class=exam>File &gt; Examples &gt; Audio &gt;
  23. </p>-->
  24. <h3>Notes</h3>
  25. <p>Slave mode I2S <b>should not used in the same project as ADC, DAC and
  26. PWM</b> signals. Differences in timing between the I2S device and
  27. Teensy's clock can cause occasional audio glitches when I2S slave mode
  28. is used together with other input or output objects based on Teensy's
  29. timing.</p>
  30. <p>Only one I2S input and one I2S output object may be used. Master
  31. and slave modes may not be mixed (both must be of the same type).
  32. </p>