We use NRF52832 in the remote control of the car。We measured the average current of power consumption at about 1uA.Every 300ms, the current curve bounces to the transient current of 100uA, which we suspect is caused by charging and discharging of the DEC4 decoupling capacitor.We used the power supply of CR2032 to make 2000 samples. 10% of the samples ran out of battery power one month after they appeared. Theoretically, the battery could survive two years without changing.We did not initialize the idle pins, including NFC pin.I don't know what caused our power consumption. The real-time current of the sample retest was normal 1UA.We used SPIS, if configured "nrf_spis_pins_set(NRF_SPIS1,SPI_CLK_PIN,SPI_MOSI_PIN,NULL,SPI_CS_PIN)" This is going to affect the control of idle IO and I don't know what's wrong with the configuration。We also used PPI, mapped timer interrupt events, and GPIO rolloff。"nrf_power_system_off "The PPI needs to be turned off before the function, otherwise the power cannot be reduced.
“nrf_gpio_cfg(LED_RED, NRF_GPIO_PIN_DIR_INPUT,NRF_GPIO_PIN_INPUT_DISCONNECT,NRF_GPIO_PIN_PULLUP,NRF_GPIO_PIN_S0S1,NRF_GPIO_PIN_NOSENSE);”I don't really understand what NRF_GPIO_PIN_INPUT_DISCONNECT means,When I set pullup and disconnect ,the LED is off. set pulldown and disconnect the light is on .
- According to the block diagram, shouldn't the light be off as long as I set it off, no matter whether I pull it up or down?