AnsweredAssumed Answered

Creating a boolean generator from a square wave source?

Question asked by audiolab1 on Apr 23, 2012
Latest reply on Jan 17, 2013 by BrettG

I have an interesting problem that I have not been able to solve.

What I have is an audio signal path within an ADAU1701 which is split into two lines, each lines having different conditioning, and the output signal is then selected between these two paths with an index selectable multiplexer. What I would like to do is have the selection between the two branches toggle at a constant rate, i.e. Path one is output for "x" seconds and path 2 is output for "x" seconds. My thought was to take an internal square wave oscillator block and somehow condition the signal so that when the square wave is positive a boolean "1" is output and when it is negative a boolean "0" is output. I could then connect this signal to the control port of the mux and it would switch between the two signal lines at whatever frequency the square wave generator is set to. Unfortunately, none of my attempts so far have worked. Any suggestions would be appreciated!