hi,
i’m trying to set high the first 16 pins on my board. This is the code i run:
PINSEL0 = 0;
IODIR0 = 0xFFFFFFFF;
IOSET0 = 0x0000FFFF;
//IOCLR0 = 0x0000FFFF;
the problem is that pin P0.3,P0. 4 and P0.11 are set to 1v after this code is run (the rest of the pins are set on 3.3 V). If i try to set the pins low all is fine. Any ideas about what may be wrong (code, power supply, fried outputs) ?
Edit:
the board that i am using is bought from Olimex. Here’s the schematic:http://olimex.com/dev/images/ARM/LPC/LP … -B-SCH.gif