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.
WIP. Basic functionality working, PRs for extended features (non-volatile programming, alternate pin modes, etc.) are absolutely welcome.
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.
- Datasheet: https://www.silabs.com/documents/public/data-sheets/CP2130.pdf
- Interface specification: https://www.silabs.com/documents/public/application-notes/AN792.pdf