I am using atmega328 having 28 pins. I know it can be done using 6.5 Mhz crystal easily, but unfortunately i dont have. so i want to know if it could be done with 6 or 8 Mhz crystal by choosing any appropriate mode in phase correct PWM or prescalar for timer0.