Processing Audio Through I2S Interface Using PMOD I2S2

Hello, I have been working on trying to integrate the PMOD I2S2 into my MKR Zero, using the I2S interface. I am hoping for some help troubleshooting why I cannot get any input data. The overall goal is to be able to read in an audio signal to my Arduino and trigger certain events based on the audio input. I am very new to working with Arduino and have gotten some basic projects done with some LED lights. I thought that the PMOD I2S2 module would be able to work with my Arduino since it has ports for the I2S protocol.

Here is how I wired the PMOD I2S2 into the Arduino MKR Zero:

 ADIN MCLK    -> Purple   -> D12 (I2S_MCK[0])
 ADIN LRCK     -> Grey      -> D3 (I2S_FS[0])
 ADIN SCLK     -> Black     -> D2 (I2S_SCK[0])
 ADIN SDOUT -> Brown  -> A6 (I2S_SD0)
 GND                -> Blue     -> GND
 VCC                 -> Red      -> VCC

Attached are photos of how I currently have the PMOD I2S2 wired into the Arduino. I have the PMOD Slave/Master jumper set to Slave.

After wiring up the PMOD to the Arduino, I pulled in the I2S library. From there, I implemented the most basic example presented to read data. With that basic example I am not getting any input data. I have the PMOD Line In connected by an AUX cable, connected to my laptop. I am not sure what I might be doing wrong or if it is even possible to interface the PMOD I2S2 with an Arduino. Maybe I have something misconfigured in my code or I have connected the wrong PMOD pins to the I2S inputs on the Arduino? Any help would be greatly appreciated.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.