361684278EE153| Application Note

361684278EE153 PDF

361684278EE153| Application Note


a Engineer To Engineer Note

EE-153

Technical Notes on using Analog Devices' DSP components and development tools
Phone: (800) ANALOG-D, FAX: (781) 461-3010, EMAIL: dsp.support@analog.com, FTP: ftp.analog.com, WEB: www.analog.com/dsp

ADSP-2191 PROGRAMABLE PLL
Created 9/12/2001 - GJO

Overview
The ADSP-2191 includes a clock multiplier, which provides more flexibility for multiple clock modes than that of the fixed 2x CLKIN clock mode used by the popular ADSP-218x DSP family. The ADSP-2191's clock multiplier mode enables the chip to run faster than the input clock rate. The PLL can also be brought up at a 1:1 clock ratio (referred to as Bypass mode) to reduce power usage. The purpose of this application note is to describe how to properly configure the programmable PLL on the ADSP-2191.

The ADSP-2191 MSELx and DF pins are shared and can be used in three different ways: as clock multiplier select pins, general-purpose flag pins (referred to as PFx or PF [7:0]), or as select pins for external SPI devices. Because of this, depending on how the programmable flags are to be used, certain systems considerations must be made to ensure the MSELx and DF pins are properly configured and defined when powering-up and hard-resetting the DSP. When /Reset is asserted (active low), the states of MSELx, DF, and BYPASS are used to initialize the PLL. The core clock and peripheral clock will reflect the states of these pins. A requirement of the PLL multiplier is that the MSELx and DF must be in a valid configuration ratio for a period not exceeding 15 CLKIN cycles following the assertion of /Reset. Depending on how these pins are implemented in your system (ex: PF's or SPI selects), variables such as capacitive loading and line terminations could negatively affect the MSELx and DF pins, resulting in an unwan
ted or invalid multiplication ratio. Consider a system with a 16 MHz CLKIN and a desired core frequency of 160 MHz. In this case, the desired multiplication ratio would be 10 (PF [7:0] = 0x0A). Given the 15 CLKIN cycle requirement, after the assertion of /Reset, a maximum duration of 937 nsec (15/CLKIN = 15/16M) may pass before the state of PF [7:0] must assume a valid ratio.
NOTE: The PLL is incapable of recovering from invalid multiplication ratios (MSELx/DF = 0x00 or 0xFF) applied for periods exceeding 15 CLKIN cycles.

Background
The ADSP-2191 provides a user-programmable 1 to 32 multiplication of the input clock, including some fractional values, to support 128 external to internal (DSP core) clock ratios. The states of the MSELx, BYPASS, and DF pins determine how the PLL will function at reset. If the BYPASS pin is set (=1), the MSELx pins are still sampled on the rising edge of /RESET and transition back to programmable flags after the reset is complete; the PLL is put into bypass; and the input clock is directly used to generate the clocks for the core (CCLK) and the peripherals (HCLK). At hard reset the value of the BYPASS pin automatically determines the value of the PLLCTL register's BYPASS bit; at any other time, software controls this bit. The DF pin (alternately named PF7) controls the input divider. The input divider is disabled when DF is cleared (=0). When DF is set (=1), CLKIN is divided by two prior to being used to generate the core and the peripheral clocks. At hard reset the value of the DF pin automatically determi
nes the value of the PLLCTL register's DF bit; at any other time, software controls this bit.
NOTE: DF must be set (=1) when CLKIN is above 100Mhz. This will ensure that HCLK never exceeds 100Mhz.

In some applications, PF [7:0] maybe configured as outputs. Following the assertion of Reset, there is a maximum delay of 15ns before PF [7:0] is tri-stated. Given below are three system scenarios and suggested system considerations given each scenario.

Scenario 1
In a system, the user doesn't intend to use PF [7:0] for anything other than configuring the multiplication ratio during /Reset. In this case, MSELx and DF can be tied high or low to achieve the desired multiplication ratio.

Scenario 2 Controlling the PLL
Copyright 2002, Analog Devices, Inc. All rights reserved. Analog Devices assumes no responsibility for customer product design or the use or application of customers' products or for any infringements of patents or rights of others which may result from Analog Devices assistance. All trademarks and logos are property of their respective holders. Information furnished by Analog Devices Applications and Development Tools Engineers is believed to be accurate and reliable, however no responsibility is assumed by Analog Devices regarding the technical accuracy of the content provided in all Analog Devices' Engineer-to-Engineer Notes.


361684278EE153 Application Note analog Download PDF

Add this permalink to your bookmarks for future download of 361684278EE153 ApplicationNote

Permalink: http://application.emcelettronica.com/analog/361684278EE153

PDF 361684278EE153 APPLICATION NOTE