Andreas Kasper

MC9S08GT60 Port Setting Problems

Discussion created by Andreas Kasper on Jul 20, 2006
Latest reply on Jul 28, 2006 by Shannon Roberts

Processor: MC9S08GT60.
I am using the Port B as a Output (PTB0 .. PTB7).
The ATD Function is disabled.
Every 200ms i toggle each Pin of Port B in a Timer Overflow Interrupt with the commands PINxx ^= 1;
In the majority of cases it works.
But several times the whole Port B changes his Output value after a few µs i have set them.
When i try this with a other Port (for Example Port D) it works every time.
Maybe someone can help me.