Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.
/ i2c_obs Public archive

Latest commit

 

History

History
26 lines (19 loc) · 906 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 906 Bytes

I²C, oh! Big stretch.

Usage

The only board this is configured to run with right now is the iCEBreaker, but it only needs a single GPIO to interface with the I²C bus clock and a button to toggle stretching on and off, so it's easy to add support.

It can optionally write diagnostic information to UART. The iCEBreaker channels its UART over USB, but you could also just put it on a GPIO and use your own FTDI cable.

  • Connect PMOD1A1 to I²C SCL.
  • Optional: run py -m i2c_obs debugger to monitor.
  • Press the button.
  • (The debugger will report the measured bus speed.)
  • The bus is streeeeeeetched.
  • Press the button to stop.

Notes

  • I've templated this from sh1107, so maybe the repo in the state it is as of this line being written is a good source for an actual template/common base, future me?