// Page 0 Amp2555_i2cRegWrite(0x00, 0x00); // Book 0 Amp2555_i2cRegWrite(0x7f, 0x00); // Software reset Amp2555_i2cRegWrite(0x01, 0x01); // use delay >= 100us BlockingDelayMs(0x01); // Mute / Powerdown / Reset ends // PLL begins Amp2555_i2cRegWrite(0x00, 0x00); Amp2555_i2cRegWrite(0x7f, 0x00); Amp2555_i2cRegWrite(0x00, 0x01); Amp2555_i2cRegWrite(0x73, 0x0f); Amp2555_i2cRegWrite(0x74, 0x0d); Amp2555_i2cRegWrite(0x00, 0x00); Amp2555_i2cRegWrite(0x7f, 0x64); Amp2555_i2cRegWrite(0x1b, 0x01); Amp2555_i2cRegWrite(0x1c, 0x07); Amp2555_i2cRegWrite(0x1d, 0x00); Amp2555_i2cRegWrite(0x1e, 0x00); Amp2555_i2cRegWrite(0x20, 0x07); Amp2555_i2cRegWrite(0x22, 0x08); Amp2555_i2cRegWrite(0x02, 0x10); Amp2555_i2cRegWrite(0x21, 0x04); Amp2555_i2cRegWrite(0x01, 0x08); Amp2555_i2cRegWrite(0x2b, 0x00); Amp2555_i2cRegWrite(0x2c, 0x20); Amp2555_i2cRegWrite(0x1f, 0x20); Amp2555_i2cRegWrite(0x2a, 0x40); // PLL ends Amp2555_i2cRegWrite(0x00, 0x00); Amp2555_i2cRegWrite(0x7f, 0x00); // DSP ROM Mode 1 Amp2555_i2cRegWrite(0x22, 0x01); Amp2555_i2cRegWrite(0x00, 0x00); Amp2555_i2cRegWrite(0x7f, 0x00); Amp2555_i2cRegWrite(0x00, 0x01); // GPIO3 = Input mode Amp2555_i2cRegWrite(0x3f, 0x01); // ASI1_DIN = GPIO3 Amp2555_i2cRegWrite(0x0c, 0x10); // Power up 1 // Page 0 Amp2555_i2cRegWrite(0x00, 0x00); // Book 0 Amp2555_i2cRegWrite(0x7f, 0x00); // DSP,PLL, Ndiv , MDAC, MADC power up Amp2555_i2cRegWrite(0x04, 0xf8); // Power up 3 // Page 0 Amp2555_i2cRegWrite(0x00, 0x00); // Book 0 Amp2555_i2cRegWrite(0x7f, 0x00); // LASSD ,Boost power up Amp2555_i2cRegWrite(0x05, 0xa0); // LASSD ,Boost Vsense and Isense power up Amp2555_i2cRegWrite(0x05, 0xa3); // Unmute Begins // Delay BlockingDelayMs(0x01); // Page 0 Amp2555_i2cRegWrite(0x00, 0x00); // Book 0 Amp2555_i2cRegWrite(0x7f, 0x00); // CLASSD, Isense unmuted Amp2555_i2cRegWrite(0x07, 0x00); // Book 100 Amp2555_i2cRegWrite(0x7f, 0x64); // classD soft unmute Amp2555_i2cRegWrite(0x07, 0x00); // Unmute Ends Amp2555_i2cRegWrite(0x00, 0x00); Amp2555_i2cRegWrite(0x7f, 0x00);