打印

请教18F系列的PLL问题

[复制链接]
2282|3
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
hwrhys|  楼主 | 2012-8-2 13:53 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我打算使用PIC18LF46K80,该器件有个PLL功能,
  单片机在运行过程中,为了降低功耗,PLL功能可以用软件随时使能和禁止吗
????? 向广大同行请教。谢谢。
沙发
longjun3121| | 2012-8-2 14:11 | 只看该作者
你如果要使能且倍频时钟的话,就不能随便关掉了,你可以参考时钟切换降低功耗。在内部时钟和外部晶振之间切换,但是最好别关掉PLL,免得唤醒时切换时钟的连续性出问题!

使用特权

评论回复
板凳
1521732588| | 2012-8-3 16:28 | 只看该作者
数据手册里面有讲到
There is also an option for running the 4xPLL on any of
the clock sources in the input frequency range of 4 to
16 MHz.
The PLL is enabled by setting the PLLCFG bit
(CONFIG1H<4>) or the PLLEN bit (OSCTUNE<6>).
For the EC and HS modes, the PLLEN (software) or
PLLCFG (CONFIG1H<4>) bit can be used to enable
the PLL.
For the INTIOx modes (HF-INTOSC):
• Only the PLLEN can enable the PLL (PLLCFG is
ignored).
• When the oscillator is configured for the internal
oscillator (FOSC<3:0> = 100x), the PLL can be
enabled only when the HF-INTOSC frequency is
4, 8 or 16 MHz.

使用特权

评论回复
地板
diweo| | 2012-8-5 09:03 | 只看该作者
PLL从启用到稳定输出有约2ms的延时的,随意切换有可能影响程序运行

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

5

主题

50

帖子

0

粉丝