yish 发表于 2013-6-24 09:08
我按照官方的文档设定了AM335x_DDR3.mac;但是当调用宏的时候;
Mon Jun 24, 2013 09:05:33: C:\ti\AM335 ...
不好意思,这么晚才回复
可能是晶振要设置为25M,我上传了我的AM335x_DDR3.mac,,这个要修改一下的
arm_opp120_config()
{
__message "**** Subarctic ALL ADPLL Config for OPP == OPP100 is In Progress ......... \n";
get_input_clock_frequency();
/* luodefu modify - DEVKIT8600开发板外接25M晶振 */
if (clk_in == 25)
{
mpu_pll_config(clk_in, 24, 720, 1);
core_pll_config(clk_in, 24, 1000, 10, 8, 4);
ddr_pll_config(clk_in, 24, 303, 1);
per_pll_config(clk_in, 24, 960, 5);
disp_pll_config(clk_in, 24, 48, 1);
__message "**** Subarctic ALL ADPLL Config for OPP == OPP100 is Done ......... \n";
}
else if (clk_in == 24)
{
mpu_pll_config(clk_in, 23, 550, 1);
core_pll_config(clk_in, 23, 1000, 10, 8, 4);
ddr_pll_config(clk_in, 23, 303, 1);
per_pll_config(clk_in, 23, 960, 5);
disp_pll_config(clk_in, 23, 48, 1);
__message "**** Subarctic ALL ADPLL Config for OPP == OPP100 is Done ......... \n";
}
else
{
__message "**** Subarctic PLL Config failed!! Check SYSBOOT[15:14] for proper input freq config \n";
}
}
|