-
Notifications
You must be signed in to change notification settings - Fork 289
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
ESP32-S2 Compilation Error #290
Comments
The library is developed for the ESP32. The ESP32S2 is too weak. Since V2.0.1 there are problems with the internal DAC, espressif/esp-idf#7684. Please use an external DAC with 16 bit, the audio quality is much better |
Thank you very much for this quick and helpful reply which explains everything. Somehow I had in mind that a Wrover module would be good for this library because of the extra PSRAM to buffer a stream. |
The S2 only has one core and that's not enough for uninterrupted audio playback. The internal DAC is sufficient for low sound quality. With the Arduino version 1.0.6 there will be no problems. best regards |
Thanks for this insight. I was not and still am not aware of the differences in the boards available on the market. |
Reviewing the ESP32 cam boards I had to notice that the pins for an external DAC are not available at the connector but are used for the camera. When selecting an ESP32 for an internet radio project it is important to me that
Would you know about some readily available modules that are suitable for such a project? Thank you very much for your advice. |
Hello,
I'm trying to get a simple audio project to work using the Arduino IDE.
Hardware:
ESP32-S2-Saola-1 Wrover
Arduino-IDE 1.8.15
Installed Boards: esp32 version 2.0.2
Board-Setting: ESP32S2 Dev Module
Libraries: https://github.com/schreibfaul1/ESP32-audioI2S
The basic toolchain works: Compilation and upload of code for a simple blinking LED works fine.
Using the library ESP32-audioI2S causes compilation errors like this one:
For some reason the data type i2s_dac_mode_t is unknown. Somehow I feel like in "Audio.h" the
#include <driver/i2s.h>
might be responsible for the problem. However I cannot find this include file in my setup to review it.
When changing the board to "ESP32Dev Module" (no S2) the code compiles. But upload is not possible because the selected board does not match the hardware.
It would be great if anyone could help me getting the code below compile in the Arduino IDE.
Thank you very much!
Cheers
Markus
The text was updated successfully, but these errors were encountered: