-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for I2S MCLK. #594
Conversation
@@ -104,6 +104,20 @@ bool AudioOutputI2S::SetPinout(int bclk, int wclk, int dout) | |||
|
|||
return true; | |||
} | |||
|
|||
bool AudioOutputI2S::SetPinout(int bclk, int wclk, int dout, int mclk) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add (void) mclk
in the non-ESP32 path? OTW we get fatal warning/errors.
@@ -147,6 +161,16 @@ bool AudioOutputI2S::SetLsbJustified(bool lsbJustified) | |||
return true; | |||
} | |||
|
|||
bool AudioOutputI2S::SetMclk(bool enabled){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as other comment, for enabled
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Something got weird on the commit/pushes and your |
I think now it is right. |
OK, we're almost there. The change in the 8266 needs to applied to the RP2040 branch and we should all be OK. The joys of supporting 3 different (actually w/the ESP32-XXs maybe 6?) boards. |
@DatanoiseTV can you pull in the latest |
This comment was marked as outdated.
This comment was marked as outdated.
I tested CS4344 I2S DAC with ESP32-D0WD-V3 (revision v3.0) . https://github.com/FREEWING-JP/ESP32_BadApple_MP3 |
This commit implements support for generating basic 256*fs MCLK using the APLL.