|
Tom Van Baak has done it for the PIC world of microcontrollers: A single chip frequency divider called PPSDIV that will generate a low jitter set of output frequencies at 100 kHz, 10 kHz, 1 kHz, 100 Hz, 10 Hz, 1 Hz, 0.1 Hz and 0.01 Hz from a single 10 MHz reference input. Now I have translated Tom’s original code into the AVR world of microcontrollers and you can download a complete AVR Studio project AVR-PPSDIV that will enable an AVR Mega microcontroller to perform the same. Due to the shorter cycle time the 100 kHz have an almost perfect 1:1 duty cycle. Should run on any AVR that has an complete port A available since that one is used for the output. The smaller AVR chips feature only a complete port “D”. For that reason you find a version of AVR-PPSDIV here that makes use of pord D.
|