Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

what can be wrong

2005-09-12 by relentless_6995

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?














	
}

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.