Hello! I have configured my TAS2557 with 16kHz, 16bit tuning mode and I use TAS2557 to generate WCLK and BCLK from MCLK which is generated by me (12MHz). I have a problem regarding power up after powering down the device. Sometimes there is no sound coming out of my speaker, but when I look at the I2S communication, everything looks fine. Sometimes rebooting the system will make everything work again. All the configurations i use are generated from PPC3, apart from making the device generate BCLK and WLCK, DAC_GAIN is lowered to 11dB and BST_ILIM is set at 1.5A.
Power down sequence:
{0x7f, 0x00}, //switch to book0
{0x07, 0x03}, //Mute Analog Blocks
{0x04, 0x20}, //Power down DSP and clock dividers (except Ndivider)
{0x05, 0x00}, //Power down Analog Blocks
{0x00, 0x00}, //NOP
{0x04, 0x00} //Power down Ndivider
Power up sequence:
{0x00, 0x00}, //Page-0
{0x7f, 0x00}, //Book-0
{0x05, 0xA0}, // Power up Analog Blocks
{0x04, 0xF2}, // Power up DSP and clock dividers and PLL
{0x07, 0x00}, // Unmute Analog Blocks
{0x7f, 0x64}, // switch to book100
{0x07, 0x00}, // Soft stepped unmute of audio playback
// PLL begins
{0x00, 0x00},
{0x7f, 0x00},
{0x00, 0x01},
{0x73, 0x0f},
{0x74, 0x0d},
{0x00, 0x00},
{0x7f, 0x64},
{0x1b ,0x01},
{0x1c, 0x06},
{0x1d, 0x05},
{0x1e, 0xa0},
{0x20, 0x03},
{0x22, 0x08},
{0x02, 0x10},
{0x21, 0x08},
{0x01, 0x08},
{0x2b, 0x00},
{0x2c, 0x40},
{0x1f, 0x20},
{0x2a, 0x00},
{0x00, 0x00},
{0x7f, 0x00},
{0x00, 0x01},
{0x01, 0x00}, //I2S // 16-bit
{0x0d, 0x01}, //BDIV input = DAC_MOD_CLK
{0x0e, 0x86}, //BDIV enabled and set to 6
{0x0f, 0xA0}, //WDIV enabled and set to 32
{0x10, 0x00}, //ASI1 BCLK & WCLK from BDIV & WDIV
{0x3d, 0x0d}, //GPIO1 (BCLK) output from ASI1_BCLK_OUT
{0x3e, 0x0c} //GPIO2 (WCLK) output from ASI1_WCLK_OUT
Is there something that I have missed or done wrong?
Thank you in advance,
Viktor