Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Thomls
PostPosted: Mar 08, 2012 - 05:22 PM
Newbie


Joined: Jun 16, 2011
Posts: 5


Hi,
I'm trying to communicate with an LCD screen using GPIOs. Since the LCD I own had data bus working on 5V, I use GPIO PB01-02-10-19-20-23-27-28 because they are 5V tolerant. For the control (WR, RD, etc), I use GPIO PA00-04-08-12-16-20.

The board I use is the EVK1100 powered by USB (and of course no EXT power). The problem is the following: When I set the power switch to EXT, it seems the board still continue to operate. The PWR led is still on.

About my code, to deal with GPIOs, I don't use anything else then:
gpio_enable_gpio_pin();
gpio_clr_gpio_pin();
gpio_set_gpio_pin();

Is it possible that the EVK1100 get power from GPIO to operate, if yes, is there a way to avoid it ?

Regards
Thomls
 
 View user's profile Send private message  
Reply with quote Back to top
Thomls
PostPosted: Mar 14, 2012 - 05:08 PM
Newbie


Joined: Jun 16, 2011
Posts: 5


Had to disable pull-up resistances...
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits