![]() Each device has an address on the bus and will only speak when spoken to by the Master.įor the purposes of this article I shall just look at what can go wrong and how we might recover from it. With a potential multitude of devices hanging off this same bus, they must play nicely with each other, and in order to do this, there is often a Master and number of Slave devices. ![]() It is an incredibly useful interface and you can hang a multitude of very useful chips off just these two wires, for example Real-Time Clocks, EEPROM memories, Accelerometers, interface expands, etc. These should normally sit high at whatever voltage your system is running at ie 5V or 3V3. The i2c (Inter-IC Communication) Bus consists of 2 wires (hence often called Two-Wire Interface aka TWI when you want to avoid using the i2c licensed term) the Data (SDA) and Clock (SCL). Recover from and remove the bus lock-up condition.Prevent a bus-lockup from hanging your system. ![]() This article discusses techniques that you can use to try and make your system more fault-tolerant and attempt to recover from any errors. If you are trying to operate a remote or embedded system, this is not ideal. It’s not unheard of for the i2c bus to “lock-up” on you, which can stop your system from working.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |