Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: I2S bypass

  1. #1
    Junior Member
    Join Date
    Jan 2023
    Posts
    18

    I2S bypass

    Or : how to connect directly Line ins to Line outs in a Audio Shield,
    to test the I2S engine
    Thanks !

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    27,998
    If you want to test only the I2S part of the audio shield, create a do-nothing program with an instance of I2S input, so cause Teensy to transmit the 3 clock signals, and use I2C to enable the SGTL5000 chip. Then just short pins 7 and 8 (assuming using Rev D / D2 audio shield for Teensy 4.x) so the data it's ADC transmitting gets connected to its input for its DAC.

    If you want to test I2S in both the audio shield and Teensy, create both I2S input and output and 2 connections to pass the input data to the output. In Arduino, click File > Examples > Audio > HardwareTesting > PassThroughStereo for ready to use code.

    That example program should work fine for the 1st case if you just delete the AudioOutputI2S and 2 AudioConnection instances.

  3. #3
    Junior Member
    Join Date
    Jan 2023
    Posts
    18
    Thanks Paul, I verified hardware, now I wonder if there's some convolution sdr
    expert around, project seems abandoned ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •