lsgunth / pyft232

Python bindings to d2xx and libftdi to access FT232 chips with the same interface as pyserial
GNU Lesser General Public License v2.1
11 stars 11 forks source link

Added support for the MPSSE, SPI and GPIO #13

Closed JulianS-Uni closed 5 years ago

JulianS-Uni commented 5 years ago

The modern modules FT232H, FT2232H and FT4232H do have one or more MPSSE units which can be programmed to create different bus systems. I added a class (MPSSE) which implements all the functions of the MPSSE. On top of this i added a class (SPI) which sets up the MPSSE to work as a SPI master. From a SPI master it is possible to create spiSlaves which are for the actual communication with other devices. I also added a GPIO and an InputOutput class which allow to use the MPSSE as a simple digital pin extension.

JulianS-Uni commented 5 years ago

Hi, i am happy you appreciate my work. I try to seperate my work into some smaller PR. But i dont really know much about git so ill try to my best.