Other Parts Discussed in Thread: PCM5121
We have a streaming product using PCM5122 dacs, historically our software opened a device for playback (using alsa code in c) and kept the device open at all times. In this scenario, we hear a small pop once the dac is given it's bclk and fsclk clocks and it wakes up, but as the device was kept alive with active clocks, no more pops were heard.
A customer wants to use the same hardware running a different software, the new software opens a device for playback each time the user starts a stream. The result is that the bclk and fsclk clocks disappears around 5 seconds after the stream end as the alsa device is no longer in use, the dac seems to go into stanby mode. The next time s stream is started, the clocks start and the dac pops as it comes out of standby mode.
We have been playing with registry 37 and trying a few permutations of error ignoring to try and overcome this behavior, but with no success. Reading on the forums, we are not alone with this issue and many others have worked around it by adding mute circuits, we cannot do this as it is an active product. Some have had success with setting the IDCM bit in reg 37, this doesn't work for us.
Has anyone tried running the dac in master mode and providing it with only the mclk, I assume that the dac would never go into standby mode in this scenario as it provides the bclk and fsclk, maybe someone from TI could confirm?
We must solve this in software, has anyone managed to successfully work around this without a hardware mod? We will whilst waiting for a response start customizing parts of the driver chain to see if we can keep the clocks active, but it seems like a long way around.