-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
ESP32 support for I2S #4170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
(I've got some hardware in the junkbox but have had no time to make any progress on this. If you've got the time and inclination, go for it!) |
I am very keen to see this happen and will help in any way I can - implementation is above my current skill level but I would very much like to collaborate and learn. I have a couple of I2S audio codecs - PCM1808 for stereo in, PCM5102 for stereo out and also have some Teensy Audio Adaptors with the SGTL5000 (Line In/Out and headphones out). The PCM1808 and PCM5102 are cheap (available on Mouser) and can be hand soldered if you are comfortable with easier surface mount soldering, modules are also available on eBay and other places. The audio quality is very good! |
As part of an air and noise pollution sensor project (https://hackaday.io/project/162059-street-sense) I needed to support an I2S microphone using the ESP32 port. Using the ESP-IDF I implemented support for both I2S Master Rx and Tx . I spent a good deal of effort to bring the C code from a "just works hobbyist" quality to "industrialized" quality. I put in a PR to mainline uPy: Detailed class usage documentation and working uPy examples for popular microphone and audio DAC breakout boards (including the PCM5102) is here: Feedback and comments welcome at the PR or at the documentation repo Mike |
I2S is supported since 8a5bfe4 |
This previously existed as micropython/micropython-esp32#185 but I'm replicating it here. The ESP32 has I2S hardware so it'd be nice to support it!
References:
The text was updated successfully, but these errors were encountered: