完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
大家好
在文档 sprugv2f 3.1.1 Initialization to PLL Mode里面描述了配置PLL的过程 我对第2、3步有点疑问,原文如下 " 2. Check the status of BYPASS bit in SECCTL register, execute following steps if BYPASS == 1 (if bypass enabled), if BYPASS == 0 then Jump to Step 3 a. In MAINPLLCTL1, write ENSAT = 1 (for optimal PLL operation) b. In PLLCTL, write PLLEN = 0 (bypass enabled in PLL Controller mux) c. In PLLCTL, write PLLENSRC = 0 (enable PLLEN to control PLL Controller mux) d. Wait 4 cycles of the reference clock CLKIN (to make sure the PLL Controller mux switches properly to the bypass) e. In SECCTL, write BYPASS = 1 (bypass enabled in PLL mux) f. In PLLCTL, write PLLPWRDN = 1 (power down the PLL) g. Wait for at least 5 μs based on the reference clock CLKIN (PLL power down toggling time) h. In PLLCTL, write PLLPWRDN = 0 (power up the PLL. Jump to Step 4 3. Enable BYPASS in the PLL Controller a. In PLLCTL, write PLLEN = 0 (bypass enabled in PLL Controller mux) b. In PLLCTL, write PLLENSRC = 0 (enable PLLEN to control PLL Controller mux) " 这里我的疑问是,根据上文,BYPASS == 1的时候执行步骤2,BYPASS == 0的时候执行步骤3 可在步骤2里面有e项再次执行了将BYPASS置1的操作,而步骤3里面没有对BYPASS进行操作。 所以我理解这样执行的结果是,经过2或3的步骤之后,BYPASS的值会保持不变,即执行前是0或1, 执行之后也依旧是0或1。 由于手头的板卡还没有制板完毕,所以还仅仅是停留在文档的角度,没有实际尝试。 请问我这么理解有什么问题吗? ------------------ 另外就是我觉得 Table 4-3 PLL Secondary Control Register (SECCTL) Field Descriptions 里面有一点错误, OUTPUT DIVIDE的描述里面的最后一句,4h - Fh = ÷5 to ÷16. Divide frequency by 5 to divide frequency by 80. 最后是否应该是16而不是80. |
|
相关推荐
6 个讨论
|
|
|
你的理解是正确的,在13,14步是最终的PLL模式设置。
13. In SECCTL, write BYPASS = 0 (enable PLL mux to switch to PLL mode) 14. In PLLCTL, write PLLEN = 1 (enable PLL Controller mux to switch to PLL mode) 在BIOS_MCSDKpdk_C6670_1_1_2_6packagestiplatformevmc6670lplatform_libsrc中evmc6670.c提供了实际的代码示例。 |
|
|
|
|
|
|
|
kingnet_52004 发表于 2018-8-6 08:06 谢谢! 经过你的肯定,我又仔细看了一下文档,结合 Figure 1-1 PLL and PLL Controller Block Diagram 与 2.3 PLL Control Register and Secondary Control Register,以及 mcsdk_2_01_02_06/tools/program_evm/gel/evmc6678l.gel 内 init_PLL() 的代码, 觉得大概明白了,这里的bypass有的是在说PLL MUX,有的是在说PLL Controller MUX。 所以我之前产生疑问还是对PLL这两部分的概念没有弄清楚。 |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
594 浏览 0 评论
1647 浏览 0 评论
2089 浏览 0 评论
为啥BQ7693003DBTR芯片在和BQ769X0盒子通讯时收不到信号?
1538 浏览 0 评论
DSP 28027F 开发板 XDS100v2调试探针诊断日志显示了 Error -150 (SC_ERR_FTDI_FAIL)如何解决
1381 浏览 0 评论
AT32F407在USART2 DMA发送数据时,接包接到了要发送的数据,程序还是处于等待传输完成的标识判断中,为什么?
1790浏览 29评论
2819浏览 23评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
1747浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
1664浏览 14评论
两个TMP117传感器一个可以正常读取温度值,一个读取的值一直是0,为什么?
1677浏览 13评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-12 19:57 , Processed in 0.999171 second(s), Total 74, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1099