PRELIMINARY
CY22701
Document #: 38-07698 Rev. *B
Page 2 of 15
Functional Description
The CY22701 uses an EEPROM array along with on-chip
programming voltages to program the device for development,
or in production on the circuit board. An industry standard I2C
serial programming interface (SPI) is used to program the
scratchpad and clock core.
Clock Features
The programmable clock core is configured with the following
features:
• Crystal Oscillator: Programmable drive and load, support
for external references up to 167 MHz. See Reference
Frequency (REF) on page 4
• PLL: Programmable P, Q, offset, and loop filter parameters.
• Outputs: 2 outputs and two programmable linear dividers.
The output swing of CLK1 and 2 is set by VDD (3.3V).
Clock configuration is stored in a dedicated 2-kbit block of
nonvolatile EEPROM and a 2-kbit block of volatile SRAM. The
SPI is used to write new configuration data to the on-chip
programmable registers that are defined within the clock
configuration memory blocks.
Serial Programming Interface (SPI)
The SPI uses industry-standard signaling in both standard and
fast modes to program the 2-kbit EEPROM dedicated to clock
configuration, and the 2-kbit SRAM block. See sections
beginning with Using the Serial Programming Interface on
page 2 for more information.
Default Start-up Condition for CY22701
The default clock configuration is:
• The crystal oscillator circuit is active.
• CLK1 outputs REF frequency.
• Pin 7 is configured as Write Protect (see “Write Protect (WP)
Registers” section on page 5 to configure as CLK2)
This default clock configuration is typically customized to meet
the needs of a specific application. It provides a clock signal
upon power-on, to facilitate in-system programming. Alterna-
tively, the CY22701 may be programmed with a different clock
configuration prior to placement of the CY22701 in systems.
While you can develop your own subroutine to program any or
all of the individual registers described in the following pages,
it may be easier to use CyberClocks™ to produce the required
register setting file.
Using the Serial Programming Interface
The
CY22701
provides
an
industry-standard
serial
programming interface for volatile and nonvolatile, in-system
programming of unique frequencies and options. Serial
programming and reprogramming allows for quick design
changes and product enhancements, eliminates inventory of
old design parts, and simplifies manufacturing.
The CY22701 is a group of two slave devices with addresses
as shown in Figure 1. The serial programming interface
address of the CY22701 clock configuration 2-kbit EEPROM
block is 68H. The serial programming interface address of the
CY22701 clock configuration 2-kbit SRAM block is 69H.
Should there be a conflict with any other devices in your
system, both device addresses can also be changed using
CyberClocks. Registers in the clock configuration 2-kbit SRAM
memory block are written, when the user wants to update the
clock configuration for on-the-fly changes
. Registers in the
clock configuration EEPROM block are written, if the user
wants to update the clock configuration so that it is saved and
used again after power-up or reset.
All programmable registers in the CY22701 are addressed
with eight bits and contain eight bits of data. Table 1 lists the
specific register definitions and their allowable values. See
section Serial Programming Interface Timing on page 10, for
a detailed description.
Note:
1. Float XOUT if XIN is externally driven.
Pin Description
Name
Pin Number
Description
XIN
1
Reference crystal input
VDD
2
3.3V voltage supply
SDAT
3
Data input for serial programming
VSS
4
Ground
SCL
5
Clock signal input for serial programming
CLK1
6
Clock output 1 (Default to reference frequency)
CLK2/WP
7
Clock output 2/Write Protect (Default Write Protect)
XOUT[1]
8
Reference crystal output
clock config.
EE block
256 x 8 bits
Address:
1101000
clock config.
SRAM
256 x 8 bits
Address:
1101001
Figure 1. Device Addresses for EEPROM and SRAM Clock Configuration Blocks