Have you set the pin function to be an ouptut? Krys --- In lpc2000@yahoogroups.com, "relentless_6995" <bobd@c...> wrote: > LPC2138 with IAR environment > > --- > volatile unsigned long ul0; > > // interrupts are disabled at this point to be sure > // they are not cause of problem > > IOCLR0 = 0x80000000; // gpio_RFMODEM_RESET_P0_31_o; > ul0 = IOPIN0; > > IOSET0 = 0x80000000; // gpio_RFMODEM_RESET_P0_31_o; > ul0 = IOPIN0; > > > ... function goes on > --- > > THE PROBLEM IS THE HIGH ORDER BIT IN ul0 IS NEVER SET AFTER READING > IOPIN0 - THE HIGH ORDER BIT DOES NOT REFLECT THE ACTUAL P0.31 OUTPUT > LEVEL THAT I SEE ON THE SCOPE - it always remains low while the > p0.31 output changes accordingly > > Tried on two sets of hardware ... it doesn't get any simpler ... > maybe I've been staring too long. Is there a problem in the part? > Anybody? > > > > > > > > > > > > > > > > }
Message
Re: what can be wrong
2005-09-12 by y4krys
Attachments
- No local attachments were found for this message.