Hot swapping on an I2C bus + identification

SteveSFX

Well-known member
Hi all

I have an I2C bus running master on a 3.2 Teensy. I want to 'hot swap' extra I2C slave PCBS onto the I2C bus.

Now when I say 'hot swap', this can be done with the power off (so it isn't technically hot swapping), but if someone did do such a thing with the power on, would the I2C bus have a moment?
I have a feeling it's likely to freeze. I am using the I2C as module identification.

So, second question. What can I use to give my slave PCBS an I2C address each? I am thinking of ATtiny85's doing nothing but acting as a slave I2C address, as they are pretty small and cheap. Wondered if there was anything else even easier that I could use.

Thank you!
 
Back
Top