Reg: Is the GPIO Issue in lpc17 series??

Started by prab...@yahoo.co.in April 5, 2010
Hi all,
We are changing from lpc 236x to 176x.These two are pin compatible.
If i run same code(gpio pin set/clr) which is written for 236x on 176x,GPIO's
functionalities(gpio pin set/clear) not working properly.

Is there any difference between them?
Thanks,

An Engineer's Guide to the LPC2100 Series

Hi:

Did you use the correct header file for the LPC1700 (lpc17xx.h).

The Register addresses change between the two families.

What is not working: set/clear?

Did you change the MASK register?

Regards,

Alex
--- In l..., prabuisin@... wrote:
>
> Hi all,
> We are changing from lpc 236x to 176x.These two are pin compatible.
> If i run same code(gpio pin set/clr) which is written for 236x on 176x,GPIO's
> functionalities(gpio pin set/clear) not working properly.
>
> Is there any difference between them?
> Thanks,
>

Is any one already experienced this Issue???

________________________________
From: "p...@yahoo.co.in"
To: l...
Sent: Mon, 5 April, 2010 10:46:58 AM
Subject: [lpc2000] Reg: Is the GPIO Issue in lpc17 series??

Hi all,
We are changing from lpc 236x to 176x.These two are pin compatible.
If i run same code(gpio pin set/clr) which is written for 236x on 176x,GPIO's
functionalities( gpio pin set/clear) not working properly.

Is there any difference between them?
Thanks,

Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/
Thanks for your update.
Yes i am using correcte lpc17xx header file(FreeRTOS Demo code).

Setting GPIO to high and read.It shows 0.
I am using Mask Register.

Thanks,

________________________________
From: alexander_ribero
To: l...
Sent: Mon, 5 April, 2010 8:57:40 PM
Subject: [lpc2000] Re: Reg: Is the GPIO Issue in lpc17 series??

Hi:

Did you use the correct header file for the LPC1700 (lpc17xx.h).

The Register addresses change between the two families.

What is not working: set/clear?

Did you change the MASK register?

Regards,

Alex

--- In lpc2000@yahoogroups .com, prabuisin@.. . wrote:
>
> Hi all,
> We are changing from lpc 236x to 176x.These two are pin compatible.
> If i run same code(gpio pin set/clr) which is written for 236x on 176x,GPIO's
> functionalities( gpio pin set/clear) not working properly.
>
> Is there any difference between them?
> Thanks,
>

The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/