I guess I should've passed over the stupid soup at lunchtime, but for some reason I just can't figure this out at the moment, and it's really bugging me.
Refer to the attached simulation.
On the left is a 3.5975MHz TV color burst crystal in a typical crystal oscillator circuit; nothing fancy at all. An inverter to drive the xtal, 20pF caps both sides, current limiting, yadda yadda - it all works fine, and the output from U2B is a nice square wave at 3.5975MHz.
I'm ANDing together:
Q0: /2
Q1: /4
Q4: /32
Q5: /64
Q8: /512
That should result in a 5,830Hz output.
It SHOULD be 5,830Hz, but it's twice that; 11.67kHz.
Where am I going wrong?
I fiddled around with what should be a simple problem for a couple hours today, and could not arrive at a satisfactory answer.
It must be something simple that I'm just overlooking.
What is it?
Refer to the attached simulation.
On the left is a 3.5975MHz TV color burst crystal in a typical crystal oscillator circuit; nothing fancy at all. An inverter to drive the xtal, 20pF caps both sides, current limiting, yadda yadda - it all works fine, and the output from U2B is a nice square wave at 3.5975MHz.
I'm ANDing together:
Q0: /2
Q1: /4
Q4: /32
Q5: /64
Q8: /512
That should result in a 5,830Hz output.
It SHOULD be 5,830Hz, but it's twice that; 11.67kHz.
Where am I going wrong?
I fiddled around with what should be a simple problem for a couple hours today, and could not arrive at a satisfactory answer.
It must be something simple that I'm just overlooking.
What is it?
Attachments
-
59.4 KB Views: 80
Last edited: