This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Port pins too slow

Hi..

I have a problem with the xc167ci. Its I/O-Pins toggle too slowly. If I have e.g. pin 4^0 toggeling, it only works with 2,85 MHz instead of 40 MHz (system clock).
I use the following sourcecode:

while(1)
{
P9_0 = 0;
P9_0 = 1;
}
In EBC-Mode the pins are pretty fast, they work on a 25 ns basis. Why does that not work on normal I/O-Pin operations?

Thanks,
Erwin

0