Skip to content

This is an open source C/C++ library for Microchip's USB-to-SPI protocol converter chip MCP2210. It works under Linux.

Notifications You must be signed in to change notification settings

eduardoaugustojulio/MCP2210-Library

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCP2210-Library

This is an open source C/C++ library for Microchip's USB-to-SPI protocol converter chip MCP2210. It works under Linux. This library is released under Apache License, Version 2.0

The library uses signal11's hidapi. You can find the library documentations in the doc directory, or you can view online here. Some code examples are listed below:

Note, the compiled code needs root access to the device and need to be run using "sudo". You may need to add the provided udev rule (99-hid.rules) to the /etc/udev/rules.d directory.

To build use cmake:

sudo apt install libusb-1.0-0-dev libudev-dev -y
git glone project-url
cd MCP2210-Library/ && mkdir build
cd build/ && cmake .. && make

About

This is an open source C/C++ library for Microchip's USB-to-SPI protocol converter chip MCP2210. It works under Linux.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 74.3%
  • C++ 23.3%
  • CMake 2.4%