Author Topic: Can we set MCU in powerDown with RFM69 in listen or Recieve Mode?  (Read 202 times)

engrkhawaja

  • Newbie
  • *
  • Posts: 3
    • View Profile
Hi,

I am trying to implement low power mode in reviving node.

This node just receive data , so I was thinking to put it to listen or receive mode and set MCU sleep forever, and wake up on interrupt from DIO. But it seems it doesn't work,

Any Suggestion or Correction?

Doesnt RFM69 when set in Receive mode keeps on listening until data is received and interrupt is generated and wakes up MCU to receive data?

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 5222
  • Country: us
    • View Profile
    • LowPowerLab
Re: Can we set MCU in powerDown with RFM69 in listen or Recieve Mode?
« Reply #1 on: April 29, 2018, 11:11:14 AM »
Sure you can, that's what the DIO0 is for. You just have to set it up for that task. The MCU will wake on a hardware interrupt. The easiest way is to just put the radio in RX mode and then sleep the MCU until a packet is ready.

There is also ListenMode now included in the main branch of the RFM69 library and several threads in the forum illustrate how to use listen mode.