Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/17/00 21:57
Read: times


 
#4522 - RE: Determining crystal frequency
11Mhz vs 22Mhz
--------------
You need some extenal reference. Suggestions have been comm-lines or power lines.

Think about timing restrictions.

Consider:

You probably have EEProm or RTC chips, internal or external.

EEProm: There is a write cycle time. Allow for some variance and time how long until the subsequent write is accepted, divid the time into two classes of elapsed time {11Mhz, 22Mhz}. This is better because it requires no additional pin use.

RTC: DUH... Count an elapsed second. Counter values reveals which clock speed. No extra pins required.

If you want to consume an extra pin: RTCs often have a square wave output as on the DS1307. Its programmable for up to 1 second period... choose fast period and time it at an 8051 input pin.

-Jay C. Box

PS: Why do it he hard way?

List of 15 messages in thread
TopicAuthorDate
Determining crystal frequency            01/01/70 00:00      
RE: Determining crystal frequency            01/01/70 00:00      
RE: Determining crystal frequency            01/01/70 00:00      
RE: Determining crystal frequency            01/01/70 00:00      
RE: Determining crystal frequency            01/01/70 00:00      
RE: Determining crystal frequency            01/01/70 00:00      
RE: Determining crystal frequency            01/01/70 00:00      
RE: Determining crystal frequency            01/01/70 00:00      
RE: Determining crystal frequency            01/01/70 00:00      
RE: Determining crystal frequency            01/01/70 00:00      
RE: Determining crystal frequency            01/01/70 00:00      
RE: Determining crystal frequency            01/01/70 00:00      
RE: Determining crystal frequency            01/01/70 00:00      
RE: Determining crystal frequency            01/01/70 00:00      
RE: Determining crystal frequency            01/01/70 00:00      

Back to Subject List