Problems adding ESP32 Korvo V1.1 to the boards #52
-
Hi, I am trying to make the audio tools work on a ESP32 Korvo 1.1 - yes, that old board. This is what I have done so far:
Here i got several problems:
I am getting an error:
However, 25 is the right pin according to the schematics. Also, I got no playback. What am I doing wrong here? The second issue is a general not-understanding. The AudioBoard definition allows to select one driver. My board has two chips: ES8311 and ES7210. How can I add both drivers to the AudioBoard? Thank you so much. Cheers from Thailand |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 11 replies
-
Have a look at the LyratMini: it uses analog values for it's buttons and has also 2 chips. Please note that the naming for in/out is from the ESP32 point of view... |
Beta Was this translation helpful? Give feedback.
-
Thank you. I modified everything as below, according to the LyratMini. I still get the error with GPIO25 and no sound output.
DriverPins
In Driver.h
and
and added the AudioBoard accordingly
|
Beta Was this translation helpful? Give feedback.
-
Double check the pins: On the ESP32, GPIO pin 25 is reserved for use by the SPI flash or PSRAM and should not be reconfigured for other application purposes. |
Beta Was this translation helpful? Give feedback.
-
I switched to the sinwave example and have no sound output, neither on speaker nor on headphone. Any advice where I could look for the problem? AudioInfo? Would I get an error if any pins were still wrong? Thank you. This is my code:
The output looks good
|
Beta Was this translation helpful? Give feedback.
-
Sorry to bother again, but where could I look for the problem? |
Beta Was this translation helpful? Give feedback.
-
Same answer that I already gave: set the log level to debug in the audio driver and double check that the codec is set up correctly. |
Beta Was this translation helpful? Give feedback.
-
I finally found the problem and solved it. I found it ackward, that the MCLK was used, and finally changed these lines:
and now it is working. !! Thank you for your help |
Beta Was this translation helpful? Give feedback.
Have a look at the LyratMini: it uses analog values for it's buttons and has also 2 chips.
If there is only a i2s data out (but no data in) pin, use addI2S(PinFunction::CODEC, 0, 25, 22, 13, -1);
Please note that the naming for in/out is from the ESP32 point of view...