ADAU1761 design: Signal Detection Cell is used to monitor the incoming audio signal
Dear sir,
In my customer's ADAU1761 design, they would like to use Signal detection cell to monitor the incoming audio signal. Once no audio signal is present at the input for a given amount of time, the Signal detection cell would output a flag via ADAU1761 on-chip GPIO, and the flag alert MCU that no audio signal is present then the MCU could power-down unneeded parts of the system. But the question is, there is a conflict, ADAU1761 all GPIO ports (GPIO0~3) are configured as I2S interface.
Would you please hlep to advise is there any other method to alert MCU the incoming audio signal status by using ADAU1761 existing algorithm?
Many thanks in advance.
Jane
Audio Signal Processors
SigmaDSP Audio Processors
adau1761
HI Jane:
If you are using all available GPIOs then you could have the microcontroller pole a variable through I2C (read that variable periodically until that varialble changes by the presence of silence). Start by reading back every second by setting a timer on the uC with a 1s interrruption cycled.. If your signal flow is NOT using all available GPIOs (some of them are not part of the I2C stream) then simply configure the part to turn the available ports into GPIO.
Miguel
Hi Miguel,
Many thanks for your quick response.
Would you please give some further advice about which variable of ADAU1761 could be monitored through I2C? It seems ADAU1761 is different from ADAU1701, ADAU1701 data capture feature allows the data at any node in the signal processing flow to be sent to one of two readable registers. This feature is useful for monitoring and displaying information about internal signal levels or compressor/limiter activity.
Thanks.
Jane
Hi Jane:
Correct reading back on the 1701 and the 1761 is different. It used to be that the user needed to ask for the data by writing the address to be read from into specific read back registers, to then read the result from a separate register. We removed this limitation and now you can simple read directly data from any given memory. Please be carefull with circular buffers and the rotating memory (modulo). Instead of trying to read data directly from the modulo data side of memory. Simply write to a coefficient location. Knowing that coefficients do not rotate, it's safe to read from there.
The readback block implemented in SigmaStudio should serve you as a good reference for understanding what you need to do to read back information from a given signal flow.
Regards
Miguel
Hi Miguel,
Thanks for your advise, and it helps a lot.
I also checked below discussion in EZ, we will try the sample application- Input monitor by using readback block mentioned in this link.Monitoring average and instantaneous signal levels
Thanks.
Jane
Please log in to reply.