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.

TMS320F28034: 使用外部晶振问题

Part Number: TMS320F28034
Other Parts Discussed in Thread: TMS320F28377D,

这个芯片的例程中 部分代码有问题: SysCtrlRegs.CLKCTL.bit.XTALOSCOFF = 0;     // Turn on XTALOSC
     DELAY_US(1000L);                           // 1mS delay to ensure crystal  jq add 22-8-5,this function  not use in flash

这个函数 #define DELAY_US(A)  DSP28x_usDelay(((((long double) A * 1000.0L) / (long double)CPU_RATE) - 9.0L) / 5.0L) cmd选择RAM文件可以运行,选择Flash文件不可以运行,请问是什么原因?

 SysCtrlRegs.CLKCTL.bit.XTALOSCOFF = 0;     // Turn on XTALOSC 这个设置之后,必须延时吗?这点在手册上没有找到相关说明,而且 TMS320F28377D 的时钟函数例程中 并没有延时,想问是怎么回事。