This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

11uA to 30 uA low power pulses at 4ms intervals.

SDK16

S132

nrf52832

SES / Windows 10

After much searching this site and the web in general I'm reaching out for support.

While in low-power mode I'm seeing a pulse between 11uA and 30 uA every 4ms.  I'm pretty much down in the nA range  between pulses. 

I've verified it's not environmental as another device (legacy) appears to be clean.  Hardware is identical - so I'm thinking it's in my firmware,.

GPIOS are turned off as is the ADC.

Wondering if anyone else has seen this - what peripheral on the device would operate at this interval while in low power.  

Thanks in advance for any advice,

Peter

Parents Reply Children
  • Yes - That's how I'm triggering the 1 seconds pulse.  Im sure there's room for improvement there as well.  

    This project is a port from the 51 to 52.  In the 51 code there are multiple references to being able to directly control the power - for example:  

        NRF_UART0->POWER  = 1; // Universal Asynchronous Receiver / Transmitter 0
        NRF_SPI0->POWER   = 1; // Serial Peripheral Interface (Master) 0
        NRF_TWI0->POWER   = 1; // Two Wire Interface (Master) 0 Note: will not work without enabling this
        NRF_SPI1->POWER   = 0; // Serial Peripheral Interface (Slave) 1
        NRF_TWI1->POWER   = 0; // Two Wire Interface (Slave) 1
        NRF_SPIS1->POWER  = 0; // Serial Peripheral Interface 0
        NRF_GPIOTE->POWER = 1; // GPIO Tasks and Events
        NRF_ADC->POWER    = 0; // Analog-to-Digital Controller
        NRF_TIMER0->POWER = 1; // Timer / Counter 0
        NRF_TIMER1->POWER = 0; // Timer / Counter 1
        NRF_TIMER2->POWER = 0; // Timer / Counter 2
        NRF_RTC0->POWER   = 1; // Real Time Counter 0
        NRF_TEMP->POWER   = 1; // Temperature Sensor
        NRF_RNG->POWER    = 1; // Random Number Generator
        NRF_ECB->POWER    = 1; // Crypto ECB
        NRF_AAR->POWER    = 1; // Accelerated Address Resolver
        NRF_CCM->POWER    = 1; // AES CCM Mode Encryption
        NRF_WDT->POWER    = 0; // Watchdog Timer
        NRF_RTC1->POWER   = 1; // Real Time Counter 1
        NRF_QDEC->POWER   = 0; // Rotary Quadrature Decoder
        NRF_LPCOMP->POWER = 0; // Low Power Comparator

    I've not been able to find reference to equivalent functionality in SDK16. In
    the NRFX structures several/most of the "POWER" member.

    Peter

Related