Hi everyone
I am using a dsPIC33EP. And I have configured the dsPIC in the 60MIPS mode. However, how can I check to see if the PIC is actually working under 60MIPS?
I wrote a simple code:
while(1) { _LATB5=~_LATB5; }
And on the oscilloscope it shows a square wave of around 1us. However, I dont understand the relation between the sample code and the Fcy.
Is it possible that two runs of the while loop will take 30 cycles?
Could anyone help me?
Thank you very much.
Best regards
Richie CHEN
I am using a dsPIC33EP. And I have configured the dsPIC in the 60MIPS mode. However, how can I check to see if the PIC is actually working under 60MIPS?
I wrote a simple code:
while(1) { _LATB5=~_LATB5; }
And on the oscilloscope it shows a square wave of around 1us. However, I dont understand the relation between the sample code and the Fcy.
Is it possible that two runs of the while loop will take 30 cycles?
Could anyone help me?
Thank you very much.
Best regards
Richie CHEN