Skip to content

Rust driver for the Silicon Labs CP2130 SPI to USB IC

Notifications You must be signed in to change notification settings

rust-iot/rust-driver-cp2130

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust CP2130 Driver

A driver for the Silicon Labs CP2130 USB->SPI bridge IC, exposing an embedded-hal compatible interface as well as a command line utility for interacting with (and testing interaction with) CP2130 devices.

Status

WIP. Basic functionality working, PRs for extended features (non-volatile programming, alternate pin modes, etc.) are absolutely welcome.

Build Status GitHub tag Crates.io Docs.rs

Open Issues

Getting started

You can install the utility with cargo install driver-cp2130 or grab a pre-compiled release from here

You may wish to copy 40-cp2130.rules to /etc/udev/rules.d to allow all users with plugdev permissions to interact with the CP2130 device.

References