AnsweredAssumed Answered

LRWAN_V1.1.1 example PA0 and PA4

Question asked by Lucas Rossouw on Oct 30, 2017
Latest reply on Oct 31, 2017 by Clive One

Hi,

I am using the B-L072Z-LRWAN1 board running the End-Node example.

I added 4 GPIO external interrupts on PA0,PA2,PA3 and PA4.

Before the the board goes into Stop Mode all 4 intterupts works as expected.

//----PA0, PA2, PA3 and PA4 EXTI works as expected

    DISABLE_IRQ();

    if ((lora_getDeviceState() == DEVICE_STATE_SLEEP))
    {
         LowPower_Handler();
    }
    ENABLE_IRQ();

//----after the Stop mode exit, I loose control over PA0 and PA4.

 

I added some debugging and on PA4 it seems that a software interrupt is generated after every lora txDone and rxDone...

 

I need some help in finding where these two pins are configured in the lora drivers.

 

Thanks,

Lucas.

Outcomes