3 / 11 page

CY2XP304
Document #: 38-07589 Rev. *B
Page 3 of 11
To program the CY2XP304 using the two-wire serial interface,
set the SELPQ bit HIGH. The default setting of this bit is LOW.
The P and Q values are determined by the following formulas:
Pfinal = (P7..0 + 3) * 2
Qfinal = Q5..0 + 2
If the QCNTBYP bit is set HIGH, then Qfinal defaults to a value
of 1. The default setting of this bit is LOW.
If the SELPQ bit is set LOW, the PLL multipliers will be set
using the values in the Select Function Table.
CyberClocks™ has been developed to generate P and Q
values for stable PLL operation. This software is downloadable
from www.cypress.com.
Figure 1. Device Connections
Figure 2. Serial Interface Specifications
Figure 3. CY2XP304 Transfer Format
Serial Interface Address for the CY2XP304
A6
A5
A4
A3
A2
A1
A0
R/W
11
001
01
0
Serial Interface Programming for the CY2XP304
b7
b6
b5
b4
b3
b2
b1
b0
Data0
QCNTBYP
SELPQ
Q<5>
Q<4>
Q<3>
Q<2>
Q<1>
Q<0>
Data1
P<7>P<6>P<5>
P<4>P<3>P<2>P<1>
P<0>
Data2
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
S clk
S data
Sclk_C
S clk_in
S data_C
S data_in
M a ste r D e vice
R p
S clk_in
S data_C
S data_in
S lave D evice
V DD
R p
Start (S)
Stop (P)
Sclk
Sdata
valid data
Acknowledge
Ack
1 bit
8 bits
Data 1
P
Slave Address
Ack
S
Dummy Byte 0
R/W
Dummy Byte 1
Ack
1 bit
1 bit
Ack
1 bit
7 bits
8 bits
1 bit
Data 0
Ack
1 bit
8 bits
1 bit
8 bits