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

LPC2468 - No effect on writing FIO-Registers

Hello together,

at the moment I am porting some code for LPC2468 from GCC to Realview.
I got stuck, when I recognized that changing the FIODIR or FIOSET/CLR/FIOwhatever-registers does NOT effect the state of the selected pins.
They stay at about 2.5V, which means, they are still configured as inputs. Off course I set them to be outputs by writing '00' to the related PINSEL- and '1' to the FIODIR-register
Same code worked pretty well on GCC, reprogramming the Target with GCC-compiled code works also well, so there should be no problem with the hardware. According to the debug-mode the contents of the GPIO-registers are as expected, but the actual state of the pin stays the same.

By now I couldn't figure it out, so I hope, you might get me a hint.

Regards,
Frank

0