Does anyone know what the max clock speed of the ATMEGA328P is, without the clock divider? I know that people have been able to overclock the 328 to 30 - 50 Mhz, but I haven't found if those are using the clock divider or not.
I'm working on reverse engineering a project that uses an atmega to interface with an NES's CPU. The clock on the circuit is a 20 Mhz clock, but the project doesn't mention what fuses to set for the atmega. Looking at the code, it seems like the intention is to run one instruction on the atmega for each input clock cycle.
Is it possible to run the ATMEGA328P at 20 Mhz with the clock divider turned off? In my experiments with a simple blinking LED program, the LED will phase in and out of blinking at the correct speed and blinking too rapidly. As soon as I re-enable the clock divider (and adjust F_CPU) it blinks at a stable rate again.
Am I doing something wrong, or am I running the atmega too far out of spec?