You don't mention anything about the timing capacitors. You need a 22pf - 33pf capacitor from OSC1 to GND and another between OSC2 and GND, with the resonator / Crystal between OSC1 and OSC2.
However if your resonator has three pins then the centre pin needs to be grounded. This is because three pin resonators have the capacitors built in.





Bookmarks