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

Status of I2C pins and GPIOs in System OFF mode

What is the status of I2C pins and GPIO pins in the System OFF mode? Do they float once the SOC enters SYSTEM OFF mode? Here the accelerometer we are using consumes high current when its I2C pins are floating. So it is critical to keep it not floating even in the SYSTEM OFF mode.

We are using softdevice 110 v8 and nRF1822 soc.

Parents
  • The gpio will keep its state in system OFF mode. The twi (i2c) pins are configured as inputs with pull-up resistor (typ. 13kohm):

    #define SCL_PIN_CONF        ((GPIO_PIN_CNF_SENSE_Disabled << GPIO_PIN_CNF_SENSE_Pos)    \
                                | (GPIO_PIN_CNF_DRIVE_S0D1     << GPIO_PIN_CNF_DRIVE_Pos)   \
                                | (GPIO_PIN_CNF_PULL_Pullup    << GPIO_PIN_CNF_PULL_Pos)    \
                                | (GPIO_PIN_CNF_INPUT_Connect  << GPIO_PIN_CNF_INPUT_Pos)   \
                                | (GPIO_PIN_CNF_DIR_Input      << GPIO_PIN_CNF_DIR_Pos))
    
    #define SDA_PIN_CONF        SCL_PIN_CONF
    
Reply
  • The gpio will keep its state in system OFF mode. The twi (i2c) pins are configured as inputs with pull-up resistor (typ. 13kohm):

    #define SCL_PIN_CONF        ((GPIO_PIN_CNF_SENSE_Disabled << GPIO_PIN_CNF_SENSE_Pos)    \
                                | (GPIO_PIN_CNF_DRIVE_S0D1     << GPIO_PIN_CNF_DRIVE_Pos)   \
                                | (GPIO_PIN_CNF_PULL_Pullup    << GPIO_PIN_CNF_PULL_Pos)    \
                                | (GPIO_PIN_CNF_INPUT_Connect  << GPIO_PIN_CNF_INPUT_Pos)   \
                                | (GPIO_PIN_CNF_DIR_Input      << GPIO_PIN_CNF_DIR_Pos))
    
    #define SDA_PIN_CONF        SCL_PIN_CONF
    
Children
Related