Hi,
I'm trying to get a pulse to be 200ns. From what i have read, this can be accomplished by using a 20MHz crystal. I use a 12F683 and the capacitance with the crystal is 22pF.
When i scope the output the pulse width is 600nS. Why is it not 200? Also when scoping the crystal it shows 6.6MHz and not 20MHz.
I have attached both my code and the screen dump from the scope.
Thanx.
I'm trying to get a pulse to be 200ns. From what i have read, this can be accomplished by using a 20MHz crystal. I use a 12F683 and the capacitance with the crystal is 22pF.
When i scope the output the pulse width is 600nS. Why is it not 200? Also when scoping the crystal it shows 6.6MHz and not 20MHz.
I have attached both my code and the screen dump from the scope.
Thanx.
Attachments
Last edited: