On Mon, Jun 20, 2005 at 04:38:09PM -0000, jeff_smith_8992 wrote: > > When I use the AVR's internal oscillator or an external crystal > oscillator, like 1.0 MHz, is the frequency 1,000,000 Hz (give or take > a few Hz for accuracy, temp, etc)? And not a power of 2, like 2 to > the 20th = 1,048,576? Yes, both. If you purchase a 1,000,000 Hz crystal or oscillator it will not be a power of two. But you could choose 1,048,576 if that suited the application better. On top of that crystals are graded for accuracy on a "ppm" scale. Parts Per Million. Common cheap crystals are 80 ppm. 10 ppm is getting expensive. 2 ppm is getting into the range of an oscillator with built in oven. In general crystal accuracy and stability is more important to radio applications than to microprocessors. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.
Message
Re: [AVR-Chat] Counter/Timer Question
2005-06-20 by David Kelly
Attachments
- No local attachments were found for this message.