PCM1863: DIN RX toggle interupt with s/pdif signal

Part Number: PCM1863

Tool/software:

Hi,

I am looking for a solution to wake up my system from sleep state with a digital audio signal.
With analog inputs of the pcm1863 it works without any problem using the energysense interupts.

Would it be possible to set GPIO1 to DIN and use the DIN RX toggle interupt to detect if there is anything playing on the spdif input of my board ?
Or is it just possible to detect a pin toggle and not actually if there is any music playing, since spdif is not only zeros if nothing is playing?

Thanks in advance!
Sebastian

  • Hi Sebastian,

    1. Yes, this configuration is possible. The DIN RX toggle interrupt will trigger on any transitions on the DIN line, indicating signal activity. 

    2. The DIN RX toggle interrupt can only detect pin transitions(toggles) and cannot specifically determine if there is music playing. The SPDIF signal might still have transitions even when no audio is being transmitted (due to clock signals or non-audio data). Thus, the DIN RX toggle interrupt will indicate any activity on the SPDIF line but cannot differentiate between audio and other types of signals.  Thanks.

    Regards,

    Sam

  • Thank you, that solved my question !