14.4.6.4 Interrupt Handling

A supply voltage drop below the configured threshold value is indicated by an interrupt IRQ_7 (BAT_LOW).

Note: The AT86RF212B IRQ_7 (BAT_LOW) interrupt is issued only if the BATMON.BATMON_OK bit changes from one to zero.

IRQ_7 (BAT_LOW) interrupt is not generated under following conditions:

  • The battery voltage remained below 1.8V threshold value on power-on (the BATMON.BATMON_OK bit was never one), or
  • A new threshold is set, which is still above the current supply voltage (the BATMON.BATMON_OK bit remains zero).

When the battery voltage is close to the programmed threshold voltage, noise or temporary voltage drops may generate unwanted interrupts. To avoid this:

  • Disable the IRQ_7 (BAT_LOW) in the IRQ_MASK register and treat the battery as empty, or
  • Set a lower threshold value.