You've got the timer setup with an EXTERNAL clock source but I'll bet you do not have a crystal and caps on the ext osc pins.
The 20MHz xtal you show is the primary( or main) clock for the PIC.
If you look read the datasheet you'll hvae some options. One, would be to add the xtal/caps to the ext osc pins another would be to use the T1_INTERNAL option to use the main clock( 20 MHz).
this is my guess.
ancient_one
Joined: 05 Jan 2012 Posts: 7
Posted: Thu Jan 12, 2012 8:20 am
Sure i've got a 20M oscillator with two 22pF capacitor in OSC1-OSC2 pins
asmboy
Joined: 20 Nov 2007 Posts: 2128 Location: albany ny
Posted: Thu Jan 12, 2012 5:03 pm
Did you probe the drive side of TMR1 osc
to see waveform on SCOPE and counter ???
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum