Other Parts Discussed in Thread: LAUNCHXL-F28027
Tool/software: Code Composer Studio
Hello
I was trying to toggle the one pin of LAUNCHXL-F28027 using these codes:
while(1)
{
GPIO_setLow(myGpio, GPIO_Number_0);
GPIO_setHigh(myGpio, GPIO_Number_0);
}
The freq going out is around 900kHz. I am running at max speed of 60MHz.
Why is the driver together with "read-modify-write" code would take up to 30clock clycle or 30 instructions (say 1MhZ speed output from 60MHz and half the time of it toggle. 30MHz) from toggling from High to Low and vice versa?