As the subject mentions, I'm using a TAS5766M and the PLL won't stay locked. I'm currently using one of the GPIO pins to monitor the state of my PLL and another GPIO pin to monitor the state of the "clock invalid" value. My PLL locks, but briefly unlocks about every 1.5 seconds. After a short blip, my PLL locks again. About 1.5 seconds later it unlocks again. No audio is output from the device. However, each time the PLL blips my speaker pops. Some pops are very quiet. Others are quite a bit louder.
I'm supplying a TAS5766M with I2S using a 3-wire configuration.
I've configured SRCREF (Page0,Reg13,D[6:4]) to use BCK as the reference clock for the PLL.
The BCK signal is running at ~2.8 MHz.
My sample rate and LRCLK are running at 44.1 kHz.
My I2S source is configured to send 32-bit words.
I've configured my TAS5766M according to Table 8 of the device data sheet (page 25).
More specifically, I've configured the device using the values for 44.1 kHz with an RSCLK of 64.
Reading some registers, I can see the following errors in registers 91, 94, and 95:
Reg 91: error on SCK ratio
Reg 94: SCK is halted
Reg 95: SCK halt has occurred.
I assume that I can ignore these errors since SCK is not present.
Any tips on what might be causing my PLL issues or suggestions on how to debug further would be greatly appreciated.
Thanks,
James