r/flipperzero • u/L0cfrub Writer/Editor • Sep 25 '24
How to test your I2C devices using Flipper Zero
The I2C (Inter-Integrated Circuit) bus is widely used for connecting lower-speed peripheral chips (slaves) to the MCU (master). The industry offers a wide range of chips with I2C support: EEPROM, GPIO expanders, ADCs, sensors, and even small displays. Each I2C slave has an address, by which the I2C master accesses it. I2C uses only 3 wires: SCL (clock), SDA (data), and GND.
Flipper Zero can be turned into an I2C bus testing and debugging tool — thanks to the i2c Tools app.
With the i2c Tools app, you can: - Scan the I2C bus to detect all connected slaves (as shown in the pic) - Sniff all packets on the bus - Send 1-byte data to I2C slave
11
u/WhoStoleHallic Sep 25 '24
Suggestion: Add links to these info posts to the sub wiki -> Community Resources section, so there's an easy spot to go to look them up.
1
u/orphanfour Sep 26 '24
Needs to support I2C serial eeprom dumping and burning.
1
u/CioncoSenpai99 Sep 26 '24
Sometimes I used this at work and it's pretty useful, be careful that you need pullup in the line and 3.3v logic.
1
u/Alienhaslanded Sep 30 '24
I just use an oscilloscope. But I guess this is useful too for our of pocket troubleshooting.