
CY221
Document #: 38-07263 Rev. *E Page 2 of 10
CY2213 Two-Wire Serial Interface
Introduction
The CY2 213 has a two-w ire seri al inte rfac e de si gne d for da t a
transfe r operat ions, and is used for programm ing the P and Q
values for frequency generation. Sclk is the serial clock line
contr olle d by the mast er devic e. Sdata is a serial bidirectional
dat a line. The CY221 3 is a slave dev ice and can eit her read or
write information on the dataline upon request from the master
device.
Figure 1 shows the basic bus connections between master
and slave device. The buses are shared by a number of
devices and are pulled high by a pull-up resistor.
Serial Interface Specificat ions
Figure 2 shows the basic transmission specification. To begin
and end a transmission, the master device generates a start
signal (S) and a stop signal (P). Start (S) is defined as
switching the Sdata from HIGH to LOW while the Sclk is at
HIGH. Si milarly, stop (P) is d efined as switchi ng the Sdata from
LOW to HIGH while holding th e Sclk HIGH. Between these two
signals, data on Sdata is synchronous with the clock on the Sclk.
Data is allowed to change only at LOW period of clock, and
must be stable at the HIGH period of clock. To acknowledge,
drive the Sdata LOW before the Sclk rising edge and hold it
LOW until the Sclk falling edge.
Serial Interfa ce For ma t
Each slave carries an addres s. The data transfer is initiated by
a start signal (S). Each transfer segment is 1 byte in length.
The sl ave addre ss and the read/wri te bit are first sent from t he
master device after the start signal. The addressed slave
device must acknowledge (Ack) the master device. Depending
on the Read/Write bit, the master device will either write data
into (log ic 0) or rea d data (l ogic 1) from the slav e device. Eac h
time a byte of data is successfully transferred, the receiving
device must acknowledge. At the end of the transfer, the
master device will generate a stop signal (P).
Serial Interfa ce Transfer Format
Figure 2 shows the serial interface transfer format used with
the CY2213. T wo dummy bytes must be transferred before the
first dat a by te. The CY221 3 has only three by tes of lat ches to
store information, an d the third byte of dat a is res erv ed. Ex tra
data will be ignored.
Pin Description
Pin Name Pin Number Pin Description
VDDX 13.3V Power Supply for Crystal Driver
VSSX 2Ground for Crystal Driver
XOUT 3Reference Crystal Feedback
XIN 4Reference Crystal Input
VDD 53.3 V Power Supply (all VDD pins must be tied directly on board)
OE 6Output Enable, 0 = output disable, 1 = output enable (no internal pull-up)
VSS 7Ground
SER CLK 8Serial Interfa ce C lock
SER DATA 9Serial Interfa ce D ata
VDD 10 3.3V Power Supply (all VDD pins must be tied directly on board)
VSS 11 Ground
CLKB 12 LVPECL Output Clock (complement)
CLK 13 LVPECL Output Clock
VSS 14 Ground
VDD 15 3.3V Power Supply (all VDD pins must be tied directly on board)
S16 PLL Multiplier Select Input, Pull-up Resistor Internal
Frequency Table
S M (PLL Multiplier) Example Input Crystal Frequency CLK,CLKB
0 x16 25 MHz 400 MHz
31.25 MHz 500 MH z
1 x8 15.625 MHz 125 MHz