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.

代码执行速度,除主频外,还有那些硬件因素有关

Other Parts Discussed in Thread: TMS320F28069

同一个软件(相同的 xx.out 文件),烧写在同样的芯片(TMS320F28069)上,但是不同硬件板上,(但是两个硬件板的主频都是90M),测试显示执行速度差30us。

测试软件描述: 只开 定时器1 中断,在中断代码中加入如附件所示的测试代码。

测试结果见图,低电平有效。

P.S.

GpioDataRegs.GPBCLEAR.bit.GPIO58 = 1;

for( i= 0;i<50;i++)

{

__asm(" RPT #7 || NOP");

__asm(" RPT #7 || NOP");

__asm(" RPT #7 || NOP");

__asm(" RPT #7 || NOP");

__asm(" RPT #7 || NOP");

__asm(" RPT #7 || NOP");

___asm(" RPT #7 || NOP");

}

GpioDataRegs.GPBSET.bit.GPIO58 = 1;

下图的,低电平有效时间约为75us

下图的,低电平有效时间约为48us