Part 3: I2C
~60-75 min
In this module, you'll move beyond GPIO to a communication protocol — I2C.
What You'll Do
- Exercise A: Bus Scan - set up an I2C bus on the uFerris board and discover what devices are connected
- Exercise B: GPIO over I2C - use the TCA6424 I/O expander to control GPIO pins over I2C, replicating what you did with direct GPIO
- Exercise C: Adaptation Challenge - read a button input through the I/O expander, controlling an LED entirely over I2C
- Cross-HAL Comparison - inspect how rp2040-hal and stm32f4xx-hal handle I2C