ArduinoCore-samd icon indicating copy to clipboard operation
ArduinoCore-samd copied to clipboard

new method enableMasterClock(fsMultiplier)

Open KillzoneKid opened this issue 4 years ago • 2 comments

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)) { ...

KillzoneKid avatar Jul 28 '21 12:07 KillzoneKid

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 28 '21 12:07 CLAassistant

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.

KillzoneKid avatar Jul 28 '21 12:07 KillzoneKid