Skip to content
Discussion options

You must be logged in to vote

The PWM can be used for MCK generation. When I used it, the MCK clocked the internal logic of the codec and had not to be in sync with the audio clocks. The ESP32 PWM can create stable frequencies, if the ratio between the ESP32 internal 160Mhz and the PWM signal is an integer. 8MHz is fine, 12Mhz will be a mix of two frequencies.

8MHz PWM:

12 MHZ PWM

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@saraverbeecke
Comment options

Answer selected by saraverbeecke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants