Help with ESP32-8048S043C
- Starraker
- Posts: 87
- Joined: Tue Sep 03, 2024 1:53 am
- Location: Canberra Australia
- Been thanked: 19 times
- Contact:
Re: Help with ESP32-8048S043C
love the coffee reference!!! our posts are taking some time to reach each other we are now out of sync (lol)
- cicciocb
- Site Admin
- Posts: 2947
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 609 times
- Been thanked: 2100 times
- Contact:
Re: Help with ESP32-8048S043C
Unfortunately the ES8388 codec requires the I2S bus AND the I2C bus to work and will not work on the ESP32-S3.[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sun Apr 06, 2025 6:13 am The Waveshare device can be fitted with an ES8388 on the I2C bus using the spare GPIO as the CS if reqd. This is powered by 3.3 V and is therefore is compatible with the standard out of the box setup for I2C and will give you all the sound you want.
ES8388.jpg
The optional I2S will not work (but who cares). There are two serial ports on the Waveshare device.
PS. Do not forget the mandatory 5K pull up resistors on the SDA and SCL lines
The ES8388 is partially supported only on the ESP32 but it requires an extra pin for the MCLK so it requires, at least, 4 + 2 GPIO.
A simple I2S DAC only requires 3 pins
I strongly suggest to use a classic DAC like the ones described in the Annex documentation.
For the Waveshare this is not possible (without cheating the H/W) as there are no spare pins available.
- Starraker
- Posts: 87
- Joined: Tue Sep 03, 2024 1:53 am
- Location: Canberra Australia
- Been thanked: 19 times
- Contact:
Re: Help with ESP32-8048S043C
Francesco,
Thank you for your reply.
From their documentation on this chip the manufacturer seemed to state that it can operate on I2C + Bluetooth for the audio but if it needs the I2s then it is totally unsuitable. I was going to power MCLK with a little low power external oscillator (possibly based on a 7555) as GPIO 0 is already used and is not available for use ( it is dedicated to the green in the VGA connections ).
Anyway I guess that project has to be abandoned. Oh well another one bites the dust !!
The problem with usual codecs is that they require so many gpio's that esp32-s3 devices are very hard to use with them because 16 gpio's are used for the VGA screen plus 10 more for memory and touch and another 4 for the SD card. I guess you could use a VGA monitor and only use half the pins to generate the VGA as per the Help document but then it is not portable. There are many problems but maybe the P4 will solve these at a cost with its 53 GPIO pins (perhaps only - given they are taking a long time to release it and are having quite a few problems of their own). Also the P4 needs a C6 with special code to run the WiFi and the BT.
Thank you for your reply.
From their documentation on this chip the manufacturer seemed to state that it can operate on I2C + Bluetooth for the audio but if it needs the I2s then it is totally unsuitable. I was going to power MCLK with a little low power external oscillator (possibly based on a 7555) as GPIO 0 is already used and is not available for use ( it is dedicated to the green in the VGA connections ).
Anyway I guess that project has to be abandoned. Oh well another one bites the dust !!
The problem with usual codecs is that they require so many gpio's that esp32-s3 devices are very hard to use with them because 16 gpio's are used for the VGA screen plus 10 more for memory and touch and another 4 for the SD card. I guess you could use a VGA monitor and only use half the pins to generate the VGA as per the Help document but then it is not portable. There are many problems but maybe the P4 will solve these at a cost with its 53 GPIO pins (perhaps only - given they are taking a long time to release it and are having quite a few problems of their own). Also the P4 needs a C6 with special code to run the WiFi and the BT.
Last edited by Starraker on Sat Apr 12, 2025 9:31 am, edited 1 time in total.
-
- Posts: 194
- Joined: Thu Mar 02, 2023 10:15 pm
- Location: germany
- Has thanked: 98 times
- Been thanked: 42 times
Re: Help with ESP32-8048S043C
hi,
the CYD in 7" ( 8048070) has audio(mono ??? ) and UART ... !
have a nice day
Ron
the CYD in 7" ( 8048070) has audio(mono ??? ) and UART ... !
have a nice day
Ron
Modules : 3xESP32-Cam MB (Chip"DM ESP32 S" ),AI-Thinker Audio Kit (ES8388), ESP32 Dev Kit with Display
- Starraker
- Posts: 87
- Joined: Tue Sep 03, 2024 1:53 am
- Location: Canberra Australia
- Been thanked: 19 times
- Contact:
Re: Help with ESP32-8048S043C
Ron,
Thanks for the feedback.
The ESP32-3248S035C has simple mono audio as standard but is only 3.5 inches (you can use it for recorded speech and for some radio stations if you allocate more than the usual memory and you retrofit it with 8Mb of PSRAM - described further up this page) but only one USB. I tried to fit an audio decoder (VS1053B) to this but failed due to lack of accessible GPIOs (it only had one free)
You have a good one too.
Thanks for the feedback.
The ESP32-3248S035C has simple mono audio as standard but is only 3.5 inches (you can use it for recorded speech and for some radio stations if you allocate more than the usual memory and you retrofit it with 8Mb of PSRAM - described further up this page) but only one USB. I tried to fit an audio decoder (VS1053B) to this but failed due to lack of accessible GPIOs (it only had one free)
You have a good one too.