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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/07/06 19:56
Read: times


 
#106794 - 8253?
Responding to: ???'s previous message
Mahmood said:
I need to generate a square wave from 0 to 1kHz with 1Hz resolution. Any ideas how to do this?

Why not using a 8253? Contains three independent 16bit counters to provide a divide by n. First gets a 2MHz clock and generates frequencies in the upper range (<=2kHz), second gets a 20kHz clock and generates frequencies in the lower range (>=2Hz). A 74HC74 at the two outputs divides by two and delivers symmetrical square wave.
No jitter, no settling time, precision of frequency better than 0.05%.

Kai

List of 28 messages in thread
TopicAuthorDate
frequency generation            01/01/70 00:00      
   Use an NCO            01/01/70 00:00      
      Microcontroller emulates NCOs            01/01/70 00:00      
         Nice but...            01/01/70 00:00      
            we can think of something            01/01/70 00:00      
         nothing special            01/01/70 00:00      
   how about a PLL (Phase Locked Loop)            01/01/70 00:00      
      PLL            01/01/70 00:00      
         0 ?            01/01/70 00:00      
            Part no?            01/01/70 00:00      
               Clock speed            01/01/70 00:00      
            0 Hz Frequency            01/01/70 00:00      
               Differenece between...            01/01/70 00:00      
   If Max is 1 kHz, ...            01/01/70 00:00      
      more details            01/01/70 00:00      
         Difficult !            01/01/70 00:00      
   8253?            01/01/70 00:00      
      Mode 3            01/01/70 00:00      
         mode 3 again            01/01/70 00:00      
      Example            01/01/70 00:00      
         1MHz / 1001            01/01/70 00:00      
            Concretely...            01/01/70 00:00      
      Overview of functions            01/01/70 00:00      
      What do you think?            01/01/70 00:00      
         why not '52?            01/01/70 00:00      
            is it possible?            01/01/70 00:00      
         its an option            01/01/70 00:00      
   please i need to square wave osscillator            01/01/70 00:00      

Back to Subject List