Hello everyone.
I am having problems with P0.2 and P0.3 pins.
The trouble is that I can't define them as outputs. I have wrote a
small program:
#include <LPC214x.H>
void main(void)
{
PINSEL0 = 0;
IODIR0 = 0xFFFC;
IOPIN0 = 0x00FC;
PCON = 1; // IDLE mode
}
When program is executed, on pins P0.4..15 is logical '1', but on
these P0.2 and P0.3 - nothing. I connected a pull-up resistor to Vcc -
pins does not refuse it, so, I think, these two pins works like
inputs. But WHY?
I use KEIL µVision software.
P.S. sorry for my english ;)Message
Trouble with LPC2148 P0.2 and P0.3 pins
2006-02-11 by blasteriokas