Using Colibri T20 and Windows CE7.0 / Visual Studop 2008 C#, we have benchmarked the latency between GPIO pin toggles.
With Colibri Monitor 1.7 I have set all clocks to their max value (e.g. APB at 117MHz and CPU at 1GHz).
On the oscilloscope we can see that two consecutive toggles take a minimum of 5 useconds.
((byte*)pGPIORegs)[0x02C] = Convert.ToByte(“00100000”, 2); // OUTPUT 1
((byte*)pGPIORegs)[0x02C] = Convert.ToByte(“00000000”, 2); // OUTPUT 0
Why? Where is the bottleneck?