Using the Adafruit_ZeroI2S library with the Grand Central M4 Express.
Testing the example programs basic.ino and tone_generator.ino.
Pins 32 and 33 show data output and word clock, as documented on page https://learn.adafruit.com/adafruit-gra ... al/pinouts, verified on the oscilloscope.
Browsing the library source, definitions for I2SMCK0 and I2SSCK0 also match the documented mapping to pins 15 and 14.
However, I can't generate a signal on pins 14 and 15, or a master clock signal on any other pin, for that matter.
I added a few lines to basic .ino, to verify the definition of pin of the audio clock
Code: Select all
Serial.print(F("PIN_I2S_MCK ")); Serial.println(PIN_I2S_MCK);
Code: Select all
Serial.println(F("hello "));
i2s.enableMCLK();
Serial.println(F("hello again"));
Thank you.