Author Topic: Can RFM69 generate interrupt in Listen Mode?  (Read 170 times)

ray4452

  • Newbie
  • *
  • Posts: 1
Can RFM69 generate interrupt in Listen Mode?
« on: March 24, 2020, 08:37:42 AM »
As the question, I want to know could RFM69 generate an interrupt in Listen Mode? (default DIO0)
In Datasheet, it only said, "If a wanted signal is detected, the receiver is kept on and the data is demodulated.".
When I set RegOpMode to 0x44; // Listen Mode (+ STDBY Mode), it only saves the received data and does not generate an interrupt from DIO0.

How do I set it up? Or this is unreachable? Iím new here ....
Thank you!


Ray.

lemonforest

  • Newbie
  • *
  • Posts: 16
  • Country: us
  • breaking all the things
Re: Can RFM69 generate interrupt in Listen Mode?
« Reply #1 on: June 06, 2020, 12:41:03 AM »
if you define RF69_LISTENMODE_ENABLE, you can then use the sleepy listening stuff for dealing with that. I think one is that the tx unit needs to use the listenModeSendBurst as well.

Edit: had my face in the datasheet again today and bounced through listen mode stuff a bit. If you're setting registers yourself and if you've missed something, there may be things that aren't happening when a packet is received that would otherwise be happening if you define the listenmode build flag in your code. This snip from the datasheet shows that 2 of 3 possible settings on what to do after decoding a wanted packet will even raise a payloadready interrupt. Not saying that's your problem, just that it's one of several other register settings that you may need to set for your particular usage requirements.
« Last Edit: June 06, 2020, 07:51:25 PM by lemonforest »