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.

CC1110指令执行时间问题



大家好,

我想问下我将CC1110的时钟频率设置成26Mhz,然后写一个简单的程序如下:
 
    P0DIR |= 0x01;
    while(1){
        P0_0 = ~P0_0;
    }
让P0_0输出一个方波,用示波器去抓发现方波的周期约307ns左右,也就是说执行P0_0 = ~P0_0这条指令用了153.5ns左右。
看下芯片手册一条指令周期是一个时钟,那一个指令应该是1/26us = 38ns左右。
 
然后我用类似的方法看触发外部中断后到进入中断服务程序的时间大概是10~20us左右,这也大大超过计算值。
这个会是什么原因。