首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >用于TMS320F2812的SYSBIOS上的PLL配置不工作

用于TMS320F2812的SYSBIOS上的PLL配置不工作
EN

Stack Overflow用户
提问于 2016-02-25 17:29:05
回答 1查看 158关注 0票数 0

我目前正尝试在xdctools 3.25.6.96版本的F2812平台上使用SYS/BIOS 6.37.5.35。

我遇到的问题是,当我试图设置PLL配置时,我会收到一个警告:

没有分配PLL类型,因此启动模块不会配置PLL。

这是因为Platform.xs中的以下代码

代码语言:javascript
复制
if (this.deviceName.match(/2837/) || this.deviceName.match(/2807/)) {
    var Boot = xdc.useModule('ti.catalog.c2800.initF2837x.Boot');

    Boot.configureClocks = true;
}
else {
    var Boot = xdc.useModule('ti.catalog.c2800.init.Boot');

    Boot.disableWatchdog = true;
    Boot.configurePll = true;
    Boot.pllcrDIV = 10;
    Boot.pllstsDIVSEL = 2;


    /*
     * Set the Boot.pllType based on device name.  We set pllType
     * to undefined for the devices that we don't support.
     */
    if (this.deviceName.match(/2802[0-9]/) ||
        this.deviceName.match(/2803[0-9]/) ||
        this.deviceName.match(/2805[0-9]/) ||
        this.deviceName.match(/2806[0-9]/)) {
        Boot.pllType = Boot.Type_2802x_2803x_2806x;
    }
    else if (this.deviceName.match(/2823[0-9]/) ||
        this.deviceName.match(/2833[0-9]/)) {
        Boot.pllType = Boot.Type_282xx_283xx;
    }
    else if (this.deviceName.match(/2834[0-9]/)) {
        Boot.pllType = Boot.Type_2834x;
    }
    else { 
        Boot.configurePll = false;    /* do not set up PLL */
        Boot.pllType = undefined;     /* unknown device */

        /* if get here the PLL type is not assigned, throw warning ... */
        this.$module.$logWarning("The PLL type is not assigned, so the Boot"
            + " module will not configure the PLL.", this);
    }
}

这是否意味着sys/bios中的2812不支持PLL配置?

感谢和问候,

尼基尔·科蒂安。

EN

回答 1

Stack Overflow用户

发布于 2016-03-07 21:17:19

我在文档中发现,PLL不能在SYS/BIOS上配置为2812。因此,需要通过设置PLLCR寄存器来配置PLL。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/35634213

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档