完善资料让更多小伙伴认识你,还能领取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这两部分的概念没有弄清楚。 |
|
|
|
|
|
只有小组成员才能发言,加入小组>>
TMS320F28377D:新做了以377d为芯片的板子,上电后芯片复位引脚出现方波请问如何解决?
1897 浏览 0 评论
TPS55340通电后输入端保险丝烧断,芯片输入和GND之间短路
3647 浏览 4 评论
5031 浏览 0 评论
请问如何用DM368对RGB格式的图片数据进行编码生成JPEG格式图片?
1734 浏览 1 评论
9372 浏览 8 评论
CC3100BOOST使用CC3200lunchXL进行烧录
669浏览 2评论
714浏览 1评论
TMS320F28034: 利用C2prog通过SCI给TMS320F28034烧录程序,出现错误提示:Bootloading... failed (invalid echo)!
675浏览 1评论
求DLPC350 Programmer’s Guide User's Guide 中文版说明书
1197浏览 1评论
1771浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-4-24 15:47 , Processed in 0.688005 second(s), Total 76, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号