Design Idea

Use a PC's parallel port to program a clock source

Edited by Brad Thompson

By William Grill, Honeywell BRGA, Lenexa, KS -- EDN, 12/7/2004

This Design Idea shows how you can use Linear Technology's LTC6903 programmable oscillator as a clock source for direct-digital synthesis, data conversion, switched-capacitor filtering, clock, and voltage-controlled oscillator circuits. The LTC6903 operates from 2.7 to 5.5V with modest power consumption and can produce clock signals at frequencies of 1 kHz to 68 MHz. Typical frequency error and resolution over the range are 1.1 and 0.1%, respectively.

You can control the programmable oscillator circuit in Figure 1 via an IBM-compatible PC's parallel port, which also provides power to the circuit. Resistors R1 and R2 limit power-supply current drawn from parallel-port data bits DB3 and DB4, and resistors R3 through R5 isolate programming bits DB0 through DB2. A precision micropower voltage reference, IC1, provides 4.096V of stable power to IC1 and IC2. For optimal performance, minimize the lead lengths of bypass capacitors C1 and C2 with respect to IC2's power and ground connections. High-speed buffer IC3 isolates IC2's output and prevents frequency pulling due to load variations. Listing 1 translates a user-supplied input into a 16 bit, SPI-compatible data stream that programs IC1's output frequency. The LTC6903's output frequency depends on two control coefficients, OCT and DAC. The program derives the closest values for OCT and

DAC by solving the equation: f=(2OCT)×2078/(2–(DAC)/1024). At initial application of power, IC2's output frequency defaults to 1.039 kHz.

Check out our Best of Design Ideas section!



ADVERTISEMENT

ADVERTISEMENT

Feedback Loop


Post a CommentPost a Comment

Related Content

 

By This Author

There are no additional articles written by this author.


ADVERTISEMENT

Knowledge Center



Technology Quick Links

EDN Marketplace


©1997-2008 Reed Business Information, a division of Reed Elsevier Inc. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy

Please visit these other Reed Business sites

ADVERTISEMENT
You will be redirected to your destination in few seconds.