2008-11-25 11:45:40     GPIO Wakeup with BF537 and uClinux-dist2008R1.5

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

2008-11-25 11:45:40     GPIO Wakeup with BF537 and uClinux-dist2008R1.5

Patrick Hotz (GERMANY)

Message: 65794   

 

Hi,

 

i have a new problem with my CM-BF537 Board.

I want to wake up the Blackfin with the PF4 gpio-port.

 

This is my config....

"Default Power Saving mode"

  (*) Sleep Deeper

"Power Management options"

  (*) Cause Wakeup Event by GPIO

  (4) Wakeup GPIO number

  GPIO Polarity

     (*) Active Low

 

I set the Blackfin into sleep mode during write "standby into /sys/power/state...

root:/dev> echo standby >/sys/power/state

Stopping tasks ... done.

Suspending console(s)

 

but i can´t wake it up......

 

can anybody help me?

 

Patrick

TranslateQuoteReplyEditDelete

 

 

2008-11-25 18:24:59     Re: GPIO Wakeup with BF537 and uClinux-dist2008R1.5

Robin Getz (UNITED STATES)

Message: 65804   

 

Patrick:

 

http://docs.blackfin.uclinux.org/doku.php?id=power_management_support

 

It depends on the part - On the 537, Hibernate - only can be waken up from (all of which are controlled in the VR_CTL register):

 

RTC event or assertion of the RESET pin

 

External GP event, or PHY event (only on one pin -  the PHY_INT/PH6).

 

Activity on the CANRX pin.

 

There is no way to wake up from PF4 from hibernate. You will need to stay at a higher power level.

 

-Robin

 

QuoteReplyEditDelete

 

 

2008-11-27 08:10:00     Re: GPIO Wakeup with BF537 and uClinux-dist2008R1.5

Patrick Hotz (GERMANY)

Message: 65906   

 

I have tried with "Sleep" mode instead "Deep Sleep" but there is the same problem.

 

The other problem i have is that i can´t read the gpio´s with the "simple-gpio-test".

 

root:/dev> simple-gpio-test gpio4

Going to sleep until the gpio goes high.

(if this is a button, you should push it

 

nothing happens although i set the GPIO4 (PF4 on BF537) on high.

 

 

I think i can´t read the states of the gpio´s.....

 

Is there any good way to read or set the values of the gpio´s ?

Attachments

    Outcomes