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

Problem with fast GPIO on LPC2378

Hi,
I've a strange problem with fast GPIO on LPC2378.
Specifically, I can neither set nor reset the pin 4.1 of GPIO port, while I can set and reset pin 4.0, 4.2 and 4.3.
Moreover, if I execute the code step-by-step with Ulink2 debugger I find a problem also with pin 4.2. In fact with my oscilloscope I see that after the reset instruction
FIO4CLR = 0x04;
I see the level of the pin goes low but soon after it goes suddenly to high level.
Moreover if I watch the value of FIO4PIN on the watch window I see a value different from the one displayed by the peripheral window of FAST GPIO.
I suspect there is bad interaction between uVision and my software execution.
Is there any register I have to configure to avoid this strange behaviour?

Thanks and bye

Demis

0