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.
- 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)
install dependencies
rustup target add riscv32imac-unknown-none-elf
cargo install --locked wlinkcargo build -rWith a WCH-Link(E) probe connected to your target and then:
cargo run -rsee examples dir
cargo run -r --example i2c-ssd1306