2010-06-22 12:03:22     blackfin gpio issues

Document created by Aaronwu Employee on Aug 22, 2013
Version 1Show Document
  • View in full screen mode

2010-06-22 12:03:22     blackfin gpio issues

Appalayagari Sreedhar (INDIA)

Message: 90537   

 

Hi,

 

I am working with BF527 based custom board. 2009R1-RC9 distribution.

 

I am trying to configure the PH11 pin as gpio and set the value to High (1)

 

my code

 

if (gpio_request(GPIO_PH11, device)) {

                printk(KERN_ERR ": Failed to request GPIO_%d\n", GPIO_PH11);

                gpio_free(GPIO_PH11);

                return -EBUSY;

        }

        gpio_direction_output(GPIO_PH11,1);

 

        gpio_set_value(GPIO_PH11,1);

 

But when I probe the pin the voltage shown is 1.97 V.  Ideally it should be 3.3v around.

 

Can anyone tell me where i am doing the mistake.

 

Thank you.

QuoteReplyEditDelete

 

 

2010-06-22 15:01:48     Re: blackfin gpio issues

Mike Frysinger (UNITED STATES)

Message: 90540   

 

what is your Vddext ?

QuoteReplyEditDelete

 

 

2010-06-22 15:41:04     blackfin gpio issues

Michael Hennerich (GERMANY)

Message: 90542    This doesn't look like a SW issue - it sounds more like something is tying PH11 down or driving PH11 to GND.

QuoteReplyEditDelete

 

 

2010-06-28 09:36:24     Re: blackfin gpio issues

Appalayagari Sreedhar (INDIA)

Message: 90683   

 

Hi Mike and Micheal,

 

Due to bad resistance the problem occurred.

 

Thank you for the support.

Attachments

    Outcomes