8/16/32-Bit Crystal Oscillator Basics Microcontrollers Application Note

Total Page:16

File Type:pdf, Size:1020Kb

8/16/32-Bit Crystal Oscillator Basics Microcontrollers Application Note 8/16/32-Bit Crystal Oscillator Basics AP56002 Application Note V1.0, 2012-08 Microcontrollers Edition 2012-08 Published by Infineon Technologies AG 81726 Munich, Germany © 2012 Infineon Technologies AG All Rights Reserved. LEGAL DISCLAIMER THE INFORMATION GIVEN IN THIS APPLICATION NOTE IS GIVEN AS A HINT FOR THE IMPLEMENTATION OF THE INFINEON TECHNOLOGIES COMPONENT ONLY AND SHALL NOT BE REGARDED AS ANY DESCRIPTION OR WARRANTY OF A CERTAIN FUNCTIONALITY, CONDITION OR QUALITY OF THE INFINEON TECHNOLOGIES COMPONENT. THE RECIPIENT OF THIS APPLICATION NOTE MUST VERIFY ANY FUNCTION DESCRIBED HEREIN IN THE REAL APPLICATION. INFINEON TECHNOLOGIES HEREBY DISCLAIMS ANY AND ALL WARRANTIES AND LIABILITIES OF ANY KIND (INCLUDING WITHOUT LIMITATION WARRANTIES OF NON-INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS OF ANY THIRD PARTY) WITH RESPECT TO ANY AND ALL INFORMATION GIVEN IN THIS APPLICATION NOTE. Information For further information on technology, delivery terms and conditions and prices, please contact the nearest Infineon Technologies Office (www.infineon.com). Warnings Due to technical requirements, components may contain dangerous substances. For information on the types in question, please contact the nearest Infineon Technologies Office. Infineon Technologies components may be used in life-support devices or systems only with the express written approval of Infineon Technologies, if a failure of such components can reasonably be expected to cause the failure of that life-support device or system or to affect the safety or effectiveness of that device or system. Life support devices or systems are intended to be implanted in the human body or to support and/or maintain and sustain and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons may be endangered. Crystal Oscillator Basics AP56002 Device1 Revision History: V1.0 2012-08 Previous Version(s): Page Subjects (major changes since last revision) – This is the first release … Trademarks We Listen to Your Comments Is there any information in this document that you feel is wrong, unclear or missing? Your feedback will help us to continuously improve the quality of this document. Please send your proposal (including a reference to this document) to: [email protected] Application Note 3 V1.0, 2012-08 Crystal Oscillator Basics AP56002 Table of Contents Table of Contents 1 Introduction . 5 2 Oscillator-Inverter . 5 3 Oscillator Circuitry . 6 3.1 What is a Crystal? . 6 3.2 Fundamental Mode Circuitry . 7 3.2.1 External Load Capacitors . 7 3.2.2 On-Chip Load Capacitors . 8 4 Oscillator Start-up Time . 9 4.1 Definition of Oscillator Start-up Time (tst_up) . 9 4.2 Definition of Oscillator Off Time (toff) . 10 5 Drive Level . 11 5.1 Drive Current Measurement Method . 11 5.2 Drive Level Calculation for Fundamental Mode . 12 6 Start-up and Oscillation Reliability . 14 6.1 Principle of the Negative Resistance Method . 14 6.2 Measurement Method of Start-up and Oscillation Reliability . 15 6.2.1 General Description . 15 6.2.1.1 Quick Negative Resistance Test . 17 6.2.1.2 Comprehensive Negative Resistance Test . 18 6.3 Trouble Shooting . 19 6.3.1 Parasitic RC or LC Oscillation . 19 6.3.2 Pull down Resistor RX1 . 19 6.3.3 Feedback Resistor Rf . 20 6.4 Assessment of the Results . 20 6.5 General Hints . 22 7 Oscillator Circuitry Layout Recommendations . 23 7.1 Ground Island . 23 7.2 Ground Connection of the Crystal Package . 23 7.3 Ground Supply . 23 7.4 Avoid Capacitive Coupling . 23 7.5 Avoid Parallel Tracks of High Frequency Signals . 23 7.6 Correct Module Placement . 23 7.7 Layout Example . 24 8 List of Abbreviations . 25 Application Note 4 V1.0, 2012-08 Crystal Oscillator Basics AP56002 Introduction 1 Introduction This Application Note provides recommendations for the selection of quartz crystals and for the circuit composition for each oscillator. The cooperation between the IC oscillator and the quartz crystal does not always work properly because of problems in the composition of external circuits. This application note provides users with the appropriate knowledge to help ensure trouble-free oscillator operation. Note: The content of this document relating to measurements to find the right external circuits is generic information and can be used for all Pierce oscillators using an oscillator-inverter. 2 Oscillator-Inverter Microcontrollers include the active part of the oscillator, called the oscillator-inverter. For historical and evolutionary reasons, different oscillator-inverters are implemented in different Infineon microcontroller product families. The main differences are in: • oscillator gain • oscillation amplitude • oscillator supply voltage • frequency range XTAL1 is the oscillator-inverter input. XTAL2 is the output. Some devices include a 32 kHz oscillator. This is a real-time clock oscillator-inverter, where XTAL3 is the oscillator-inverter input and XTAL4 is the output. Note: Details about electrical parameters are described in the Data Sheet of each particular device. The on-chip oscillator-inverter can either run with an external crystal and appropriate external oscillator circuitry (also known as the passive part of the oscillator), or it can be driven by an external oscillator. The external oscillator directly connected to XTAL1, leaving XTAL2 open, feeds the external clock signal to the internal clock circuitry. The oscillator input XTAL1 and output XTAL2 connect the internal CMOS Pierce oscillator to the external oscillator circuitry. The oscillator provides an inverter and a feedback element, with the resistance of the feedback element typically in the range of 0.2 MΩ to 1 MΩ. Depending on the Infineon microcontroller family, the oscillator is either enabled at power-on or, because of power consumption issues, it is disabled at power-on and has to be enabled by user software. Note that also for reasons of power consumption, some oscillators allow gain to be reduced after stable oscillation of the oscillator circuitry. Note: The oscillator-inverter can be used in combination with quartz crystals and also with ceramic resonators. Application Note 5 V1.0, 2012-08 Crystal Oscillator Basics AP56002 Oscillator Circuitry 3 Oscillator Circuitry The standard microcontroller oscillator circuitry typically consists of • the on-chip oscillator-inverter, • a quartz crystal, • two load capacitors, • a series resistor RX2 to limit the current through the crystal. Use of this resistor depends on the crystal used and the required resonance frequency. The crystal is used as the system frequency reference, typically in the range from 4 MHz to 25 MHz (40 MHz). This reference frequency is used by the on-chip PLL to provide system and CPU frequencies higher than the crystal frequency. 3.1 What is a Crystal? A quartz crystal consists of piezoelectric material equipped with electrodes and housed in a hermetically sealed package. In an oscillator circuit the crystal is mechanically vibrating on its resonance frequency fOSC, and provides a stable reference oscillation signal to the microcontroller and is used as input reference clock. The resonance frequency of a quartz crystal is the rate of expansion and contraction of the crystal and is determined by the size and cut of the crystal. Depending on the crystal resonance frequency, different cuts in the crystal structure are used for the crystal blank. AT-cut crystals vibrating in thickness shear, fundamental mode are typically used for microcontroller oscillator circuits for the frequency range from 4 MHz to 40 MHz. Real-time clock oscillators with 32 kHz resonance frequency use tuning fork crystals. Quartz crystals used in oscillator circuits are produced synthetically in autoclaves. When a crystal is running on its resonance frequency an equivalent circuit diagram can be used for simulation and calculation. C1 L1 R1 Q C0 Figure 3-1 Equivalent Circuit of a Quartz Crystal • The oscillating mass of the crystal hardware blank represents the dynamic inductance L1. • The elasticity of the crystal hardware blank represents the motional dynamic capacitance C1. • The molecular friction, the damping by the mechanical mounting system and acoustical damping by the gas filled housing, is represented by R1. •C0 is the shunt capacitance which is given by the electrodes on the quartz crystal. The total frequency deviation of a quartz crystal is effected by different factors such as temperature range or Application Note 6 V1.0, 2012-08 Crystal Oscillator Basics AP56002 Oscillator Circuitry capacitive load, and is typically in a range of |+/-100 ppm| to |+/-300 ppm| for microcontroller applications using AT-cut crystals. Table 3-1 Typical AT-Cut Quartz Crystal Characteristics Initial frequency tolerance at 25°C +/-30 ppm Pullability +/-15 ppm/pF Temperature stability +/-0.5 ppm/°C Aging +/-2.0 ppm/Year 3.2 Fundamental Mode Circuitry The external crystal circuitry can be prepared for fundamental mode or 3rd overtone mode. For a microcontroller frequency range from 4 MHz to 40 MHz, crystals are used in fundamental mode. 3.2.1 External Load Capacitors Most of today’s microcontroller oscillator circuitries use external load capacitors. Besides the typical oscillator components, a test resistor RQ may be temporarily inserted to measure the oscillation allowance (negative resistance) of the oscillator circuitry. The circuitry is shown in Figure 3-2. How to check start-up reliability is discussed in the chapters that follow. Oscillator Module Shaper fosc Rf XTAL1 XTAL2 external Components Crystal R RQ X2 CX1 CX2 Figure 3-2 Oscillator Circuit Block Diagram with External Load Capacitors (Fundamental Mode) Application Note 7 V1.0, 2012-08 Crystal Oscillator Basics AP56002 Oscillator Circuitry 3.2.2 On-Chip Load Capacitors New designs of oscillator-inverters offer the possibility to use on-chip load capacitors to save external components and optimize the BOM (Bill Of Materials). The on-chip load capacitors should only be used in combination with the Amplitude Regulation Feature of the oscillator.
Recommended publications
  • Crystal Oscillators 1
    Crystal oscillators 1. Objectives The aim of the exercise is to get acquainted with issues concerning the generation of waveforms (including sinewaves) in the basic structures of crystal generators. In addition, the exercise aims to familiarize with surface mount technique SMT (Surface Mount Technology/ Technics or SMD – Surface mounting Devices). 2. Components and instrumentation. In the exercise, it is possible to test quartz generators operating in the three simplest and most popular system structures: • Colpitts-Pierce quartz generator with bipolar transistor, • quartz generator implemented on TTL gates, • quartz generator implemented on CMOS inverters 2.1. Colpittsa-Pierce’s oscillator with bipolar transistor. The Colpitts-Pierce quartz generator system working in parallel resonance is shown in Fig. 1. + UCC Rb C2 XT C1 Re UWY Fig. 1. Colpittsa-Pierce oscillator with BJT. Using, in the system, quartz resonators with resonance values up to several tens of MHz, the elements C1, Re in the generator system can be selected according to the graph shown in Fig.2. RezystorRe [Ohm] Frequency [MHz] Fig. 2. Selection of C1 and Re elements in the Colpitts-Pierce oscillator 2.2. Quartz oscillator implemented using TTL digital IC Fig. 3 presents a diagram of a quartz oscillator implemented using NAND gates in TTL technology. The oscillator works in series resonance. In this system, while maintaining the same resistance values, quartz resonators with a frequency from a few to 10 MHz can be used. 560 1k8 220 220 UWY XT Fig. 3. Cristal oscillator with serial resonance implemented with NAND gates in TTL technology In the laboratory exercise, it is proposed to implement the system using TTL series 74LS00 (pins of the IC are shown in in Fig.4).
    [Show full text]
  • Design and Evaluation of a Clock Multiplexing Circuit for the SSRL Booster Accelerator Timing System
    SLAC-TN-15-018 Design and Evaluation of a Clock Multiplexing Circuit for the SSRL Booster Accelerator Timing System Million Araya† August 21, 2015 Seattle Central Community College, Seattle, WA CCI Program, SLAC National Accelerator Laboratory SPEAR3 is a 234 m circular storage ring at SLAC’s synchrotron radiation facility (SSRL) in which a 3 GeV electron beam is stored for user access. Typically the electron beam decays with a time constant of approximately 10hr due to electron lose. In order to replenish the lost electrons, a booster synchrotron is used to accelerate fresh electrons up to 3GeV for injection into SPEAR3. In order to maintain a constant electron beam current of 500mA, the injection process occurs at 5 minute intervals. At these times the booster synchrotron accelerates electrons for injection at a 10Hz rate. A 10Hz 'injection ready' clock pulse train is generated when the booster synchrotron is operating. Between injection intervals-where the booster is not running and hence the 10 Hz ‘injection ready’ signal is not present-a 10Hz clock is derived from the power line supplied by Pacific Gas and Electric (PG&E) to keep track of the injection timing. For this project I constructed a multiplexing circuit to 'switch' between the booster synchrotron 'injection ready' clock signal and PG&E based clock signal. The circuit uses digital IC components and is capable of making glitch-free transitions between the two clocks. This report details construction of a prototype multiplexing circuit including test results and suggests improvement opportunities for the final design. I. Introduction The ultimate purpose of a synchrotron radiation facility is to generate stable, high-power beams of light spanning from the Infrared to x-ray portion of the electromagnetic spectrum.
    [Show full text]
  • Analysis of BJT Colpitts Oscillators - Empirical and Mathematical Methods for Predicting Behavior Nicholas Jon Stave Marquette University
    Marquette University e-Publications@Marquette Master's Theses (2009 -) Dissertations, Theses, and Professional Projects Analysis of BJT Colpitts Oscillators - Empirical and Mathematical Methods for Predicting Behavior Nicholas Jon Stave Marquette University Recommended Citation Stave, Nicholas Jon, "Analysis of BJT Colpitts sO cillators - Empirical and Mathematical Methods for Predicting Behavior" (2019). Master's Theses (2009 -). 554. https://epublications.marquette.edu/theses_open/554 ANALYSIS OF BJT COLPITTS OSCILLATORS – EMPIRICAL AND MATHEMATICAL METHODS FOR PREDICTING BEHAVIOR by Nicholas J. Stave, B.Sc. A Thesis submitted to the Faculty of the Graduate School, Marquette University, in Partial Fulfillment of the Requirements for the Degree of Master of Science Milwaukee, Wisconsin August 2019 ABSTRACT ANALYSIS OF BJT COLPITTS OSCILLATORS – EMPIRICAL AND MATHEMATICAL METHODS FOR PREDICTING BEHAVIOR Nicholas J. Stave, B.Sc. Marquette University, 2019 Oscillator circuits perform two fundamental roles in wireless communication – the local oscillator for frequency shifting and the voltage-controlled oscillator for modulation and detection. The Colpitts oscillator is a common topology used for these applications. Because the oscillator must function as a component of a larger system, the ability to predict and control its output characteristics is necessary. Textbooks treating the circuit often omit analysis of output voltage amplitude and output resistance and the literature on the topic often focuses on gigahertz-frequency chip-based applications. Without extensive component and parasitics information, it is often difficult to make simulation software predictions agree with experimental oscillator results. The oscillator studied in this thesis is the bipolar junction Colpitts oscillator in the common-base configuration and the analysis is primarily experimental. The characteristics considered are output voltage amplitude, output resistance, and sinusoidal purity of the waveform.
    [Show full text]
  • V850 Standby Modes
    Application Note V850 Standby Modes V850ES/SG2 V850ES/SJ2 Document No. U18825EE1V0AN00 Date Published June 2007 © NEC Electronics Corporation June 2007 Printed in Germany NOTES FOR CMOS DEVICES 1 VOLTAGE APPLICATION WAVEFORM AT INPUT PIN Waveform distortion due to input noise or a reflected wave may cause malfunction. If the input of the CMOS device stays in the area between VIL (MAX) and VIH (MIN) due to noise, etc., the device may malfunction. Take care to prevent chattering noise from entering the device when the input level is fixed, and also in the transition period when the input level passes through the area between VIL (MAX) and VIH (MIN). 2 HANDLING OF UNUSED INPUT PINS Unconnected CMOS device inputs can be cause of malfunction. If an input pin is unconnected, it is possible that an internal input level may be generated due to noise, etc., causing malfunction. CMOS devices behave differently than Bipolar or NMOS devices. Input levels of CMOS devices must be fixed high or low by using pull-up or pull-down circuitry. Each unused pin should be connected to VDD or GND via a resistor if there is a possibility that it will be an output pin. All handling related to unused pins must be judged separately for each device and according to related specifications governing the device. 3 PRECAUTION AGAINST ESD A strong electric field, when exposed to a MOS device, can cause destruction of the gate oxide and ultimately degrade the device operation. Steps must be taken to stop generation of static electricity as much as possible, and quickly dissipate it when it has occurred.
    [Show full text]
  • Generate a Clock Signal from a Crystal Oscillator
    www.ti.com Product Overview Generate a Clock Signal from a Crystal Oscillator Clocked Device U CLK Figure 1-1. Using an Unbuffered Inverter and Schmitt-Trigger Inverter to Generate a Clock Signal From a Crystal Oscillator Design Considerations • Drive crystal oscillators directly • Can be disabled with added logic • Allows for selectable system clocks with multiple crystals • Outputs a clean and reliable square wave • See the Use of the CMOS Unbuffered Inverter in Oscillator Circuits Application Report for more information about this use case. • Need additional assistance? Ask our engineers a question on the TI E2E™ logic support forum Recommended Parts Part Number Automotive Qualified VCC Range Features SN74LVC2GU04-Q1 ✓ 1.65 V — 5.5 V Dual unbuffered inverter SN74LVC2GU04 SN74AHC1GU04 2 V — 5.5 V Single unbuffered inverter SN74AUC1GU04 0.8 V — 2.7 V Single unbuffered inverter SN74LVC1G17-Q1 ✓ 1.65 V — 5.5 V Single Schmitt-trigger buffer SN74LVC1G17 For more devices, browse through the online parametric tool where you can sort by desired voltage, channel numbers, and other features. SCEA099 – OCTOBER 2020 Generate a Clock Signal from a Crystal Oscillator 1 Submit Document Feedback Copyright © 2020 Texas Instruments Incorporated IMPORTANT NOTICE AND DISCLAIMER TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS” AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS. These resources are intended for skilled developers designing with TI products.
    [Show full text]
  • VLSI Digital Signal Processing
    CLOCKS Clocks in Digital Systems • Why are clocks and clocked memory registers needed inside digital systems? • Clocks pace the flow of data inside digital processors • The exact speed of data through circuits is impossible to predict accurately due to factors such as: – Fabrication process variations – Supply voltage variations “PVT variations” – Temperature variations – Countless parasitic effects (e.g., wire-to-wire capacitances) – Data-dependent variations (e.g., calculating 1 OR 1 = 1 requires a different delay than 1 OR 0 = 1) © B. Baas 322 Clocks in Digital Systems • Clocked memory elements slow down the fastest signals, wait until all signals have finished propagating through the combinational logic in the stage*, and then release them into the next stage simultaneously, controlled by the active edge of the clock signal • * This is why we care about clock only the single slowest signal in a block (max propagation delay) when finding the maximum clock frequency © B. Baas 323 Clocks in Digital Systems • All paths within a digital system consist of an input register, (optionally) followed by combinational logic, followed by an output register • Therefore: – If we can make this structure work under all conditions, we can build a robust digital system – We should analyze this structure carefully clock a combinational out b logic c_p1 c_p3 © B. Baas c_p2 324 Robust Clock Design • Edge-triggered memory elements (flip-flops) are generally more robust than level-sensitive memory elements (transparent latches) • Always follow these rules in this class, and for the most robust designs: 1. Only clock signals may connect to flip-flop or latch clock inputs • A simpler circuit may sometimes be possible if a logic signal is connected to a clock input, but do not do it for robustness • always @(posedge key) begin 2.
    [Show full text]
  • Tms320f280x, Tms320c280x, Tms320f2801x Digital Signal Processors
    TMS320F2809, TMS320F2808, TMS320F2806, TMS320F2802, TMS320F2801, TMS320C2802, TMS320F2809, TMS320F2808, TMS320F2806,TMS320C2801, TMS320F2802, TMS320F28016, TMS320F2801, TMS320F28015TMS320C2802, www.ti.com TMS320C2801,SPRS230P – OCTOBER TMS320F28016, 2003 – REVISED TMS320F28015 FEBRUARY 2021 SPRS230P – OCTOBER 2003 – REVISED FEBRUARY 2021 TMS320F280x, TMS320C280x, TMS320F2801x digital signal processors 1 Features • Three 32-bit CPU timers • Enhanced control peripherals • High-performance static CMOS technology – Up to 16 PWM outputs – 100 MHz (10-ns cycle time) – Up to 6 HRPWM outputs with 150-ps MEP – 60 MHz (16.67-ns cycle time) resolution – Low-power (1.8-V core, 3.3-V I/O) design – Up to four capture inputs • JTAG boundary scan support – Up to two quadrature encoder interfaces – IEEE Standard 1149.1-1990 Standard Test – Up to six 32-bit/six 16-bit timers Access Port and Boundary Scan Architecture • Serial port peripherals • High-performance 32-bit CPU (TMS320C28x) – Up to 4 SPI modules – 16 × 16 and 32 × 32 MAC operations – Up to 2 SCI (UART) modules – 16 × 16 dual MAC – Up to 2 CAN modules – Harvard bus architecture – One Inter-Integrated-Circuit (I2C) bus – Atomic operations • 12-bit ADC, 16 channels – Fast interrupt response and processing – 2 × 8 channel input multiplexer – Unified memory programming model – Two sample-and-hold – Code-efficient (in C/C++ and Assembly) – Single/simultaneous conversions • On-chip memory – Fast conversion rate: – F2809: 128K × 16 flash, 18K × 16 SARAM 80 ns - 12.5 MSPS (F2809 only) F2808: 64K × 16
    [Show full text]
  • Phase Alignment of Asynchronous External
    PHASEALIGNMENTOFASYNCHRONOUSEXTERNALCLOCK CONTROLLABLEDEVICESTOPERIODICMASTERCONTROLSIGNALUSING THEPERIODICEVENTSYNCHRONIZATIONUNIT by CharlesNicholasOstrander Athesissubmittedinpartialfulfillment oftherequirementsforthedegree of MasterofScience in ElectricalEngineering MONTANASTATEUNIVERSITY Bozeman,Montana May2009 ©COPYRIGHT by CharlesNicholasOstrander 2009 AllRightsReserved ii APPROVAL ofathesissubmittedby CharlesNicholasOstrander Thisthesishasbeenreadbyeachmemberofthethesiscommitteeandhasbeen foundtobesatisfactoryregardingcontent,Englishusage,format,citation,bibliographic style,andconsistency,andisreadyforsubmissiontotheDivisionofGraduateEducation. Dr.BrockJ.LaMeres ApprovedfortheDepartmentElectricalEngineering Dr.RobertC.Maher ApprovedfortheDivisionofGraduateEducation Dr.CarlA.Fox iii STATEMENTOFPERMISSIONTOUSE Inpresentingthisthesisinpartialfulfillmentoftherequirementsfora master’sdegreeatMontanaStateUniversity,IagreethattheLibraryshallmakeit availabletoborrowersunderrulesoftheLibrary. IfIhaveindicatedmyintentiontocopyrightthisthesisbyincludinga copyrightnoticepage,copyingisallowableonlyforscholarlypurposes,consistentwith “fairuse”asprescribedintheU.S.CopyrightLaw.Requestsforpermissionforextended quotationfromorreproductionofthisthesisinwholeorinpartsmaybegranted onlybythecopyrightholder. CharlesNicholasOstrander May2009 iv TABLEOFCONTENTS 1.INTRODUCTION .......................................................................................................... 1
    [Show full text]
  • AN826 Crystal Oscillator Basics and Crystal Selection for Rfpic™ And
    AN826 Crystal Oscillator Basics and Crystal Selection for rfPICTM and PICmicro® Devices • What temperature stability is needed? Author: Steven Bible Microchip Technology Inc. • What temperature range will be required? • Which enclosure (holder) do you desire? INTRODUCTION • What load capacitance (CL) do you require? • What shunt capacitance (C ) do you require? Oscillators are an important component of radio fre- 0 quency (RF) and digital devices. Today, product design • Is pullability required? engineers often do not find themselves designing oscil- • What motional capacitance (C1) do you require? lators because the oscillator circuitry is provided on the • What Equivalent Series Resistance (ESR) is device. However, the circuitry is not complete. Selec- required? tion of the crystal and external capacitors have been • What drive level is required? left to the product design engineer. If the incorrect crys- To the uninitiated, these are overwhelming questions. tal and external capacitors are selected, it can lead to a What effect do these specifications have on the opera- product that does not operate properly, fails prema- tion of the oscillator? What do they mean? It becomes turely, or will not operate over the intended temperature apparent to the product design engineer that the only range. For product success it is important that the way to answer these questions is to understand how an designer understand how an oscillator operates in oscillator works. order to select the correct crystal. This Application Note will not make you into an oscilla- Selection of a crystal appears deceivingly simple. Take tor designer. It will only explain the operation of an for example the case of a microcontroller.
    [Show full text]
  • Crystals Load Capacitance Calculation And
    Load Capacitance PRINTED: 12/21/2012 TYPICAL OSCILLATOR CIRCUIT OSC CELL OSC CELL = oscillator circuit integrated into any IC. Rf = feedback resistor, sometimes integrated in IC or is required as external resistor Rf CLOCK SIGNAL Cg = capacitance of oscillator input for IC internal use Cd = capacitance of oscillator output Rd = Phase shift resistor, necessary at lower frequencies to meet oscillation condition that phase shift all the way around the oscillator loop need to add up to 360°. Y1 = Quartz crystal unit C1 and C1 = external load capacitors. CPCB1 and CPCB2 = stray capacitances of PCB traces Cg Cd The total LOAD CAPACITANCE of the oscillator circuit is the sum of all capacitances. OSC IN OSC OUT consisting of: 1. The two external capacitors (here called C1 and C2) 2. The IC input and output capacitances (here called Cg and Cd) 3. The stray capacitances of PCB traces (here called CPCB1 and CPCB2) CPCB1 Rd Commonly being only the values of the external capacitors known so that a correct calculation of the actual load capacitance is not possible. SIGNAL OUTPUT OPTIONALCLOCK In such case we use simlified formula to calculate the load capacitance as: C1 C2 CL C TOTAL C1 C2 STRAY CPCB2 Here C1 and C2 are the external capacitors in the cricuit, values should be known. Cstray is summarized value for IC input and output capacitance and the PCB traces. Y1 Cstray in a 3.3VDC circuit is often 3~4pF. C1 C2 Cstray in a 5.0VDC circuit often 5~7pF. However, we have also seen circuits that had large deviation from these values.
    [Show full text]
  • 7. Latches and Flip-Flops
    Chapter 7 – Latches and Flip-Flops Page 1 of 18 7. Latches and Flip-Flops Latches and flip-flops are the basic elements for storing information. One latch or flip-flop can store one bit of information. The main difference between latches and flip-flops is that for latches, their outputs are constantly affected by their inputs as long as the enable signal is asserted. In other words, when they are enabled, their content changes immediately when their inputs change. Flip-flops, on the other hand, have their content change only either at the rising or falling edge of the enable signal. This enable signal is usually the controlling clock signal. After the rising or falling edge of the clock, the flip-flop content remains constant even if the input changes. There are basically four main types of latches and flip-flops: SR, D, JK, and T. The major differences in these flip-flop types are the number of inputs they have and how they change state. For each type, there are also different variations that enhance their operations. In this chapter, we will look at the operations of the various latches and flip- flops. 7.1 Bistable Element The simplest sequential circuit or storage element is a bistable element, which is constructed with two inverters connected sequentially in a loop as shown in Figure 1. It has no inputs and two outputs labeled Q and Q’. Since the circuit has no inputs, we cannot change the values of Q and Q’. However, Q will take on whatever value it happens to be when the circuit is first powered up.
    [Show full text]
  • Introduction (Pdf)
    chapter1.fm Page 1 Thursday, August 17, 2000 4:43 PM CHAPTER 1 INTRODUCTION The evolution of digital circuit design n Compelling issues in digital circuit design n How to measure the quality of digital design n Valuable references 1.1 A Historical Perspective 1.2 Issues in Digital Integrated Circuit Design 1.3 Quality Metrics of A Digital Design 1.4 Summary 1.5 To Probe Further 1 chapter1.fm Page 2 Thursday, August 17, 2000 4:43 PM 2 INTRODUCTION Chapter 1 1.1A Historical Perspective The concept of digital data manipulation has made a dramatic impact on our society. One has long grown accustomed to the idea of digital computers. Evolving steadily from main- frame and minicomputers, personal and laptop computers have proliferated into daily life. More significant, however, is a continuous trend towards digital solutions in all other areas of electronics. Instrumentation was one of the first noncomputing domains where the potential benefits of digital data manipulation over analog processing were recognized. Other areas such as control were soon to follow. Only recently have we witnessed the con- version of telecommunications and consumer electronics towards the digital format. Increasingly, telephone data is transmitted and processed digitally over both wired and wireless networks. The compact disk has revolutionized the audio world, and digital video is following in its footsteps. The idea of implementing computational engines using an encoded data format is by no means an idea of our times. In the early nineteenth century, Babbage envisioned large- scale mechanical computing devices, called Difference Engines [Swade93]. Although these engines use the decimal number system rather than the binary representation now common in modern electronics, the underlying concepts are very similar.
    [Show full text]