Skip to content

Using a DAC that requires a MCLK as an additional input #482

Answered by pschatzmann
mrhempman69 asked this question in Q&A
Discussion options

You must be logged in to vote

But this has nothing to do with my library!

Wouldn't you read the ESP32 documentation first? https://docs.espressif.com/projects/esp-idf/en/v4.2.2/esp32/api-reference/peripherals/i2s.html

That's complete nonsense: you can't use pin 23 for this and setting fixed_mclk to true does not make any sense either!

You need to provide the frequency to fixed_mclk and if I remember right only GPIO00, GPIO01 and GPIO02 can be used as master clock pins. But you better double check with the documentation.

ps. If you activated the logging you should have seen the error message that 23 is not supported!

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@mrhempman69
Comment options

@pschatzmann
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants