User Guide. Introduction. HCS12PLLCALUG/D Rev. 0, 12/2002. HCS12 PLL Component Calculator



Similar documents
PQ-MDS-T1 Module. HW Getting Started Guide. Contents. About This Document. Required Reading. Definitions, Acronyms, and Abbreviations

SEMICONDUCTOR TECHNICAL DATA

LOW POWER NARROWBAND FM IF

Local Interconnect Network (LIN) Physical Interface

Blood Pressure Monitor Using Flexis QE128 Gabriel Sanchez RTAC Americas

P D Operating Junction Temperature T J 200 C Storage Temperature Range T stg 65 to +150 C

S12XE IPLL Calculator

MPC8245/MPC8241 Memory Clock Design Guidelines: Part 1

etpu Host Interface by:

Genesi Pegasos II Setup

Understanding LCD Memory and Bus Bandwidth Requirements ColdFire, LCD, and Crossbar Switch

Programming Audio Applications in the i.mx21 MC9328MX21

Software Real Time Clock Implementation on MC9S08LG32

IRTC Compensation and 1 Hz Clock Generation

AND8365/D. 125 kbps with AMIS-4168x APPLICATION NOTE

Initializing the TSEC Controller

Handling Freescale Pressure Sensors

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

How To Fit A 2Mm Exposed Pad To A Dfn Package

AND9015. A Solution for Peak EMI Reduction with Spread Spectrum Clock Generators APPLICATION NOTE. Prepared by: Apps Team, BIDC ON Semiconductor

Improving Embedded Software Test Effectiveness in Automotive Applications

i.mx Applications Processors with Hantro's Multimedia Framework

Point-of-Sale (POS) Users Guide Lech José Olmedo Guerrero Jaime Herrerro Gallardo RTAC Americas

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

LOW POWER FM TRANSMITTER SYSTEM

PD Storage Temperature Range Tstg 65 to +150 C Junction Temperature TJ 200 C

PowerQUICC II Pro (MPC83xx) PCI Agent Initialization

User Interface Design using CGI Programming and Boa Web Server on M5249C3 Board

Freescale Semiconductor, I

MC33064DM 5 UNDERVOLTAGE SENSING CIRCUIT

Performance Monitor on PowerQUICC II Pro Processors

Connecting Low-Cost External Electrodes to MED-EKG

MC13783 Buck and Boost Inductor Sizing

ULN2803A ULN2804A OCTAL PERIPHERAL DRIVER ARRAYS

SN54/74LS682 SN54/74LS684 8-BIT MAGNITUDE COMPARATORS SN54/74LS688 8-BIT MAGNITUDE COMPARATORS FAST AND LS TTL DATA 5-603

Windows 7: Using USB TAP on a Classic CodeWarrior Installation (MGT V9.2 DSC V8.3)

Spread Spectrum Clock Generator

SEMICONDUCTOR TECHNICAL DATA

Hardware Configurations for the i.mx Family USB Modules

Flexible Active Shutter Control Interface using the MC1323x

Installation of the MMA955xL CodeWarrior Service Pack Author: Fengyi Li Application Engineer

Using WinUSB in a Visual Studio Project with Freescale USB device controller

Freescale Semiconductor. Integrated Silicon Pressure Sensor. On-Chip Signal Conditioned, Temperature Compensated and Calibrated MPX5500.

AND9190/D. Vertical Timing Optimization for Interline CCD Image Sensors APPLICATION NOTE

Data Movement Between Big-Endian and Little-Endian Devices

SN54/74LS240 SN54/74LS241 SN54/74LS244 OCTAL BUFFER/LINE DRIVER WITH 3-STATE OUTPUTS OCTAL BUFFER/ LINE DRIVER WITH 3-STATE OUTPUTS

ESD Line Ultra-Large Bandwidth ESD Protection

How To Control A Motor Control On An Hvac Platform

AND8132/D. Performance Improvements to the NCP1012 Evaluation Board APPLICATION NOTE

AND9035/D. BELASIGNA 250 and 300 for Low-Bandwidth Applications APPLICATION NOTE

Detecting a CPM Overload on the PowerQUICC II

SCHOTTKY BARRIER RECTIFIERS 1.0 AMPERE 20, 30 and 40 VOLTS

LOW POWER SCHOTTKY. GUARANTEED OPERATING RANGES ORDERING INFORMATION PLASTIC N SUFFIX CASE 648 SOIC D SUFFIX CASE 751B

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package.

2N6056. NPN Darlington Silicon Power Transistor DARLINGTON 8 AMPERE SILICON POWER TRANSISTOR 80 VOLTS, 100 WATTS

2N3906. General Purpose Transistors. PNP Silicon. Pb Free Packages are Available* Features MAXIMUM RATINGS

LOW POWER SCHOTTKY. GUARANTEED OPERATING RANGES ORDERING INFORMATION

LC898300XA. Functions Automatic adjustment to the individual resonance frequency Automatic brake function Initial drive frequency adjustment function

VGA Output using TV-Out Extension Solution i.mx21

Freescale Semiconductor. Integrated Silicon Pressure Sensor. On-Chip Signal Conditioned, Temperature Compensated and Calibrated MPX4080D.

2N3903, 2N3904. General Purpose Transistors. NPN Silicon. Pb Free Packages are Available* Features. MAXIMUM RATINGS

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.

3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers

Cyclic Redundant Checker Calculation on Power Architecture Technology and Comparison of Big-Endian Versus Little-Endian

Connecting to an SMTP Server Using the Freescale NanoSSL Client

Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start

2N5460, 2N5461, 2N5462. JFET Amplifier. P Channel Depletion. Pb Free Packages are Available* Features. MAXIMUM RATINGS

NTMS4920NR2G. Power MOSFET 30 V, 17 A, N Channel, SO 8 Features

2N6387, 2N6388. Plastic Medium-Power Silicon Transistors DARLINGTON NPN SILICON POWER TRANSISTORS 8 AND 10 AMPERES 65 WATTS, VOLTS

USB HID bootloader for the MC9S08JM60

Enhanced Serial Interface Mapping

Using XGATE to Implement LIN Communication on HCS12X Daniel Malik 8/16-Bit Products Division East Kilbride, Scotland

2N2222A. Small Signal Switching Transistor. NPN Silicon. MIL PRF 19500/255 Qualified Available as JAN, JANTX, and JANTXV.

Freescale Embedded GUI Converter Utility 2.0 Quick User Guide

Understanding Pressure and Pressure Measurement

Using the Performance Monitor Unit on the e200z760n3 Power Architecture Core

AND8433/D. Using ON Semiconductor Constant Current Regulator (CCR) Devices in AC Applications APPLICATION NOTE

BC546B, BC547A, B, C, BC548B, C. Amplifier Transistors. NPN Silicon. Pb Free Package is Available* Features. MAXIMUM RATINGS

How To Build A Project On An Eclipse Powerbook For Anarc (Powerbook) On An Ipa (Powerpoint) On A Microcontroller (Powerboard) On Microcontrollers (Powerstation) On Your Microcontroller 2 (Powerclock

256K x 16-Bit 3.3-V Asynchronous Magnetoresistive RAM MR2A16A. Freescale Semiconductor Data Sheet. Document Number: MR2A16A Rev.

AND8326/D. PCB Design Guidelines for Dual Power Supply Voltage Translators

BC546B, BC547A, B, C, BC548B, C. Amplifier Transistors. NPN Silicon. Pb Free Packages are Available* Features. MAXIMUM RATINGS

MARKING DIAGRAMS LOGIC DIAGRAM PDIP 16 P SUFFIX CASE 648 DIP PIN ASSIGNMENT ORDERING INFORMATION CDIP 16 L SUFFIX CASE 620

NCP1090GEVB, NCP1094GEVB. Power-over-Ethernet PD Interface Evaluation Board User's Manual EVAL BOARD USER S MANUAL.

Techniques and Tools for Software Analysis

Vdc. Vdc. Adc. W W/ C T J, T stg 65 to C

Using the High Input Voltage Charger for Single Cell Li-Ion Batteries (KIT34671EPEVBE)

2N3903, 2N3904. General Purpose Transistors. NPN Silicon. Features Pb Free Package May be Available. The G Suffix Denotes a Pb Free Lead Finish

CS V/250 ma, 5.0 V/100 ma Micropower Low Dropout Regulator with ENABLE

MPSA92, MPSA93. High Voltage Transistors. PNP Silicon. Pb Free Packages are Available* Features. MAXIMUM RATINGS MARKING DIAGRAM

MBR2045CT SCHOTTKY BARRIER RECTIFIER 20 AMPERES 45 VOLTS

Spreadsheet Estimation of CPU-DRAM Subsystem Power Consumption

BC327, BC327-16, BC327-25, BC Amplifier Transistors. PNP Silicon. These are Pb Free Devices* Features MAXIMUM RATINGS

LC03-6R2G. Low Capacitance Surface Mount TVS for High-Speed Data Interfaces. SO-8 LOW CAPACITANCE VOLTAGE SUPPRESSOR 2 kw PEAK POWER 6 VOLTS

USB Thumb Drive. Designer Reference Manual. HCS12 Microcontrollers. freescale.com. DRM061 Rev. 0 9/2004

MC10SX1190. Fibre Channel Coaxial Cable Driver and Loop Resiliency Circuit

2N4401. General Purpose Transistors. NPN Silicon. Pb Free Packages are Available* Features MAXIMUM RATINGS THERMAL CHARACTERISTICS

P2N2222ARL1G. Amplifier Transistors. NPN Silicon. These are Pb Free Devices* Features.

Simplifying System Design Using the CS4350 PLL DAC

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package.

Transcription:

User Guide HCS12PLLCALUG/D Rev. 0, 12/2002 HCS12 PLL Component Calculator by Stuart Robb Applications Engineering Motorola, East Kilbride Introduction The MC9S12D amily o MCUs includes a Phase-Locked Loop (PLL) circuit as part o the Clock and Reset Generator (CRG) module. The purpose o the PLL is to generate an internal timebase rom the crystal oscillator signal. The PLL allows the internal timebase, usually called the bus clock, to be generated at a higher requency than the oscillator signal. The use o a relatively low requency crystal oscillator acilitates lower power consumption in low power modes. The PLL requires an external passive low pass ilter connected to the XFC pin in order to operate. The value o the ilter network determines the speed o correction and the stability o the PLL. The external ilter network consists o two capacitors and a resistor, as shown in Figure 1. PLL Filter Components. VDDPLL R S MCU C P XFC C S Figure 1. PLL Filter Components Motorola, Inc., 2002

Precise values or R S, C S and C P may readily be calculated using the equations and values provided in the Electrical Characteristics section o the respective microcontroller Device User Guide. However, due to the limited range o standard values or capacitors, one or two iterations may be required. This process is automated by the "HCS12 PLL Filter Calculator" utility that is described in this manual. S12 PLL Filter Calculator The S12 PLL Filter Calculator is run by executing the ile "HCS12 PLL Filter.exe" on a Personal Computer (PC) running a 32-bit Windows operating system. The dialogue box shown in Figure 2. PLL Filter Calculator is presented. Figure 2. PLL Filter Calculator 2 HCS12 PLL Component Calculator MOTOROLA

S12 PLL Filter Calculator The ollowing data is required to be entered in order to calculate the component values: Oscillator Frequency The oscillator requency in units o MHz is entered into the ield next to the "Oscillator Frequency" label. Decimal values are permitted, or example 4.9152 MHz. REFDV The selected value or the REFDV register is entered into the ield next to the "REFDV" label. Permitted values are 0 15. A warning will be given i the value entered exceeds 15. SYNR The selected value or the SYNR register is entered into the ield next to the "SYNR" label. Permitted values are 0 63. A warning will be given i the value entered exceeds 63. CPU Bus Frequency The CPU Bus requency is automatically calculated as soon as valid values are entered or Oscillator Frequency, REFDV and SYNR. The CPU Bus requency is calculated rom the equation: BUS = ( SYNR + 1) OSC ( REFDV + 1) The result is displayed in the ield labelled "CPU Bus Frequency". Stability Margin The desired stability margin is selected by selecting one o the High, Medium or Low radio buttons. Gardeners stability criteria is given by a loop bandwidth o: C = OSC 4 ( REFDV + 1) or a damping actor o 0.9. The High radio button selects a target loop bandwidth that is a actor o 125 smaller than Gardeners criteria. The Medium radio button selects a target loop bandwidth that is a actor o 50 smaller than Gardeners criteria. This represents a typical value. MOTOROLA HCS12 PLL Component Calculator 3

The Low radio button selects a target loop bandwidth that is a actor o 20 smaller than Gardeners criteria. In all cases, the actual loop bandwidth based on the selected resistor and capacitor values may deviate slightly rom the target value. Resistor Series The desired range o values or selecting the series resistor, R S, is entered by selecting one o the radio buttons, E12 or E24. The E12 range includes the ollowing values multiplied by powers o 10: 1.0, 1.2, 1.5, 1.8, 2.2, 2.7, 3.3, 3.9, 4.7, 5.6, 6.8 and 8.2. The E24 range includes all the values in the E12 range, plus the ollowing values multiplied by powers o 10: 1.1, 1.3, 1.6, 2.0, 2.4, 3.0, 3.6, 4.3, 5.1, 6.2, 7.5 and 9.1. The E24 range is recommended. Selecting the E12 range may result in a loop damping actor which deviates rom the target value o 0.9 or a loop bandwidth which deviates rom the selected actor o Gardeners criteria. In most cases, these dierences will not have a signiicant eect on perormance. Calculate When the "Calculate" button is clicked, the ollowing values are calculated and displayed i no errors are ound: CPU Bus Frequency The CPU bus requency is checked and an error message is displayed i the value is greater than 25MHz. Series Resistance The value or R S is calculated and displayed next to the symbol or the series resistor. The selected value will be chosen rom the E12 or E24 range o values, depending on the selected "Resistor Series" radio button. The displayed value has units o Ohms. Series Capacitance The value or C S is calculated and displayed next to the symbol or the series capacitor. The selected value will be chosen rom a range comprising o the values 1.0, 2.2, 3.3 and 4.7 multiplied by a power o 10. The display value has units o nf. 4 HCS12 PLL Component Calculator MOTOROLA

PLL Calculator Tool Characteristics Parallel Capacitance The value or C P is calculated and displayed next to the symbol or the parallel capacitor. The selected value is always equal to C S /10. The display value has units o nf. Lock Time NOTE: The approximate lock time is estimated and displayed in the ield labelled "Approximate Lock Time in units o ms. Note that this value is an estimated typical value and not a worst case value. I lock time is important, the customer should characterise this value in their application, as measured values may deviate signiicantly rom the value estimated by this tool. PLL Calculator Tool Characteristics The HCS12 PLL Calculator tool uses the ollowing constants in its equations: Table 1. PLL Calculator Constants VCO loop gain itting parameter K 1-100 MHz/V VCO loop requency itting parameter F 1 60 MHz Acquisition mode charge pump current i ch_a 38.5 µa Tracking mode charge pump current i ch_t 3.5 µa The HCS12 PLL Calculator tool is suitable or all HCS12 MCUs that have PLL characteristics that match those in Table 1. PLL Calculator Constants. MOTOROLA HCS12 PLL Component Calculator 5

HOW TO REACH US: USA/EUROPE/LOCATIONS NOT LISTED: Motorola Literature Distribution; P.O. Box 5405, Denver, Colorado 80217 1-303-675-2140 or 1-800-441-2447 JAPAN: Motorola Japan Ltd.; SPS, Technical Inormation Center, 3-20-1, Minami-Azabu Minato-ku, Tokyo 106-8573 Japan 81-3-3440-3569 ASIA/PACIFIC: Motorola Semiconductors H.K. Ltd.; Silicon Harbour Centre, 2 Dai King Street, Tai Po Industrial Estate, Tai Po, N.T., Hong Kong 852-26668334 TECHNICAL INFORMATION CENTER: 1-800-521-6274 HOME PAGE: http://motorola.com/semiconductors Inormation in this document is provided solely to enable system and sotware implementers to use Motorola products. There are no express or implied copyright licenses granted hereunder to design or abricate any integrated circuits or integrated circuits based on the inormation in this document. Motorola reserves the right to make changes without urther notice to any products herein. Motorola makes no warranty, representation or guarantee regarding the suitability o its products or any particular purpose, nor does Motorola assume any liability arising out o the application or use o any product or circuit, and speciically disclaims any and all liability, including without limitation consequential or incidental damages. Typical parameters which may be provided in Motorola data sheets and/or speciications can and do vary in dierent applications and actual perormance may vary over time. All operating parameters, including Typicals must be validated or each customer application by customer s technical experts. Motorola does not convey any license under its patent rights nor the rights o others. Motorola products are not designed, intended, or authorized or use as components in systems intended or surgical implant into the body, or other applications intended to support or sustain lie, or or any other application in which the ailure o the Motorola product could create a situation where personal injury or death may occur. Should Buyer purchase or use Motorola products or any such unintended or unauthorized application, Buyer shall indemniy and hold Motorola and its oicers, employees, subsidiaries, ailiates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney ees arising out o, directly or indirectly, any claim o personal injury or death associated with such unintended or unauthorized use, even i such claim alleges that Motorola was negligent regarding the design or manuacture o the part. Motorola and the Stylized M Logo are registered in the U.S. Patent and Trademark Oice. digital dna is a trademark o Motorola, Inc. All other product or service names are the property o their respective owners. Motorola, Inc. is an Equal Opportunity/Airmative Action Employer. Motorola, Inc. 2002 HCS12PLLCALUG/D