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.

TMS320F28335: 如何查看程序运行时间(GPIO翻转方法)

Part Number: TMS320F28335


有搜寻了以前的文章,有看到说

 

(想确定一段代码的运行时间(绝对值),最准确也是最简单直接的方法是在前后加GPIO翻转,通过示波器量测。如果是想知道对应CPU时钟,则可以反汇编计算对应的指令周期数。)

 

请问具体代码该如何写?