[89] GPIOTE: Static 400 µA current while using GPIOTE

This anomaly applies to IC Rev. Rev 1, build codes QFAA-B00, QFAB-B00, CIAA-B00.

It was inherited from the previous IC revision Engineering C.

Symptoms

Static current consumption between 400 µA and 450 µA when using SPIM or TWIM in combination with GPIOTE.

Conditions

  • GPIOTE is configured in event mode
  • TWIM/SPIM utilizes EasyDMA

Consequences

Current consumption higher than specified.

Workaround

Turn the TWIM/SPIM off and back on after it has been disabled. To do so, write 0 followed by 1 to the POWER register (address 0xFFC) of the TWIM/SPIM that must be disabled:
  • If TWIM0 or SPIM0 is used:
     
    *(volatile uint32_t *)0x40003FFC = 0;
    *(volatile uint32_t *)0x40003FFC;
    *(volatile uint32_t *)0x40003FFC = 1;
    
  • If TWIM1 or SPIM1 is used:
     
    *(volatile uint32_t *)0x40004FFC = 0;
    *(volatile uint32_t *)0x40004FFC;
    *(volatile uint32_t *)0x40004FFC = 1;
    
  • If SPIM2 is used:
     
    *(volatile uint32_t *)0x40023FFC = 0;
    *(volatile uint32_t *)0x40023FFC;
    *(volatile uint32_t *)0x40023FFC = 1;
    
Reconfiguration of TWIM/SPIM is required before next usage.