Application Note. External Oscillator Solutions with GreenPAK AN-CM-233

Similar documents
Application Note. Low Power DC/DC Converter AN-CM-232

Application Note. Over Current Latch with Low Side Sense AN-CM-223

Application Note. Customized Glucometer using GreenPAK AN-CM-222

Application Note. Servo Overload Protection AN-CM-247

Application Note. Brushless DC Motor Control AN-1114

Application Note. 3-Phase Brushless DC Motor Control with Hall Sensors AN-CM-244

Application Note. Smart LED Dimmer Controlled via Bluetooth AN-CM-225

Application Note. PWM Control for PC Fans AN-CM-248

iw3627 Off-Line Digital Constant-Voltage LED Driver with Power Factor Correction 1 Description 2 Features 3 Applications

Reference Design EBC iw1760b-00 for 15W Dual Output Home Appliance Switched Mode Power Supply Design

iw1815 Product Summary

AN2441 Application note

MM Stage Oscillator Divider

STCL1100 STCL1120 STCL1160

STEVAL-ISA005V1. 1.8W buck topology power supply evaluation board with VIPer12AS. Features. Description. ST Components

AN3134 Application note

LM2903W. Low-power, dual-voltage comparator. Features. Description

MIC4478/4479/4480. General Description. Features. Applications. Typical Application. 32V Low-Side Dual MOSFET Drivers

STCL1100 STCL1120 STCL1160

NJ88C Frequency Synthesiser with non-resettable counters

AN-1106 Custom Instrumentation Amplifier Design Author: Craig Cary Date: January 16, 2017

Features. Applications SOT-23-5

Order code Temperature range Package Packaging Marking

TDA7478. Single chip RDS demodulator. Features. Description

AN GreenChip SR TEA1791T integrated synchronous rectification controller. Document information

Advanced Regulating Pulse Width Modulators

Reference Oscillator Crystal Requirements for MKW40 and MKW30 Device Series

NOVEMBER 29, 2017 COURSE PROJECT: CMOS TRANSIMPEDANCE AMPLIFIER ECG 720 ADVANCED ANALOG IC DESIGN ERIC MONAHAN

ICS HIGH PERFORMANCE VCXO. Features. Description. Block Diagram DATASHEET

HT9170 DTMF Receiver. Features. General Description. Selection Table

Obsolete Product(s) - Obsolete Product(s)

LM2901. Low power quad voltage comparator. Features. Description

AN1954 APPLICATION NOTE

CMOS Micro-Power Comparator plus Voltage Follower

AN4269. Diagnostic and protection features in extreme switch family. Document information

Features. Micrel Inc Fortune Drive San Jose, CA USA tel +1 (408) fax + 1 (408)

ST755 ADJUSTABLE INVERTING NEGATIVE OUTPUT CURRENT MODE PWM REGULATORS

Features. RAMP Feed Forward Ramp/ Volt Sec Clamp Reference & Isolation. Voltage-Mode Half-Bridge Converter CIrcuit

PB63 PB63A. Dual Power Booster Amplifier PB63

Obsolete Product(s) - Obsolete Product(s)

Current-mode PWM controller

PULSE-WIDTH-MODULATION CONTROL CIRCUITS General Description. Features. Applications

Description. Table 1. Device summary. Order code Temp. range Package Packing Marking

AN1441 Application note

AN1224 Application note

TS522. Precision low noise dual operational amplifier. Features. Description

Improved Second Source to the EL2020 ADEL2020

Features. Applications

Obsolete Product(s) - Obsolete Product(s)

ICS LOW PHASE NOISE CLOCK MULTIPLIER. Features. Description. Block Diagram DATASHEET

STSR30 SYNCHRONOUS RECTIFIER SMART DRIVER FOR FLYBACK

ML4818 Phase Modulation/Soft Switching Controller

SG2524 SG3524 REGULATING PULSE WIDTH MODULATORS

Features. Slope Comp Reference & Isolation

IMP560 IMP560. EL Lamp p Driv

MM5452 MM5453 Liquid Crystal Display Drivers

PULSE-WIDTH-MODULATION CONTROL CIRCUITS General Description. Features. Applications

ICS CLOCK SYNTHESIZER FOR PORTABLE SYSTEMS. Description. Features. Block Diagram PRELIMINARY DATASHEET

Obsolete Product(s) - Obsolete Product(s)

MM58174A Microprocessor-Compatible Real-Time Clock

TS3003. A 1.55V to 5.25V, 10kHz to 300kHz Silicon Timer DESCRIPTION FEATURES APPLICATIONS TYPICAL APPLICATION CIRCUIT

AN1229 Application note

AN1756 Application note

CD Features. 5V Low Power Subscriber DTMF Receiver. Pinouts. Ordering Information. Functional Diagram

Advanced Regulating Pulse Width Modulators

MiniSense 100 Analog PCB

Description. Order code Package Packing

MIC4414/4415. General Description. Features. Applications. Typical Application. 1.5A, 4.5V to 18V, Low-Side MOSFET Driver

TS3004. A 1.55V to 5.25V, 1.9µA, 3.3µs to 233s Silicon Timer DESCRIPTION FEATURES APPLICATIONS TYPICAL APPLICATION CIRCUIT

STCL132K. 32,768 Hz silicon oscillator. Features. Applications. Description

TSL channel buffers for TFT-LCD panels. Features. Application. Description

Advanced Regulating Pulse Width Modulators

TDA W hi-fi audio amplifier. Features. Description

ICS502 LOCO PLL CLOCK MULTIPLIER. Description. Features. Block Diagram DATASHEET

IMP803 IMP803. High-Volt. iver POWER MANAGEMENT. Key Features. Applications. Block Diagram

ICS OSCILLATOR, MULTIPLIER, AND BUFFER WITH 8 OUTPUTS. Description. Features (all) Features (specific) DATASHEET

HCF40107B DUAL 2-INPUT NAND BUFFER/DRIVER

Pin 19 GPIO. Counters/Delay Generators CNT1 CNT2 CNT3 CNT4 CNT5 CNT6 CNT7 CNT8 CNT9. DFF/Latches. Pin 15 GPIO DFF0 DFF1 DFF2 DFF3 DFF4

LM248, LM348. Four UA741 quad bipolar operational amplifiers. Description. Features

Description. Table 1. Device summary. Order code Temp. range Package Packaging Marking

ENEE307 Lab 7 MOS Transistors 2: Small Signal Amplifiers and Digital Circuits

TS27L4. Very low power precision CMOS quad operational amplifiers. Features. Description

W83320S/W83320G Winbond N-Channel FET Synchronous Buck Regulator Controller W83320S W83320G

LOW PHASE NOISE CLOCK MULTIPLIER. Features

Obsolete Product(s) - Obsolete Product(s)

74VHC4046 CMOS Phase Lock Loop

Order codes Package Packaging

Features. Description. Table 1. Device summary. Order code Temperature range Package Packaging Marking

ICS PCI-EXPRESS CLOCK SOURCE. Description. Features. Block Diagram DATASHEET

Dual P-channel 100 V, Ω typ., 3.3 A STripFET VI DeepGATE Power MOSFET in a PowerFLAT 5x6 double island. Features

Atmel U6032B. Automotive Toggle Switch IC DATASHEET. Features. Description

LOCO PLL CLOCK MULTIPLIER. Features

VCC. UVLO internal bias & Vref. Vref OK. PWM Comparator. + + Ramp from Oscillator GND

MM5452/MM5453 Liquid Crystal Display Drivers

QUICKSWITCH BASICS AND APPLICATIONS

ICS NETWORKING CLOCK SYNTHESIZER. Description. Features. Block Diagram DATASHEET

LD A ultra low-dropout voltage regulator. Applications. Description. Features

Order code Temperature range Package Packaging Marking

Features. Applications. Micrel Inc Fortune Drive San Jose, CA USA tel +1 (408) fax + 1 (408)

LF253, LF353. Wide bandwidth dual JFET operational amplifiers. Features. Description

Transcription:

Application Note External Oscillator Solutions with GreenPAK AN-CM-233 Abstract This application note discusses two oscillator circuits which use a GreenPAK chip with external components: a sub-ua 1 khz RC oscillator circuit and a 32.768 khz Pierce oscillator. This application note comes complete with design files which can be found in the References section.

Contents Abstract... 1 Contents... 2 Figures... 2 Tables... 2 1 Terms and Definitions... 3 2 References... 3 3 Introduction... 4 4 Low Power (sub-µa) RC Oscillator... 4 4.1 Circuit Design... 4 4.2 Results... 6 5 Crystal Oscillator... 8 5.1 Circuit Design... 8 5.2 Results... 9 6 Conclusion... 11 Revision History... 12 Figures Figure 1: View of Inverter Circuit in GreenPAK Designer... 4 Figure 2: Low Power Oscillator Circuit Diagram... 5 Figure 3: Low Power Oscillator PIN3 Output Signal with VDD at 3.3 V... 6 Figure 4: PIN3 Output Signal Zoomed in to Display 80 ns Pulse Width... 6 Figure 5: ISUPPLY vs. VDD of SLG46121V Design... 8 Figure 6: Frequency vs. VDD of the SLG46121V Design... 8 Figure 7: Pierce Crystal Oscillator Circuit Diagram... 9 Figure 8: Pierce Crystal Oscillator Output with VDD at 3.3 V... 9 Figure 9: Pierce Oscillator Divided by 100 with a Counter... 11 Figure 10: Divide by 100 test Circuit in GreenPAK Designer... 11 Tables Table 1: Low Power Oscillator Measurements... 7 Table 2: Pierce Crystal Oscillator Measurements... 10 CFR0014 2 of 13 2018 Dialog Semiconductor

1 Terms and Definitions CMIC CMOS Crystal NMOS OE RC circuit Configurable mixed-signal integrated circuit Complementary mixed oxide semiconductor Piezoelectric material that produces an electrical signal as it mechanically resonates N-channel MOSFET Output enable Resistor-capacitor circuit 2 References For related documents and software, please visit: https://www.dialog-semiconductor.com/configurable-mixed-signal. Download our free GreenPAK Designer software [1] to open the.gp files [2] and view the proposed circuit design. Use the GreenPAK development tools [3] to freeze the design into your own customized IC in a matter of minutes. Dialog Semiconductor provides a complete library of application notes [4] featuring design examples as well as explanations of features and blocks within the Dialog IC. [1] GreenPAK Designer Software, Software Download and User Guide, Dialog Semiconductor [2] AN-CM-233.gp, GreenPAK Design File, Dialog Semiconductor [3] GreenPAK Development Tools, GreenPAK Development Tools Webpage, Dialog Semiconductor [4] GreenPAK Application Notes, GreenPAK Application Notes Webpage, Dialog Semiconductor [5] SLG46121, Datasheet, Dialog Semiconductor [6] SLG46620, Datasheet, Dialog Semiconductor [7] SLG46533, Datasheet, Dialog Semiconductor [8] Ramon Cerda, Pierce-Gate Crystal Oscillator, Microwave Product Digest, 2008 CFR0014 3 of 13 2018 Dialog Semiconductor

3 Introduction Some applications require oscillators not already served by the on-chip oscillators inside a GreenPAK IC. This application note describes two designs wherein a few passive external components can be used as an oscillator, which is connected to a GreenPAK. The first design is a low-power RC oscillator. The second is a low-power 32 khz crystal oscillator circuit. In both cases, the GreenPAK design is similar; GPIO pins are used and further internal components are not required. 4 Low Power (sub-µa) RC Oscillator An RC oscillator, using external components, allows the user to adjust frequency by adjusting the component values. RC oscillators can easily be made with any GreenPAK chip, but dual-rail chips additionally can make such RC oscillators very low power, down to sub-µa levels, by allowing the use of a resistor to limit the power drawn from the secondary rail. The following design implements an example with the dual-rail SLG46121V, but any dual-rail GreenPAK could be used. 4.1 Circuit Design Fundamentally, a typical oscillator consists of an inverting gain with feedback. In GreenPAK, this can be implemented with just a pin-to-pin connection as shown in Figure 1. Ensuring no other blocks are in the signal path helps to minimize power consumption and latency. The input pin at PIN12 is set to low-voltage digital input (LVDI) mode, which draws relatively little current even with a slow analog signal near its threshold (unlike a normal CMOS input which can have significant shoot through current). The PIN12 signal feeds into the OE pin output of PIN10, which is configured as a 3-state output. PIN10 s input is wired to ground. The result is that when OE is high, the output is driven low. When OE is low, the output is disabled allowing it to be pulled high by an external pull-up resistor. Thus, we have the requisite inversion. Functionally this is equivalent to an NMOS, as shown in Figure 2. Externally PIN10 is wired to PIN12, completing the feedback loop. The frequency characteristics of the feedback loop can be controlled by the RC on the wire. Figure 1: View of Inverter Circuit in GreenPAK Designer CFR0014 4 of 13 2018 Dialog Semiconductor

In this example, a separate output (PIN3) was used as a buffered test point to check the frequency without oscilloscope probes loading the feedback loop, which has a high-z (10 MΩ) state. PIN12 and PIN10 are powered by VDD2 (indicated by the yellow color). Externally, VDD2 is connected to VDD by a 10 MΩ resistor to limit the current. PIN10 is pulled up to VDD2 by a 10 MΩ resistor, with a 100 pf capacitor connected to ground. The cycle time can be estimated from the RC decay, i.e. time = RC * ln(vdd/(vdd-vth)). For example, with C1*(R1+R2) giving a 2 ms time constant, the LVDI input threshold voltage (Vth) of 900 mv, and VDD at 3 V, the cycle time comes out to 713 us, or equivalently,1.4k Hz, roughly matching up with the measured results shown in Table 1. Figure 2: Low Power Oscillator Circuit Diagram CFR0014 5 of 13 2018 Dialog Semiconductor

4.2 Results Figure 3: Low Power Oscillator PIN3 Output Signal with VDD at 3.3 V Figure 4: PIN3 Output Signal Zoomed in to Display 80 ns Pulse Width Table 1 shows ISUPPLY and frequency measurements of the SLG46121V external RC oscillator circuit, compared to the internal oscillator of the SLG46620V. The SLG46620 low-frequency internal oscillator was chosen because it has one of the lowest power internal oscillators of the various GreenPAK chips. The supply current of the SLG46121V without the buffered output test point is also shown, since the output buffer consumes some switching power. Note the SLG46121V itself does not have a low-frequency internal oscillator that can run at a power as low as the SLG46620; its lowest power internal oscillator can run at about 5 µa, like many other GreenPAK chips. Other CFR0014 6 of 13 2018 Dialog Semiconductor

aspects to note are the effects of VDD on frequency and supply current. Figure 5 graphs supply current vs VDD, and Figure 6 graphs frequency vs VDD. Table 1: Low Power Oscillator Measurements VDD (V) Isupply SLG46121 (ua) Freq SLG46121 (khz) Isupply SLG46121 no external connection (ua) Isupply SLG46620V (µa) Freq SLG46620V (khz) 1.80 0.49 1.05 0.47 0.92 1.63 2.00 0.54 1.12 0.52 0.96 1.63 2.20 0.62 1.18 0.56 1.02 1.63 2.40 0.63 1.20 0.61 1.05 1.63 2.60 0.71 1.26 0.67 1.08 1.63 2.80 0.77 1.31 0.72 1.13 1.63 3.00 0.83 1.37 0.77 1.17 1.63 3.20 0.89 1.42 0.82 1.20 1.63 3.33 0.94 1.46 0.86 1.26 1.63 3.40 0.96 1.47 0.87 1.28 1.63 3.60 1.02 1.48 0.93 1.29 1.63 3.80 1.08 1.52 0.99 1.33 1.63 4.00 1.15 1.56 1.05 1.39 1.63 4.20 1.22 1.60 1.11 1.40 1.63 4.40 1.28 1.63 1.17 1.44 1.63 4.60 1.35 1.64 1.23 1.51 1.63 4.80 1.42 1.67 1.29 1.55 1.63 5.00 1.49 1.69 1.35 1.64 1.63 CFR0014 7 of 13 2018 Dialog Semiconductor

Frequency (khz) I supply (µa) AN-CM-233 I supply (ua) 1.60 1.40 y = 0.3137x - 0.0994 1.20 1.00 0.80 0.60 0.40 0.20 0.00 0.00 1.00 2.00 3.00 4.00 5.00 6.00 VDD (V) Figure 5: I SUPPLY vs. VDD of SLG46121V Design Frequency (khz) 2.00 1.50 y = 0.2002x + 0.7441 1.00 0.50 0.00 0.00 1.00 2.00 3.00 4.00 5.00 6.00 VDD (V) Figure 6: Frequency vs. VDD of the SLG46121V Design 5 Crystal Oscillator The same design strategy from the GreenPAK RC oscillator design can be applied to make a crystal oscillator. Some GreenPAKs have a built-in Crystal OSC block, consisting of a dedicated highspeed single-stage inverter which can be used with external components to create a crystal oscillator circuit. The technique we use in this application note just uses the generic inverter present in any GPIO with OE, and can be applied to any GreenPAK. For this example, we ll again use the SLG46121V chip, making use of its dual-rail feature to minimize supply current. 5.1 Circuit Design Using the same basic principle as the low power oscillator discussed previously (Figure 1) the GreenPAK is configured as an inverter, but for this design the external components are arranged in the configuration of a Pierce oscillator circuit (Figure 7). A 10 MΩ feedback resistor between PIN12 and PIN10 biases the inverter in its linear region to cause it to function as an analog amplifier. The feedback needs to have a high resistance to allow the CFR0014 8 of 13 2018 Dialog Semiconductor

resonance of the crystal to be the dominant aspect of this circuit. A 100 kω resistor is put in series with PIN10 to limit the current through the crystal and isolate the output driver of PIN10 from the complex impedance formed by C1, C2, and the crystal. A 32.768 khz quartz crystal along with the two 22 pf load capacitors C1 and C2 set the resonance. PIN10 is pulled up externally to VDD2 by a 1 MΩ resistor. VDD2 is connected to VDD by a 1 MΩ resistor to limit the current. In this example, a separate output (PIN3) was used as a buffered test point to check the frequency without oscilloscope probes loading the feedback loop, which has a high-z (10 MΩ) state. 5.2 Results Figure 7: Pierce Crystal Oscillator Circuit Diagram Figure 8: Pierce Crystal Oscillator Output with VDD at 3.3 V CFR0014 9 of 13 2018 Dialog Semiconductor

Table 2 shows ISUPPLY and frequency measurements of the crystal oscillator circuit using the SLG46121V design, along with the SLG46533V using its "Crystal OSC" block for comparison. The crystal oscillator using the SLG46121V design can produce a 32.768 khz signal consistently with much lower power consumption compared to the SLG46533V built-in crystal oscillator circuit, which is designed to run much faster clocks ( 5 MHz) and is not optimized for slower clocks. With the component values chosen the design only works effectively down to roughly 2.2 V, as VDD is dropped down by the 1 MΩ resistor. Other resistor values can be chosen to tradeoff low-voltage vs low-current operation. For ease of testing, a counter was added to the example design (Figure 10), which internally divides the frequency by 100 (327 Hz). This reduces the current draw that results from the output pin at PIN3 toggling. Table 2: Pierce Crystal Oscillator Measurements VDD (V) ISUPPLY SLG46121V with divide by 100 (µa) Freq SLG46121V (khz) ISUPPLY SLG46533V (µa) Freq SLG46533V (khz) 1.80 1.09 11.0 15.82 32.8 2.00 1.30 16.4 38.48 32.8 2.20 1.63 32.7 76.32 32.8 2.40 1.81 32.7 129.18 32.8 2.60 1.97 32.7 199.42 32.8 2.80 2.18 32.7 289.62 32.8 3.00 2.23 32.7 442 32.8 3.20 2.53 32.7 582 32.8 3.33 2.65 32.7 680 32.8 3.40 2.72 32.7 735 32.8 3.60 2.93 32.7 908 32.8 3.80 3.13 32.7 1097 32.8 4.00 3.34 32.7 1286 32.8 4.20 3.55 32.7 1495 32.8 4.40 3.78 32.7 1713 32.8 4.60 4.00 32.7 1929 32.8 4.80 4.21 32.7 2162 32.8 5.00 4.45 32.7 2401 32.8 CFR0014 10 of 13 2018 Dialog Semiconductor

Figure 9: Pierce Oscillator Divided by 100 with a Counter Figure 10: Divide by 100 test Circuit in GreenPAK Designer 6 Conclusion Two solutions were presented which implement oscillators using different external components but a similar internal GreenPAK design. The first was a sub-µa RC oscillator with a frequency that can be adjusted depending upon the external resistive and capacitive components. The second was a crystal oscillator that can be used for more precise applications. Both solutions use minimal resources. The designs were demonstrated on dual-rail parts to highlight their advantage in creating a low-current implementation via a current limiting path between supplies. The general technique of a pin-based inverter can also be applied in other applications as well. CFR0014 11 of 13 2018 Dialog Semiconductor

Revision History Revision Date Description 1.0 14-Mar-2018 Initial Version CFR0014 12 of 13 2018 Dialog Semiconductor

Status Definitions Status DRAFT APPROVED or unmarked Definition The content of this document is under review and subject to formal approval, which may result in modifications or additions. The content of this document has been approved for publication. Disclaimer Information in this document is believed to be accurate and reliable. However, Dialog Semiconductor does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information. Dialog Semiconductor furthermore takes no responsibility whatsoever for the content in this document if provided by any information source outside of Dialog Semiconductor. Dialog Semiconductor reserves the right to change without notice the information published in this document, including without limitation the specification and the design of the related semiconductor products, software and applications. Applications, software, and semiconductor products described in this document are for illustrative purposes only. Dialog Semiconductor makes no representation or warranty that such applications, software and semiconductor products will be suitable for the specified use without further testing or modification. Unless otherwise agreed in writing, such testing or modification is the sole responsibility of the customer and Dialog Semiconductor excludes all liability in this respect. Customer notes that nothing in this document may be construed as a license for customer to use the Dialog Semiconductor products, software and applications referred to in this document. Such license must be separately sought by customer with Dialog Semiconductor. All use of Dialog Semiconductor products, software and applications referred to in this document are subject to Dialog Semiconductor s Standard Terms and Conditions of Sale, available on the company website (www.dialog-semiconductor.com) unless otherwise stated. Dialog and the Dialog logo are trademarks of Dialog Semiconductor plc or its subsidiaries. All other product or service names are the property of their respective owners. 2018 Dialog Semiconductor. All rights reserved. Contacting Dialog Semiconductor United Kingdom (Headquarters) Dialog Semiconductor (UK) LTD Phone: +44 1793 757700 Germany Dialog Semiconductor GmbH Phone: +49 7021 805-0 The Netherlands Dialog Semiconductor B.V. Phone: +31 73 640 8822 Email: enquiry@diasemi.com North America Dialog Semiconductor Inc. Phone: +1 408 845 8500 Japan Dialog Semiconductor K. K. Phone: +81 3 5769 5100 Taiwan Dialog Semiconductor Taiwan Phone: +886 281 786 222 Web site: www.dialog-semiconductor.com Hong Kong Dialog Semiconductor Hong Kong Phone: +852 2607 4271 Korea Dialog Semiconductor Korea Phone: +82 2 3469 8200 China (Shenzhen) Dialog Semiconductor China Phone: +86 755 2981 3669 China (Shanghai) Dialog Semiconductor China Phone: +86 21 5424 9058 CFR0014 13 of 13 2018 Dialog Semiconductor