I want to read in a signal to ADAU1466. I have this signal connected to either MP or AUXADC pin through resistor stuff options.
The signal has the following four possible options:
- 1kHz square wave (50% duty cycle)
- 1kHz square wave (25% duty cycle)
What is the most computationally efficient way to read in this signal to ADAU1466 and give a 2 bit response of which signal option is present? A SigmaStudio example would be helpful, if possible.