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.

2812一条单指令究竟用了几个时钟周期?

Other Parts Discussed in Thread: TMS320F2812

我用的芯片是TMS320F2812,外部晶振是30MHz,PLL将主频设为150MHz,时钟周期6.67ns。

interrupt void  ADCINT_ISR(void)     // ADC中断函数

{

GpioDataRegs.GPASET.bit.GPIOA6=1;

PieCtrl.PIEACK.all=0x0001;        AdcRegs.ADC_ST_FLAG.bit.INT_SEQ1_CLR=1; AdcRegs.ADCTRL2.bit.SOC_SEQ1=1;

EINT;  

GpioDataRegs.GPACLEAR.bit.GPIOA6=1;

}

我用示波器查看GPIOA6脚波形是200ns,中间只有4条指令,时钟周期是6.67ns,这么会有200ns?一条指令究竟用了几个时钟周期?