Other Parts Discussed in Thread: PCM5102
PCM5122 is in I2C Control VCOM mode as TI proposed in SLAS763A Figure 19.
4-Wire I2S Source is a USB Codec providing 24bit LJ Audio Stream. SCK is 12,288MHz. PLL is disabled - auto clock configure is active.
Reset and Activate Code ist executed and DAC works fine including Volume control - all good.
But now we figured out that after Windows goes to and later wakes up from Powersaving mode, there is a loud hearable clicking from the DAC.
The only code executed before Power Saving is:
SUSPEND_SEQUENCE
write_stop(0x9A, [0x00, 0x00]) # Select Page 0
write_stop(0x9A, [0x02, 0x10]) # Standby Power Up
delay_ms(0x01) # delay 1ms
When waking up from USB Suspend the following code is executed (same routine is executed during initial startup and works fine)
ACTIVE_SEQUENCE
write_stop(0x9A, [0x00, 0x00]) # Select Page 0
write_stop(0x9A, [0x02, 0x00]) # P0R02 RQST = 0: Normal mode: Resume Standby
delay_ms(0x05) # delay 5ms
write_stop(0x9A, [0x13, 0x01]) # P0/R19 Sync Request 1 = Halt DAC
delay_ms(0x01) # delay 1ms
write_stop(0x9A, [0x13, 0x00]) # P0/R19 Sync Request 0 = Resume DAC
delay_ms(0x80) # delay 128ms
Any Help?