Skip to main content

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

  1. SPI write/read with Half/Full duplex support using MPSSE
  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyft232h-1.0.1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyft232h-1.0.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

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

Hashes for pyft232h-1.0.1.tar.gz
Algorithm Hash digest
SHA256 cfbdf49b182b605f6adcb4819535e9b90d10a283a446a7b78c63beab5821e7fd
MD5 653e2d6de8b82fafae955146ab7e9bd0
BLAKE2b-256 1ba26f167b41024bada22231a2e4e89eb122517e502dd07e695cbf23097802fa

See more details on using hashes here.

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

Hashes for pyft232h-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 318a46b8c09d66e6abd3504e72a85bb59ebfd838d318b76744fcd2100428a805
MD5 12d1be459cfd60f1efaf1abaa3de06c4
BLAKE2b-256 745bace647b62960765526a4b2110ca1200f2b120f833fa3772d4e81d0e78910

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page