marcel-licence / esp32_multitrack_looper

ESP32 Audio Kit based multitrack looper
GNU General Public License v3.0
92 stars 11 forks source link

Connect to AC101 codec.... Failed! #6

Closed GrumpyMeow closed 3 years ago

GrumpyMeow commented 3 years ago

Hi Marcel,

My ESP32-devkit-board has just arrived and wanted to see what your project does. After flashing my devkit-board i see:

Connect to AC101 codec... Failed!
Failed!
Failed!
...

I read a post somewhere about that recently the exact used chips were changed. Just leaving this information here for others... I've not looked into a solution/workaround.

greetings, Sander

marcel-licence commented 3 years ago

Hi, it seems this board does not have the AC101 equipped. The newer version uses the ES8388. You can try the I2C scanner first with the following settings:

define ES8388_PIN_SDA 18

define ES8388_PIN_SCL 23

You can find configurations on the internet, but I am also working on an update using the ES8388. Best regards

marcel-licence commented 3 years ago

Has been fixed in the past. ES8388 supported in other projects. I've added the ES8388 driver which will be active by setting ES8388_ENABLED

GrumpyMeow commented 3 years ago

Hi Marcel, thank you for your effort. Yesterday i tried it with the ES8388_ENABLED flag and things seemed to work. On my board a red led started blinking at a rate of +/- 2 Hz. In the Arduino log the output scrolled by at a fast rate. I'm not sure what to expect further. Anyway.. Thanks again for your effort and your reply. Hereby my confirmation that the flag does seem to work.

marcel-licence commented 3 years ago

Hi, sounds great. To avoid to much log output you can turn of the VT100 (if enabled). It can be also caused by active ADC without pots connected.