Main Site Documentation

Hibernate and Interrupts


#1

Might hibernate functionality evolve to allow specific interrupts to wake a device up?


#2

You mean using ALARM? :slight_smile:


#3

I have an application where 3 pins are connected to switches and I want any one of those 3 to wake up the device. Other inputs can get triggered, but I don’t want them to wake the device.

EINT0 is only 1 interrup.

RTCAlarm is not quite right either for what I need…the system can’t hibernate for a specific period of time. I want user input to wake it.

-AP


#4

hibernate = everything is dead.You can only wakeup using a special pin. If you need multiple inputs then you can connect the inputs to or gate then to the processor.


#5

Maybe a dumb question that the data sheets say (I don’t remember seeing it anywhere though!)

What pin(s) return Fez to wake state? And does this apply only to EMX/Cobra, or the USBizi Fez line too?

Has anyone coded an example of how to use this?


#6

You need to look in user manual for each processor. Search for INTWAKE register description. This register controls what interrupt will wake up the processor.

Gus, after reading about that register it seems like you can set multiple bits to enable different interrupts to be a wakeup source. So you can have more than one pin for that. Correct me if I am wrong.


#7

IO0 USBizi or IO23 EMX/Embedded Master


#8

ok, so Loader button on Domino for instance should do this…


#9

http://ghielectronics.com/downloads/NETMF/Library%20Documentation/html/3a782fdf-ea3c-c29a-561b-a2efa9ef5174.htm