Document # 001-20559 Rev. *D
27
11.
Phase-Locked Loop (PLL)
This chapter presents the Phase-Locked Loop (PLL) and its associated registers. For a complete table of the PLL registers,
refer to the
“Summary Table of the Core Registers” on page 32
. For a quick reference of all PSoC registers in address order,
refer to the
Register Details chapter on page 47
11.1
Architectural Description
A
function generates the sys-
tem clock with crystal accuracy. It is designed to provide a
23.986 MHz oscillator, when utilized with an external 32.768
kHz crystal.
Although the PLL tracks crystal accuracy, it requires time to
lock onto the reference frequency when first starting. The
length of time depends on the PLLGAIN controlled by bit 7
of the OSC_CR2 register. If this bit is held low, the lock time
is less than 10 ms. If this bit is held high, the lock time is on
the order of 50 ms. After lock is achieved, it is recommended
that this bit be forced high to decrease the
on the out-
put. If longer lock time is tolerable, the PLLGAIN bit can be
held high all the time.
After the 32.768 kHz External Crystal Oscillator (ECO) has
been selected and enabled, the following procedure should
be followed to enable the PLL and allow for proper fre-
quency lock.
■
Select a CPU frequency of 3 MHz or less.
■
Enable the PLL.
■
Wait between 10 and 50 ms, depending on bit 7 of the
OSC_CR2 register.
■
Set the CPU to a faster frequency, if desired. To do this,
write the CPU Speed[2:0] bits in the OSC_CR0 register.
The CPU frequency immediately changes when these
bits are set.
If the proper settings are selected in
, the
above steps are automatically done in
boot.asm
.
11.2
Register Definitions
The following registers are associated with the Phase-Locked Loop (PLL) and are listed in address order. Each register
description has an associated register table showing the bit structure for that register. The bits that are grayed out in the
tables below are reserved bits and are not detailed in the register descriptions. Note that reserved bits should always be writ-
ten with a value of ‘0’. For a complete table of the PLL registers, refer to the
Summary of Contents for PSoC CY8C23533
Page 4: ...Contents Overview 4 Document 001 20559 Rev D Section G Glossary 385 Index 401 ...
Page 16: ...Contents Overview 16 Document 001 20559 Rev D ...
Page 24: ...24 Document 001 20559 Rev D Section A Overview ...
Page 30: ...30 Document 001 20559 Rev D Pin Information ...
Page 54: ...54 Document 001 20559 Rev D Supervisory ROM SROM ...
Page 60: ...60 Document 001 20559 Rev D RAM Paging ...
Page 68: ...68 Document 001 20559 Rev D Interrupt Controller ...
Page 76: ...12 Document 001 20559 Rev D General Purpose IO GPIO ...
Page 82: ...18 Document 001 20559 Rev D Internal Main Oscillator IMO ...
Page 84: ...20 Document 001 20559 Rev D Internal Low Speed Oscillator ILO ...
Page 90: ...26 Document 001 20559 Rev D External Crystal Oscillator ECO ...
Page 94: ...30 Document 001 20559 Rev D Phase Locked Loop PLL ...
Page 106: ...42 Document 001 20559 Rev D Sleep and Watchdog ...
Page 228: ...164 Document 001 20559 Rev D Section D Digital System ...
Page 234: ...170 Document 001 20559 Rev D Array Digital Interconnect ADI ...
Page 278: ...214 Document 001 20559 Rev D Digital Blocks ...
Page 296: ...232 Document 001 20559 Rev D Analog Interface ...
Page 304: ...240 Document 001 20559 Rev D Analog Array ...
Page 308: ...244 Document 001 20559 Rev D Analog Input Configuration ...
Page 312: ...248 Document 001 20559 Rev D Analog Reference ...
Page 338: ...274 Document 001 20559 Rev D Section F System Resources ...
Page 354: ...290 Document 001 20559 Rev D Multiply Accumulate MAC ...
Page 374: ...310 Document 001 20559 Rev D I2C ...
Page 400: ...336 Document 001 20559 Rev D Section G Glossary ...