TPL5010 Wireless Stick Lite

Hello Guys,

In order to assure the power consumption in deep sleep we have designed a PCB with TPL5010. Works perfect for lora, however for lorawan i’m having some issues.

First, for this application you need to know that I dont really care about downlinks, and the ADR could be also false.

The TPL5010 is responsible for cut the power from my board, in order to do that I need to simple put on IO on low and after in high.

However I’m not sure where should I use this function knowing that my board you be power off.

When I use in on this part of the code it just doesnt work, i think that can be related to the windows for downlink.

case DEVICE_STATE_SLEEP:
{
LoRaWAN.sleep(loraWanClass,debugLevel);
tpl_sleep();
break;
}

I would like to know where is the best option to use it.