PCM1808 SCLK
Posted: Sun Jan 15, 2023 1:18 am
I'm currently using an ESP32-S3 to connect to a PCM1808 Audio ADC (https://www.ti.com/lit/gpn/pcm1808). The standard i2s example seems sufficient with one exception, the SCLK. The PCM1808 part requires a clock input which is it's sample clock:
In the i2s standard example (https://github.com/espressif/esp-idf/bl ... ple_main.c) there's the MCLK, BCLK, WS, and DOUT, but there is no SCLK:
So my question is, is there a way to create a "generic" clock output on a GPIO pin that's synchronous with other pins? Is there another more novel solution to this? The PCM1808 requires this clock to function, and surely there has to be a way to generate this clock, I'm just not familiar enough to know how.
In the i2s standard example (https://github.com/espressif/esp-idf/bl ... ple_main.c) there's the MCLK, BCLK, WS, and DOUT, but there is no SCLK:
So my question is, is there a way to create a "generic" clock output on a GPIO pin that's synchronous with other pins? Is there another more novel solution to this? The PCM1808 requires this clock to function, and surely there has to be a way to generate this clock, I'm just not familiar enough to know how.