ZHCSCB3D March 2014 – March 2018 PCM1860 , PCM1861 , PCM1862 , PCM1863 , PCM1864 , PCM1865
PRODUCTION DATA.
In sleep mode, any channels set as controlsense inputs are scanned through automatically. The read and writes to SIGDET_DC_REF_CHx_x and SIGDET_DC_LEVEL_CHx_x should be selected based on whichever input caused the interrupt.
Read interrupt status INT_STAT register(0x61)
Clear controlsense interrupt enable INT_EN (0x60)
Check which input caused the interrupt SIGDET_STAT (0x32)
Read new data (for example, SIGDET_DC_LEVEL_CHx_x).
Host would normally process as needed (for example, change volume in the amplifier)
Set SIGDET_DC_REF_CHx_x to be the new value.
Now that interrupt source is removed, we can clear the SIGDET_STAT register (0x32) --
Write 0xFF to SIGDET_STAT register (0x32).
Write 0x00 to SIGDET_STAT register (0x32).
Re-enable controlsense interrupt in INT_EN (0x60)