I have read in the "Internet radio ESP32 and PCM5102" topic:
"Up to the I2S bus, which only exists in the ESP32 and not in the ESP8266, Annex accesses through fixed pins that cannot be changed: GPIO2, GPIO5 and GPIO26."
That is means I can't use external I2S DAC (like MAX98357A) with ESP32-C3, which hasn't GPIO26 ?
Is there any workaround ?
BR,
TyuTyu
ESP32-C3 and I2S
- cicciocb
- Site Admin
- Posts: 2095
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 450 times
- Been thanked: 1385 times
- Contact:
Re: ESP32-C3 and I2S
The pins for the I2s can be freely defined in the config page, in the advanced parameters.
However, the esp32 -c3 is a single core module and the streaming + MP3 decoder will use all the CPU time. so I suggest to use a dual core like the classic esp32 or the esp32 -S3
However, the esp32 -c3 is a single core module and the streaming + MP3 decoder will use all the CPU time. so I suggest to use a dual core like the classic esp32 or the esp32 -S3
Re: ESP32-C3 and I2S
Thanks.
CPU should be enought, until now ESP8266 do the job (warning message from fireplace) I used Mr.DIY audio notifier. (https://github.com/schmurtzm/MrDiy-Audio-Notifier)
CPU should be enought, until now ESP8266 do the job (warning message from fireplace) I used Mr.DIY audio notifier. (https://github.com/schmurtzm/MrDiy-Audio-Notifier)
Re: ESP32-C3 and I2S
I got: "Syntax error line 2". It's stange, because with ESP32-S3 without any problem.
Program:
wlog "*** Start ***" + time$
PLAY.SETUP 1,64
PLAY.SPEAK "Dormi"
wlog "*** End ***"
version: Annex32-C3 CAN USB 1.51.2 qio LFS
Is there any hint/idea ?
Program:
wlog "*** Start ***" + time$
PLAY.SETUP 1,64
PLAY.SPEAK "Dormi"
wlog "*** End ***"
version: Annex32-C3 CAN USB 1.51.2 qio LFS
Is there any hint/idea ?
- cicciocb
- Site Admin
- Posts: 2095
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 450 times
- Been thanked: 1385 times
- Contact:
Re: ESP32-C3 and I2S
I removed the PLAY functionality in the latest -S2 and -C3 versions.
You should try with an older version
You should try with an older version