I m working with the ESP32 and using ESP-IDF for programming the firmware of this system.
Initially i configured the I2C slave device with address , lets say 0x0A .Then after in runtime code execution I wrote a code for reconfiguration of the I2C slave this time i used different address lets say for 0x0B for configuration of the i2c slave . This time I'm getting error ----- i2c: i2c driver install error . I think I could not configure the slave device twice in single code execution or maybe I don'n know exactly how to do it in proper way. So can anyone help me with it.
Initially I'am trying to only reconfigure the slave device in runtime for multiple addresses. If it works then I'll have to control this action with master and master will send the different Slave address to overwrite the current address of slave.