Hi
We need to turn off (float or set to ground) the SDA and SCL lines on i2c2 when we go into a low power state. We can power down nicely, with around 5uA current, but these two GPIO stay high (3.3V) so when a chip is connected, they try to power it rather than let it sleep.
Our devicetree overlay includes the lines
&i2c2_sleep {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 2)>, <NRF_PSEL(TWIM_SCL, 0, 1)>;
low-power-enable;
bias-disable;
};
};
but despite this the pins still remain set high when the system sleeps.
We’ve tried setting the GPIO lines in code, and this has also had no effect.
Do you know the correct approach to do this?
Thanks, Tim