ADuC7060
OSCILLATOR, PLL, AND POWER CONTROL
Clocking System
The ADuC7060 integrates a 32.768 kHz ± 3% oscillator, a clock
divider, and a PLL. The PLL locks onto a multiple of the inter-
nal oscillator or an external 32.768 kHz crystal to provide a stable
10.24 MHz clock (UCLK) for the system. To allow power saving,
the core can operate at this frequency or at binary submultiples
of it. The actual core operating frequency, UCLK/2 CD , is refered
to as HCLK. The default core clock is the PLL clock divided by 8
(CD = 3) or 1.28 MHz.
In case of crystal loss, the watchdog timer should be used. During
initialization, a test on the RSTSTA can determine if the reset came
from the watchdog timer.
External Clock Selection
To switch to an external clock on P2.0, configure P2.0 in Mode 0.
The external clock can be up to 20.24 MHz, provided that the toler-
ance is 1%. The external clock is divided by 2 internally on the part.
Example source code:
T1LD
= 0x80;
WATCHDOG
TIMER
INT. 32kHz
OSCILLATOR*
CRYSTAL
OSCILLATOR
XCLKO
XCLKI
T1CON = 0xC0;
IRQEN |= 0x10;
// Enable Timer1 interrupt
WAKE-UP
TIMER
OCLK
PLLKEY1 = 0xAA;
// Switch to external clock
PLLCON = 0x4;
32.768kHz
10.24MHz
PLL
P2.0/EXTCLK
PLLKEY2 = 0x55;
POWKEY1 = 0x1;
// Enter NAP mode
I 2 C
UCLK
ANALOG
PERIPHERALS
POWCON0 = 0x73;
POWKEY2 = 0xF4;
CORE
CD
/2 CD
HCLK
The selection of the clock source is in the PLLCON register. By
default, the part uses the internal oscillator feeding the PLL.
*32.768kHz ± 3%
Figure 12. Clocking System
External Crystal Selection
To switch to an external crystal, users must follow this procedure:
Power Control System
The core clock frequency is changed by writing to the POWCON0
register. This is a key protected register; therefore, Register POWKEY1
and Register POWKEY2 must be written to immediately before and
1.
2.
Enable the Timer1 interrupt and configure it for a timeout
period of >120 μs.
Follow the write sequence to the PLLCON register, setting the
after configuring the POWCON0 register. The following is a simple
example showing how to configure the core clock for 10.24 MHz:
POWKEY1 = 0x1;
OSEL bits to 1, 0 and clearing the EXTCLK bit.
POWCON0 = 0x78;
//Set core to max CPU
3.
4.
Force the part into nap mode by following the correct write
sequence to the POWCON register
When the part is interrupted from nap mode by the Timer1
//speed of 10.24 MHz
POWKEY2 = 0xF4;
A choice of operating modes is available on the ADuC7060. Table 31
interrupt source, the clock source has switched to the external
crystal.
Example source code:
describes what part is powered on in the different modes and
indicates the power-up time.
Table 32 gives some typical values of the total current consumption
T1LD
= 0x80; // 32,768 clock ticks
(analog + digital supply currents) in the different modes, depending
T1CON = 0xC0; // Periodic mode, enable
// timer, 32,768 Hz clock/1
IRQEN |= 0x10; // Enable Timer1 interrupt
// source
on the clock divider bits. The ADC is turned off. Note that these
values also include current consumption of the regulator and other
parts on the test board where these values are measured.
PLLKEY1 = 0xAA;
PLLCON = 0x2;
PLLKEY2 = 0x55;
POWKEY1 = 0x1;
// Switch to external crystal
// Enter nap mode
POWCON0 = 0x73;
POWKEY2 = 0xF4;
Rev. 0 | Page 30 of 100
相关PDF资料
EVAL-ADUC845QSPZ KIT DEV QUICK START ADUC845
EVAL-ADUM3070EBZ BOARD EVAL FOR ADUM3070
EVAL-SDP-CB1Z BOARD EVALUATION FOR SDP-CB1
EVB51JM128 BOARD EVAL FOR MCF51JM128 MCU
EVBQE128 BOARD EVAL FLEXIS QE128 FAMILY
F2068 PNL FIBERGLASS 18.44X14.44" WHT
FAN3100CMPX IC GATE DRVR SGL CMOS 2A 6MLP
FAN3111CSX IC GATE DVR 1CH 1A LOW SOT23-5
相关代理商/技术参数
EVAL-ADUC7060QSPZU1 制造商:Analog Devices 功能描述:
EVALADUC7060QSPZU2 制造商:Analog Devices 功能描述:QUICK START DEVELOPMENT SYSTEM - Boxed Product (Development Kits)
EVAL-ADUC7061MKZ 功能描述:开发板和工具包 - ARM Quick Start Development System RoHS:否 制造商:Arduino 产品:Development Boards 工具用于评估:ATSAM3X8EA-AU 核心:ARM Cortex M3 接口类型:DAC, ICSP, JTAG, UART, USB 工作电源电压:3.3 V
EVAL-ADUC7061MKZ 制造商:Analog Devices 功能描述:ADUC7061MKZ EvaluationBoard
EVAL-ADUC7061MKZU2 制造商:Analog Devices 功能描述:PN may be NE CE 制造商:Analog Devices 功能描述:EVALUATION CONTROL BOARD - Boxed Product (Development Kits)
EVAL-ADUC7121QSPZ 功能描述:BOARD EVALUATION FOR ADUC7121 RoHS:是 类别:编程器,开发系统 >> 通用嵌入式开发板和套件(MCU、DSP、FPGA、CPLD等) 系列:MicroConverter® ADuC7xxx 标准包装:1 系列:PICDEM™ 类型:MCU 适用于相关产品:PIC10F206,PIC16F690,PIC16F819 所含物品:板,线缆,元件,CD,PICkit 编程器 产品目录页面:659 (CN2011-ZH PDF)
EVALADUC7121QSPZU1 制造商:Analog Devices 功能描述:QUICK START DEVELOPMENT SYSTEM - Boxed Product (Development Kits)
EVAL-ADUC7122QSPZ 功能描述:BOARD EVALUATION FOR ADUC7122 RoHS:是 类别:编程器,开发系统 >> 通用嵌入式开发板和套件(MCU、DSP、FPGA、CPLD等) 系列:MicroConverter® ADuC7xxx 标准包装:1 系列:PICDEM™ 类型:MCU 适用于相关产品:PIC10F206,PIC16F690,PIC16F819 所含物品:板,线缆,元件,CD,PICkit 编程器 产品目录页面:659 (CN2011-ZH PDF)