Our customer met a problem, that is :
They use signal detection block to detect line-in music. When detect signal for 2 seconds and volume >= -48dBFS, they change source from Bluetooth to line-in.
But the “Signal Detection” have a bug. Although trig time is 2s, it only operate with “active to de-active” status, but do not impact “de-active to active” condition.
The result is, a suddenly noise will trigger signal detect, and let speaker change source to line-in.
They do not plan to debounce signal on MCU, and expect ADAU1451 to do it.
Is there any way to resolve this issue? For example,
- Any other block to debounce signal with “de-active to active” condition.
- Any other block to output a average volume, then compare with “DV value -46dBFS”.
- Any other solution?
They try below solution, a sample of ADAU1451 block is on attachment, please see red cycle:
Would you please kindly provide any advised for this issue.
Thank you very much!