Reverse engineering an unknown I2C protocol with a logic analyzer
Published on 2026-10-20 - 7 min read
A logic analyzer helps understand an I2C protocol without a datasheet.
Capture
Probes on SDA and SCL, capture during normal use. 8 MHz is sufficient.
PulseView decoding
The I2C decoder shows addresses, registres and data.
Register identification
By comparing captures with actions, we deduce each register function.
Driver reconstruction
Write an Arduino/Linux driver from identified registers.