I need an equivalent to the "Signal Detect" Block as seen in the ADAU1761 algorithms but for the ADAU1787 device. Can this be implemented? Thank you.
It looks like this block we just have not ported over to this newer processor. We have to prioritize.
So you can always do this the more discrete way:
Pass the audio into an envelope follower and then compare it with a threshold level. Then output a one or zero to use to control a switch or send it out of a GPIO pin.
The threshold is best to do this way which is easy to setup:
The time constants on the envelope generator and the threshold level will control how long it takes to build up to switch over and how long to shut off.
This example uses a peak envelope generator which goes up instantaneously. You can use an RMS envelope generator to have an attack time constant.
I hope this helps.