Skip to content

Conversation

KillzoneKid
Copy link

@KillzoneKid KillzoneKid commented Jul 28, 2021

Outputs MCK on I2S_MCK[0] pin to drive slave peripherals such as PCM1808 ADC for example. Default fs multiplier is 256 which produces 12MHz clock with 48KHz sampling rate, and divides clocks for other channels acordingly. There is also optional fs multiplier argument. The method should be called before 'begin', for example

I2S.enableMasterClock(); if (!AudioInI2S.begin(48000, 32)) { ...

Simplified MCK out with optional MCK frequency param, default 256fs
@CLAassistant
Copy link

CLAassistant commented Jul 28, 2021

CLA assistant check
All committers have signed the CLA.

@KillzoneKid
Copy link
Author

Seems like AceTime didnt compile,, which is not related to changes in any way. Found this post too https://www.gitmemory.com/issue/arduino/ArduinoCore-samd/606/808888337 seems like it doesnt work well for samd core.

Unintentional change of comment, fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants