Hi,
I'm using PCM1808 ADC board (as mentioned in this topic: https://forum.pjrc.com/threads/53069-Teensy-with-PCM5102a-Module-via-I2S) with Teensy 3.6.
I'm trying to use two of them at a time.
At first, I connect just one and open PeakMeterStereo from Examples->Audio->Analysis.
Running PeakMeterStereo as it is gives me success, everything is measured nicely when I open serial monitor and the LED on Teensy shines brightly (I guess, because PIN 13 which is used for I2S input is connected to LED). However, if I just rename AudioInputI2S to AudioInputI2SQuad in the code (without any modifications in the connections), the example stops working. The meter is still being displayed in the serial monitor, but the level is always zero and the LED does not shine. If I rename it back to AudioInputI2S, it starts working again. Connecting second board to PIN 38 doesn't change the result — works ok with AudioInputI2S but gives zeros (and no LED) with AudioInputI2SQuad.
It feels like either I am missing something or perhaps the PINs in quad channel class are misconfigured or maybe something else.
Could you please help me to figure out?
Thanks!
I'm using PCM1808 ADC board (as mentioned in this topic: https://forum.pjrc.com/threads/53069-Teensy-with-PCM5102a-Module-via-I2S) with Teensy 3.6.
I'm trying to use two of them at a time.
At first, I connect just one and open PeakMeterStereo from Examples->Audio->Analysis.
Running PeakMeterStereo as it is gives me success, everything is measured nicely when I open serial monitor and the LED on Teensy shines brightly (I guess, because PIN 13 which is used for I2S input is connected to LED). However, if I just rename AudioInputI2S to AudioInputI2SQuad in the code (without any modifications in the connections), the example stops working. The meter is still being displayed in the serial monitor, but the level is always zero and the LED does not shine. If I rename it back to AudioInputI2S, it starts working again. Connecting second board to PIN 38 doesn't change the result — works ok with AudioInputI2S but gives zeros (and no LED) with AudioInputI2SQuad.
It feels like either I am missing something or perhaps the PINs in quad channel class are misconfigured or maybe something else.
Could you please help me to figure out?
Thanks!