If I want use a watch crystal(32KHz) with the low frequency crystal oscillator of an ATmega328p, which pin should I connect the crystal to?
Should I connect the crystal to XTAL1,XTAL2 pins of ATmega328p, or should I connect the crystal to TOSC1,TOSC2** pins of ATmega328p?
Best Answer
The XTAL pins are also the TOSC pins, so you really don't have an option to go wrong here.