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.
查看了一下.map文件
output attributes/
section page origin length input sections
-------- ---- ---------- ---------- ----------------
ramfuncs 0 003f6000 00000562 RUN ADDR = 00008000
003f6000 00000543 main.obj (ramfuncs:retain)
003f6543 0000001b f2802x_sysctrl.obj (ramfuncs)
003f655e 00000004 f2802x_usdelay.obj (ramfuncs)
也没看出问题啊。。。求救
你测试的时间是对的。只是你应该调用DELAY_US(x);
因为:
#define DELAY_US(A) DSP28x_usDelay(((((long double) A * 1000.0L) / (long double)CPU_RATE) - 9.0L) / 5.0L)
算一下,根据((a*1000 / 16.67) - 9) / 5 = 1200; a确实是98左右。