工具与软件:
我的代码如下:
实际运行的打印内容如下:
实测时间和实际时间的偏差比较大、是因为我得到时间的方式不对、还是我的芯片在使用较长的晶振、除了问题所在?
我希望您能给我一些建议、谢谢。
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.
工具与软件:
我的代码如下:
实际运行的打印内容如下:
实测时间和实际时间的偏差比较大、是因为我得到时间的方式不对、还是我的芯片在使用较长的晶振、除了问题所在?
我希望您能给我一些建议、谢谢。
定义已经编译到 drivers.am263x.r5f.ti-arm-clang.debug.lib 中、该定义应该已包含在您的项目中。 例如、如果打开 ti_drivers_config.c、则可以看到 已被调用的 CycleCounterP_init (SOC_getSelfCpuClk ());。
只需包含 CycleCounterP.h 并 在您的代码中调用函数、就可以很好地进行编译和链接。