how to wake up atmega 328p from deep sleep using 2 wire interface address match?
Why two wires, one would be enough.
Do you mean wakeup if there is activity on an I2C interface ?
If it is I2C be far more specific about what you are trying to do. However, if the processor is in deep sleep it cannot be reading the I2C interface to check an address.
If the I2C device or SPI device is able to generate an interrupt, then an awake-upon-interrupt is possible.
You can also connect one of the I2C lines to an external interrupt. When something begins it will cause an interrupt which could cause it to wake up. However do not expect to get data from that as it probably will have passed before you can get to it unless the remote has the ability to extend it but not all I2C devices support that. It is tricky to say the least. Simple solution if the sender knows the target is asleep it could send a dummy message to wake the world up.
I don't see anything saying that it has to be enabled. Just assigning the Arduino an address in Wire.begin(addr) might be enough. have you tried that?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.