1Khz Square wave - how much is too much different?

Programming the 6502 microprocessor and its relatives in assembly and other languages.
hoglet
Posts: 367
Joined: 29 Jun 2014

Re: 1Khz Square wave - how much is too much different?

Post by hoglet »

decuser wrote:
Ha. I kept hoping it was the code! That’d be the easiest to fix. Meanwhile. I’m gonna keep digging!
I still think it's likely to be a measurement error.

Would you be able to share a link to the logic analyzer capture file?

Dave
User avatar
GaBuZoMeu
Posts: 660
Joined: 01 Mar 2017
Location: North-Germany

Re: 1Khz Square wave - how much is too much different?

Post by GaBuZoMeu »

1. Your main oscillator isn't running @ 1.0000000000000000000000000000 MHz.
2. The rise and fall times of your signal may be different. The difference may further depend on the load.

- my 2 cents ;)
Post Reply