Skip to content

A PCB Business Card inspired by i2cdetect (i2c-tools)

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

embeddedboys/i2c-tools

Repository files navigation

i2c-tools Business Card

This project is inspired by I2CDetect Business Card.

In this project, we are using a RISC-V based CH32V203 MCU to scan the I2C bus. With a USB device controller, we can develop PC-side software to enable additional applications, such as i2ctransfer, and more.

TODO

  • Basic one-time scan
  • Continuous scan
  • refactor and build leds lib
  • PC-side software support
  • linux usb to i2c adapter driver
  • linux MFD (Multi-Function Device) driver (GPIO/I2C/SPI/UART)

Build

install dependencies

rustup target add riscv32imac-unknown-none-elf

cargo install --locked wlink
cargo build -r

Flash firmware

With a WCH-Link(E) probe connected to your target and then:

cargo run -r

Run examples

see examples dir

cargo run -r --example i2c-ssd1306

About

A PCB Business Card inspired by i2cdetect (i2c-tools)

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages