We are using a TMS570LS20x USB Stick for development hardware and the Code Composer Studio compiler (with HALCOGEN providing the setup parameters).
This seems to be running much slower than I would expect for a processor of this power. To test the speed of the GPIO pins we have implemented the pin toggle code in assembler from application note spna138. This toggles bits 0,2,4,6 with a jump between the set and clear.
Monitoring a pin on the oscilloscope, we see a high time of 158nS and low time of 154nS. With an internal clock frequency of 140MHz(7.14nS) this would imply 22 system clock cycles per instruction! Also however, with this code, should we also see a 2:1 high to low ratio as there is a jump after the set.
I would have expected a pulse width of closer to 21nS. Even with VCLK at 100MHz(10nS) I would expect 30nS.
Can you suggest what we might have done wrong?
Philip