i2s compatibility

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
User avatar
Mike Teachman
Posts: 80
Joined: Mon Jun 13, 2016 3:19 pm
Location: Victoria, BC, Canada

Re: i2s compatibility

Post by Mike Teachman » Fri Jan 31, 2020 4:28 pm


Are you using the MicroPython interface for ESP-ADF?
https://github.com/espressif/esp-adf/tr ... python_adf

This MicroPython work by Espressif is new to me. The commit history in github for this work starts in October 2019. Quite recent activity.

Option 2:
you can use the I2S pull request to send/receive audio samples to/from the ES8388 codec chip on the LyraT boards. But, you will first need a MicroPython driver to control the ES8388 codec using an I2C interface. I took a look at the ES8388 datasheet -- it has over 50 programming registers. That suggests it will be a challenging driver to write (although Espressif has already done this work in C code).

Wow - I'm quite impressed with the work done by Espressif on the ESP-ADF. It is open source MIT licence. Lots to learn from this work, with potential integration into MicroPython I2S. For example, they already support MP3 decoding.

Posts: 2
Joined: Thu Jan 30, 2020 1:13 am

Re: i2s compatibility

Post by janchri » Sat Feb 01, 2020 11:01 am

Yes the effort espressif is putting into the development is quite nice. However, I am and never will be quite a good c/c++ programmer. When I found your lib, I was hoping to swap towards uPy. This would be actual fantastic as then my whole workflow would be Python :-) The uPy work done by Espressif, is not really working for me. Maybe I need to wait for some more commits and updates. Thank you anyway for your time and effort!

Post Reply