I am working on a custom board with a ATmega2560 microcontroller (
datasheet) and need a little help with the power and crystal design.
Crystal:
I have chosen the crystal resonator "Yangxing Tech X322516MLB4SI 16MHz" (
datasheet) because it is one of JLCPCB "basic" component.
I have used two ceramic capacitor 22pF, but when I look online people use anything from 10 to 30 pF. What will the right capacitor be?
People also do different wirings
Some do
XTAL1 => pin3 and XTAL2 => pin1
Others
XTAL2 => pin3 and XTAL1 => pin1
Does the wiring matter on such a crystal or what is the right one?

Power:
I also see many different ways to handle power. Is there anyone who can verify that my setup is OK?
