-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug
Description
Describe the bug
The sx126x driver leaves the DIO1 interrupt permanently enabled, resulting in excess power consumption.
For nRF SoC's, this means the GPIOTE peripheral is permanently enabled, increasing current draw by ~15uA.
Per the datasheet (Table 8-3), DIO1 is not driven as an output in Reset, Startup, or Sleep modes.
We can therefore safely turn off the interrupt in sleep mode.
Expected behavior
DIO1 pin should only have the interrupt enabled when it is actually needed (Not in sleep mode).
Impact
Minor, permanent +15uA to the current consumption of any application.
Environment (please complete the following information):
- Zephyr v2.4
Metadata
Metadata
Assignees
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug