ADI SHARC 学习之PLL

本文介绍了处理器中电源管理寄存器PMCTL和PMCTL1的功能及使用方法,包括PLL倍频器和分频器设置、旁路模式操作以及外围设备时钟控制等。同时还提供了一些确保处理器正常运行的时钟配置黄金法则。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

PLL Block Diagram

 

    image

 

    Power Management Registers (PMCTL, PMCTL1)The following sections describe the registers associated with the processors power management

functions.  

    The PMCTL register, shown in Figure A-2 is a 32-bit memory-mapped reg-ister. This register contains bits to control phase lock loop (PLL) mul-

tiplier and divider (both input and output) values, PLL bypass mode, and clock control for enabling peripherals (see Table A-3 on pageA-8). This

register also contains status bits, which keep track of the status of the CLK_CFG pins (RO). The reset value of PMCTL is dependent on the CLK_CFG

pins (bits 5–0 and 17–16).

   The PMCTL1 register, shown in Figure A-3 and described in Table A-4, contains the bits for shutting down the clocks to various peripherals and

selecting one of the three FIR/IIR/FFT accelerators. Writes to this register have an effect latency of two PCLK cycles.

 

image

 

 

image

 

image

 

Bypass Mode
Bypass mode must be used if any runtime VCO clock change is required. Setting the PLLBP bit bypasses the entire PLL circuitry. In bypass mode,

the core runs at CLKIN speed. Once the PLL has settled into the new VCO frequency, (which may take 4096 CLKIN cycles) the PLLBP bit may be

cleared to release the core from bypass mode

note:Only VCO frequency changes require bypass mode, therefore this mode is not intended as a standard operating mode.

 

Clocking Golden Rules
The five rules below should be followed to ensure proper processor operation.
1. After power-up the CLK_CFG pins should not exceed the maximum core speed.
2. Software should guarantee minimum/maximum CCLK speed.
3. Software should guarantee maximum VCO clock speed.
4. Bypass requires 4096 CLKIN cycles.
5. Post-divider changes require 14 CCLK cycles.

转载于:https://www.cnblogs.com/ldjrl2013/p/3953105.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值