How to Reset slave devices
Posted: Thu Mar 28, 2019 7:44 pm
Hello everyone,
A noob question.. i have an ESP32 that has 2 attiny85 slaves on the I2C and a I/O expander as well(tca9555). I would like to be able to reset the slaves in case of lack of response. The tca9555 has something called power on reset and no Reset pin. From what i understand if i hook up the attiny Reset pin to the Esp32 En pin when the esp resets(by pressing the button) the attiny will also reset? Will the tca9555 do the same?
If i want to reset only the slaves should I hook the attiny reset pin and the tca9555 vcc pin to a IO on the ESP32 and set it to high? And when i want to reset the slaves just low the pin? Is this a correct approach? Thanks for your patience!
A noob question.. i have an ESP32 that has 2 attiny85 slaves on the I2C and a I/O expander as well(tca9555). I would like to be able to reset the slaves in case of lack of response. The tca9555 has something called power on reset and no Reset pin. From what i understand if i hook up the attiny Reset pin to the Esp32 En pin when the esp resets(by pressing the button) the attiny will also reset? Will the tca9555 do the same?
If i want to reset only the slaves should I hook the attiny reset pin and the tca9555 vcc pin to a IO on the ESP32 and set it to high? And when i want to reset the slaves just low the pin? Is this a correct approach? Thanks for your patience!