采用外部时钟20Mhz,经过如下函数InitSysPll(XTAL_OSC,IMULT_20,FMULT_1,PLLCLK_BY_2);倍频为200Mhz。
但实际运行得出的结果总是20MHz,没有倍频,不知道什么原因,定时器如果定时为1s中断,测得结果为10s进入一次中断,求高手指点。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
采用外部时钟20Mhz,经过如下函数InitSysPll(XTAL_OSC,IMULT_20,FMULT_1,PLLCLK_BY_2);倍频为200Mhz。
但实际运行得出的结果总是20MHz,没有倍频,不知道什么原因,定时器如果定时为1s中断,测得结果为10s进入一次中断,求高手指点。
F28377D 中关于晶振的说明如下
数据手册写着内部晶振2是默认晶振源,提供时钟
可是在controlsuite的例程里,在配置时钟时,有这样一段话
// Note: The internal oscillator CANNOT be used as the PLL source if the
// PLLSYSCLK is configured to frequencies above 194 MHz.
TI员工 解释
内部时钟源的精度比较低,配置为高频系统时钟时误差会变大。