A SPI driver interface for ft232h with MPSSE
Project description
pyft232h
python based SPI driver for ft232h using mpsse mode.
Pre-Requisites
ftd2xx package must be installed. ftd2xx shall be installed using below command
pip install ftd2xx
Version Log
V1.0.0
- SPI write/read with Half/Full duplex support using MPSSE
- SPI MODE 0 alone is supported
BUILD and INSTALL
This package can be build and installed locally.
build the package
python -m build
install package locally
Install locally
python setup.py install --user
TESTS
tests directory has sample files to test the SPI over ft232h
test_spi_fd.py
This test file uses SPI full duplex mode. enables write and read both at a time.
python tests/test_spi_fd.py
test_spi_hd.py
This test file uses SPI half duplex mode. Use write/read once at a time.
python tests/test_spi_hd.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyft232h-1.0.1.tar.gz.
File metadata
- Download URL: pyft232h-1.0.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfbdf49b182b605f6adcb4819535e9b90d10a283a446a7b78c63beab5821e7fd
|
|
| MD5 |
653e2d6de8b82fafae955146ab7e9bd0
|
|
| BLAKE2b-256 |
1ba26f167b41024bada22231a2e4e89eb122517e502dd07e695cbf23097802fa
|
File details
Details for the file pyft232h-1.0.1-py3-none-any.whl.
File metadata
- Download URL: pyft232h-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
318a46b8c09d66e6abd3504e72a85bb59ebfd838d318b76744fcd2100428a805
|
|
| MD5 |
12d1be459cfd60f1efaf1abaa3de06c4
|
|
| BLAKE2b-256 |
745bace647b62960765526a4b2110ca1200f2b120f833fa3772d4e81d0e78910
|