How to connect m66 pcm to esp32 i2s peripheral

Hi there,

I am trying to create a device with esp32 and m66 that can allow someone without internet access to join an online audio session via webrtc and gsm call. For the most parts of the project i know what i should do, but I am stuck on two specific parts.

First, I am not sure how to connect the pcm pins of the m66 to the i2s pins of the esp32.

i did find this thread M95 PCM with I²S - #3 by Shaymon_Alvarez that somebody explained this process for Quectel m95 but its not very clear to me what should i do after connecting those pins and if this solution is viable for m66.

Second, I am not sure how to configure the i2s driver of the esp32 to handle raw full duplex pcm.

If anyone can help me with either of these issues, I would be very grateful.

ok i did figured it out, the esp has a dsp mode for i2s