Hi all
I´m trying to wire a PCM5102 as external DAC intead the regular dac0/1.
Inside AdvancedAnalog there is an example called I2SfullDUplex.ino
where
PG_10 = D44
PG_11 - does not exist
PG_9, - does not exist
PB_5 - CANRX D93
PC_4 - A0
Please , anyone ever connected the PCM5102 to a GIGA ?
Thank you
Gibran
#include <Arduino_AdvancedAnalog.h>
// WS, CK, SDI, SDO, MCK
AdvancedI2S i2s(PG_10, PG_11, PG_9, PB_5, PC_4);
void setup() {
Serial.begin(9600);
while (!Serial) {
}
// Resolution, sample rate, number of samples per channel, queue depth.
if (!i2s.begin(AN_I2S_MODE_INOUT, 32000, 512, 32)) {
Serial.println("Failed to start I2S");
while (1);
}
}