Case File: Two Devices, One Address
I2C connects many chips to two wires, and each chip answers to its own address: two chips with the same address garble each other and look like a random fault. Decode the address byte of every captured frame into a 7-bit address and a read or write, find the devices that share an address, flag the reserved addresses, and turn the two data bytes of a 12-bit two's complement temperature sensor into degrees. Run it on buses that you cannot see. The bus is generated for you alone.
Case File: Two Devices, One Address
I2C connects many chips to two wires, and each chip answers to its own address: two chips with the same address garble each other and look like a random fault. Decode the address byte of every captured frame into a 7-bit address and a read or write, find the devices that share an address, flag the reserved addresses, and turn the two data bytes of a 12-bit two's complement temperature sensor into degrees. Run it on buses that you cannot see. The bus is generated for you alone.
In this lesson:
- i2c
- bus
- sensors
- two's complement
- python
- case-file
This lesson is part of a paid plan
Upgrade to Pro to unlock this course, its labs and its exam.
View Pricing Plans