Other Parts Discussed in Thread: Z-STACK
Hello,
I am working on a project where I need to wake up my MCU when I get an interrupt from a pin and then perform an I2C read from an other MCU. So far the way it works is that I notify the other processor of what I need to read and when its ready it pull down a pin and I service this interrupt. So far with the sleep timer when I am waiting for a response I keep the chip wake with a while loop in order to service the interrupt. I want though to wake up from the pin interrupt and perform my read in its ISR but so far I have not been able to set it as an interrupt pin and wake pin. I tried setting it up as wake up pin and then added the ISR to that pin but it did not work. I am using Zstack 1.2.2a HomeAutomation.
Thank you for your time
Nomikos Panagiotis