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

High current consumption on setting pin configuration

Hi everybody, 

I work on custom board with the SDK 15.2.0 and the SoftDevice S140. 

I work on the ble_sdk_app_template example. I tested it on the nrf52840 DK and it work well. I have 1.5µA average current consumption in system off mode. I did the same on my custom borad and it work well. I have 44µA average current consumption in system off mode due to my board that cosumes about 40µA. I set my pinout configuration in custom_board.h file and I have the same average current consumption. But when I try to configure the pins I have a high current consumption on the ChipSelect pin of my board. 

Here an example of the pin configuration of the flash pin :

    /*** - FLASH pin config ***/
    nrf_gpio_cfg(
        IS25LP_CS,
        NRF_GPIO_PIN_DIR_OUTPUT,
        NRF_GPIO_PIN_INPUT_DISCONNECT,
        NRF_GPIO_PIN_NOPULL,
        NRF_GPIO_PIN_S0S1,
        NRF_GPIO_PIN_NOSENSE);
    nrf_gpio_cfg(
        IS25LP_WP,
        NRF_GPIO_PIN_DIR_OUTPUT,
        NRF_GPIO_PIN_INPUT_DISCONNECT,
        NRF_GPIO_PIN_NOPULL,
        NRF_GPIO_PIN_S0S1,
        NRF_GPIO_PIN_NOSENSE);
    nrf_gpio_cfg(
        IS25LP_HOLD,
        NRF_GPIO_PIN_DIR_OUTPUT,
        NRF_GPIO_PIN_INPUT_DISCONNECT,
        NRF_GPIO_PIN_NOPULL,
        NRF_GPIO_PIN_S0S1,
        NRF_GPIO_PIN_NOSENSE);
        

But the average current consumed goes to 84µA.
Is there any explanation for this increase of the current comsumption? 

Thank you in advance for your response.

EtienneD

Related