PINMODE effective for GPIO only?

Started by reich_wolfgang in LPC20007 years ago 3 replies

LPC24xx: For GPIO port pins, does the PINMODE pull up/down setting also have effect when the pin is configured not for GPIO, but for other...

LPC24xx: For GPIO port pins, does the PINMODE pull up/down setting also have effect when the pin is configured not for GPIO, but for other functions? The manual says "The PINMODE registers control the on-chip pull-up/pull-down resistor feature for all GPIO ports." I'm not sure if this means GPIO-accessible ports in general or only ports actually configured for GPIO function. -----------------...


GPIO issue on LPC2368

Started by danielgl88 in LPC20008 years ago 3 replies

I've met a confusing problem. GPIO pins supposed to work as a input/output that we've defined right? But the problem is I can made the GPIO-able...

I've met a confusing problem. GPIO pins supposed to work as a input/output that we've defined right? But the problem is I can made the GPIO-able pins on port2.x as GPIO, tested them and they work well. But when I try to define GPIO-able pins on port 0.x and 1.x it seems that they're not working. Is there any other state that I should define on these pins beside PINSEL, PINMODE, FIODIR? FYI, ...


I2s using GPIO

Started by suni in LPC20007 years ago

Hi , I am new bie in this field.I bought MCB2360 and trying to implement I2S using GPIO as in built I2S is limiting my requirement.I get I2S data...

Hi , I am new bie in this field.I bought MCB2360 and trying to implement I2S using GPIO as in built I2S is limiting my requirement.I get I2S data through this GPIO lines. AS of now, I tried the code to make 1 GPIO as a clock source and i did it. Let me know how to implement I2s in a systematic way.Thanks in advance. With Regards, Suneetha ------------------------------------


Extint3 and GPIO Interrupts

Started by prab...@yahoo.co.in in LPC20007 years ago 1 reply

Hi all, In LPC236x series,I have to support GPIO interrupts for two pins(in port 0 or port 2).I have also supported P2.13 as normal GPIO.Is...

Hi all, In LPC236x series,I have to support GPIO interrupts for two pins(in port 0 or port 2).I have also supported P2.13 as normal GPIO.Is it possible to support both features simultaneously?? Because,EINT3 channel is shared with GPIO interrupts.So i am assuming i have to configure p2.13 as external interrupt for supporting GPIO interrupt.If so,How can i support both features??? If ...


Question about JTAG pins as GPIO on LPC2148

Started by senhoruilson in LPC20008 years ago 4 replies

Hello All, im designing a weather datalogger using LPC2148 and i ran out of available GPIO pins to accomplish all the functions i need (...

Hello All, im designing a weather datalogger using LPC2148 and i ran out of available GPIO pins to accomplish all the functions i need ( unless i use the JTAG pins as GPIO ). So, here is my idea on how to use the share the JTAG pins without loosing the JTAG functionality completelly (i would share the JTAG pins with my LCD control GPIO pins .) I could have a jumper on a GPIO pin. ...


Reg: Is the GPIO Issue in lpc17 series??

Started by prab...@yahoo.co.in in LPC20007 years ago 3 replies

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...

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, ------------------------------------


5V GPIO output with single resistor

Started by Marko Pavlin in LPC200011 years ago 6 replies

I have 5V part connected to LPC2148 GPIO. Unfortunately, the input of 5V part has lower limit for VinH above 3,5V. Digital signals are generated...

I have 5V part connected to LPC2148 GPIO. Unfortunately, the input of 5V part has lower limit for VinH above 3,5V. Digital signals are generated by LPC, the 5V part is input only (not bidirectional). I checked one trick: I connected resistor between GPIO and 5V. Then I cleared IOPIN bit and switched GPIO direction IODIR bit. That's the logic: To set 0V: GPIO = 0, IODIR = output To set...


LPC2132 PWM6/GPIO Bug?

Started by sig5534 in LPC200011 years ago 3 replies

I am using the LPC2132/QFN64 on a project, where I have the PWM6 on Pin P0.9 (34) used as well as a GPIO output on Pin 0.10 (35). If I setup...

I am using the LPC2132/QFN64 on a project, where I have the PWM6 on Pin P0.9 (34) used as well as a GPIO output on Pin 0.10 (35). If I setup the P0.9 PWM6 on the PINSEL0, the GPIO output on P0.10 stops working! It is locked at LO output. If I set P0.9 for GPIO out or in, then P0.10 works fine. I've checked over my code now several times but there just isn't that much involved and I...


Simple GPIO not working completely?!

Started by active_si in LPC20008 years ago 3 replies

Hi! I have a MCB2300 board and I'm playing around with simple GPIO input/output. If I extend the blinky example from keil so that the P2.8...

Hi! I have a MCB2300 board and I'm playing around with simple GPIO input/output. If I extend the blinky example from keil so that the P2.8 is also "blinking" it works, but if I want to expand it so that any pin from the P0 would blink or take input it doesn't work. Also in the uVision debuger when I observe the Fast GPIO Port 0 and Fast GPIO Port 2 there is the difference where


about GPIO interrupt

Started by sukhdeep singh in LPC20009 years ago

i am using GPIO interrupt of LPC2378. how can i jump to interrupt routine. i have enabled interrupt usingIO0_INT_EN_R=1;second thing, interrupt...

i am using GPIO interrupt of LPC2378. how can i jump to interrupt routine. i have enabled interrupt usingIO0_INT_EN_R=1;second thing, interrupt flag is set only for slow GPIO pin change.but why not for Fast GPIO. Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ ------------------------------------


Gpio Problem

Started by Gigi in LPC200010 years ago 2 replies

Hello, This is my configuration PINSEL0= 0x00; // P0 come gpio IODIR0 = 0x001C1800; // P0_11, P0_18, P0_19,P0_20,...

Hello, This is my configuration PINSEL0= 0x00; // P0 come gpio IODIR0 = 0x001C1800; // P0_11, P0_18, P0_19,P0_20, output but the pin P0_11 non work as GPIO where is the problem??


Using P1.0 and P1.1 on 2214 as GPIO

Started by c.d. bell in LPC200012 years ago

Is is possible to use P1.0 and P1.1 as GPIO on the 2214? I've tried setting PINSEL2 to 4 (all GPIO except JTAG) but am unable to read the state...

Is is possible to use P1.0 and P1.1 as GPIO on the 2214? I've tried setting PINSEL2 to 4 (all GPIO except JTAG) but am unable to read the state of these pins or to toggle these pins in output mode. The user manual gives conflicting information... --------------------------------- Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football


LPC17xx GPIO bit-banding slower ?

Started by talikan in LPC20008 years ago 8 replies

Hello, I'm quite new to ARM programming and then I'm starting with something simple : experimenting with GPIO on my LPC1756. BTW, I'm using...

Hello, I'm quite new to ARM programming and then I'm starting with something simple : experimenting with GPIO on my LPC1756. BTW, I'm using Codesourcery G++ lite + Eclipse + JLINK, and my LPC1756 is running at 4MHz on the internal oscillator. My aim was to see how fast the GPIO could go... 1) using CMSIS' GPIO_SetValue and GPIO_ClearValue, I could reach 125kHz as output frequency. As I...


How can I control GPIO port2/3?

Started by janesleecn in LPC200013 years ago 3 replies

Hi, Dear all I'm using a LPC2214 in my project. and have released P2.31:8 as a GPIO but P2.7:0 as an external memory data bus....

Hi, Dear all I'm using a LPC2214 in my project. and have released P2.31:8 as a GPIO but P2.7:0 as an external memory data bus. Strangely, I can't control the behavior of P2.31:8 because I can't find PORT2's GPIO register(IOPIN2,IODIR2..). How can I do this? Tha


lpc2378 GPIO Interrupt

Started by sprupasinghe in LPC200010 years ago

Hello, I am a newbie to nxp and embedded programming in general. I have a lpc2378 with the mcb2300 dev board. I need to find out how to get...

Hello, I am a newbie to nxp and embedded programming in general. I have a lpc2378 with the mcb2300 dev board. I need to find out how to get gpio interrupts working. I can get the 4 external interrupts thats connected to p2.10..13 working. I have read that you can have any of the pins in PO or P2 as a gpio. I need upto 10 inputs for my program. I would greatly appreciate if anyone can ...


Re: lpc2378 GPIO Interrupt

Started by denv...@gmx.net in LPC200010 years ago

Hello, > I am a newbie to nxp and embedded programming in general. I have a > lpc2378 with the mcb2300 dev board. I need to find out how to...

Hello, > I am a newbie to nxp and embedded programming in general. I have a > lpc2378 with the mcb2300 dev board. I need to find out how to get gpio > interrupts working. I can get the 4 external interrupts thats connected > to p2.10..13 working. I have read that you can have any of the pins in > PO or P2 as a gpio. I need upto 10 inputs for my program. I would > greatly appreciate if anyon


Re: LPC2292: GPIO-output on P3.29 possible ???

Started by Anton Erasmus in LPC200012 years ago 2 replies

On 1 Jun 2005 at 13:43, alipowsky wrote: > I want to use P3.29 (Pin 27, P3.29/BLS2/AIN6) as GPIO (output) > The manual says it can be...

On 1 Jun 2005 at 13:43, alipowsky wrote: > I want to use P3.29 (Pin 27, P3.29/BLS2/AIN6) as GPIO (output) > The manual says it can be done by setting Bit 6 of PINSEL2 to zero. > > my testcode: > > PINSEL2 &= 0xffffffbf; // Reset PINSEL2.6 to config P3.29 as GPIO > IO3DIR |= 0x20000000; // Set P2.29 as output IO3SET =


LPC2368 and GPIO wake up seems to be broken in hardware...

Started by arti_tevs in LPC20007 years ago 4 replies

Hi folks. Already for several hours, I am trying to use GPIO interrupts (in this case special for P0.18) to wake up the CPU. Ok the setup is...

Hi folks. Already for several hours, I am trying to use GPIO interrupts (in this case special for P0.18) to wake up the CPU. Ok the setup is pretty easy: // react on falling edge IO0_INT_EN_F |= (1 < < 18); IO0_INT_EN_R |= (1 < < 18); // setup pin as input (with pull-up enabled) FIO0DIR &= ~(1 < < 18); PINSEL1 &= ~(3 < < 4); PINMODE1 &= ~(3 < < 4); // wake up on GPIO INTWAKE |= GPIO0


LPC1114 gpio problem

Started by Nishant Agrawal in LPC20006 years ago

Hello everyone, I am trying to use LPC1114 with Keil. The GPIO ports masked access does not seem to be working. I might be doing it all wrong...

Hello everyone, I am trying to use LPC1114 with Keil. The GPIO ports masked access does not seem to be working. I might be doing it all wrong so here is the code for output on port GPIO 0 bits 2,3 and 4. LPC_GPIO0-> DIR |= (1 <


GPIO - Pins

Started by Thomas Weber in LPC200013 years ago 10 replies

Could it be, that i have to pull-up all gpio-pins, i want use? I have a pull-down on a gpio-pin, because the wire is normally on...

Could it be, that i have to pull-up all gpio-pins, i want use? I have a pull-down on a gpio-pin, because the wire is normally on low, but the wire is never on a high level. Thomas