But I am still wondering whether it is really a smart idea to drive the mixers with square waves. Assume you drive a mixer with sine waves, 10MHz and 10MHz+1Hz for the LO and RF.
The mixing products will be: 1Hz and 20MHz+1Hz.
Now assume that the mixer is driven with the same frequencies as above, but with square waves. The square waves each have the following spectral components:
10MHz, 30MHz, 50MHz for one signal, 10MHz+1Hz, 30MHz+3Hz and 50MHz+5Hz for the other signal.
When these two signals are mixed, the result at the IF output will contain the following frequencies (I list the difference frequencies only, as the sum frequencies are all well above 10MHz and can be easily filtered out):
1Hz (=10MHz+1Hz - 10MHz)
3Hz (=30MHz+3Hz - 30MHz)
5Hz (=50MHz+5Hz - 50MHz)
I don't think the IF output will be a square wave, but it will definitely contain a set of harmonics, so I wonder how this will work - because in this very case, we are actually only interested in the 1Hz frequency.