We use the following commands to set the state of GPIO pins to enable the use of the I2C (in fact we don’t use the I2C bus to this module, but the default configuration inhibits the use of the bus by any other peripheral. We run these commands as part of the initial configuration in production, the configuration is then stored and we can confirm that a power cycle of the module does not reset the setting.
However, We have now seen the these settings being set back to default, after a firmware upgrade and sometimes it seems they are reset completely randomly. We have a work around to always configure these pins at boot, but we need to understand why these configuration pins are loosing there settings. Can you help please?
AT+KGPIOCFG=1,1,1 // Set GPIO 1 to input and Pull up - required for I2C-2 operation
AT+KGPIOCFG=5,1,1 // Set GPIO 5 to input and Pull up - required for I2C-2 operation
Thanks in advance