clock now fully working, capacity of around 15pF on external crystal needed