Anyone used RF IRQ Pin for RX callback to wake up MCU?

Hi,

I want the MCU to wake up when a message arrives.

I guess for this purpose there is the "RF IRQ" connection from pin 22 of the LoRa module to PA28 (see schematics).

The sandeepmistry lora library I use has the function "LoRa.setPins(ss, reset, dio0);" with "dio0 - new DIO0 pin to use, defaults to 2. Must be interrupt capable via attachInterrupt(...)".

So far, so good, I guess I can tell the library to use PA28 as interrupt pin.

BUT: is the lora ic configured that it uses its pin 22 (labeled "PA4/ADC4/DAC1") instead of pin 13 (labeled "dio0") as interrupt output?

Does anyone know this?
Or has found or uses a different way to wake up the mcu when a lora message arrives?

Have a nice day!

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.