Skip to main content
This topic has been closed for replies.

5 replies

anis
Visitor II
May 17, 2011 7:31 AM UTC
Posted on May 17, 2011 at 09:31

Hi Michael,

There is an example of button interrupt in the WIU folder in the examples provided with the standard library.

Best regards,

STARM

mpj
mpjAuthor
Associate
May 17, 2011 7:31 AM UTC
Posted on May 17, 2011 at 09:31

Hi,

Can someone point me to a button interrupt example for the STR910-EVAL board.

Thanks

Michael

stefano239955_stm1_stmicro
Associate III
May 17, 2011 7:31 AM UTC
Posted on May 17, 2011 at 09:31

Hi,

I'm trying to use the WIU demo.

If I contine to press the button the IRQ is always asserted.

Could you let me know if is possible to assert the irq only

with a rising or falling edge?

mpj
mpjAuthor
Associate
May 17, 2011 7:31 AM UTC
Posted on May 17, 2011 at 09:31

Thank you.

Michael

stefano239955_stm1_stmicro
Associate III
May 17, 2011 7:31 AM UTC
Posted on May 17, 2011 at 09:31

hi,

I found the problem in WIU example

I need to detect a usb cable removal so I'm trying to use pin P75

as USB voltage detecting.

In the example I changed the output pin to P70 and

when I change the output state the WIU_PR bit related to this

pin is set.

The GPIO7OUT is configured as 0x0001

I'd like to know if this is a normal behavior.