Hi
I am designing a custom pcb which at its heart, will have an ATMEGA2560 (ATMEGA2560-16AU) microcontroller. I am trying to work out the circuit I will need to support this chip which I will be programming with the Arduino IDE.
I need to ensure that I have the external oscillator (XTAL) , USB and ICSP header correctly setup so I can add the bootloader and then do updates through the USB port.
Would you kindly look at the circuit I have designed to offer any advice as to any changes required.
Two questions that spring to mind;
Do I need the 1M resistor (R37) under XTAL ?
Should both crystals be the same frequency? The one for the MEGA2560 is 16Mhz and the one for CH340 chip is 12Mhz
Any help on circuit is greatly appreciated.
Thank you
Chazza