I'm using my own esp32c3 designed board to work in a audio project with the ES8311 CODEC. My board is based on Lyrat_mini_v1.2 but it uses ESP32C instead.
I've used GPIO 7 conected to the I2S MCLK pin, but in the code there's the folowing message in the i2s.h folder:
It says that ESP32 supports setting MCK on GPIO0/GPIO1/GPIO3 only. Is this valid for ESP32C too? Am I gonna have to change the pin on my board?
Schematics of this part on my board:
Changing the I2S MCLK GPIO from default in an ESP32C3
-
- Posts: 2
- Joined: Mon Jun 20, 2022 4:38 pm
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: Changing the I2S MCLK GPIO from default in an ESP32C3
According to the TRM, ESP32C3 routes the MCLK signal via the GPIO matrix; that means you can select any GPIO for it. (Also, I cleaned up your topic title; seems you accidentally had caps lock on while writing it.)
Who is online
Users browsing this forum: Bing [Bot], MicroController and 70 guests