Skip to main content

FTDI device driver (pure Python)

Project description

Documentation

The latest PyFtdi online documentation is always available from here.

Beware the online version may be more recent than the PyPI hosted version, as intermediate development versions are not published to PyPi.

PyFtdi documentation can be locally build with Sphinx, see the installation instructions.

Source code

PyFtdi releases are available from the Python Package Index from PyPi.

PyFtdi development code is available from GitHub.

Overview

PyFtdi aims at providing a user-space driver for popular FTDI devices, implemented in pure Python language.

Supported FTDI devices include:

  • UART and GPIO bridges

    • FT232R (single port, 3Mbps)

    • FT230X/FT231X/FT234X (single port, 3Mbps)

  • UART and multi-serial protocols (SPI, I2C, JTAG) bridges

    • FT2232C/D (dual port, clock up to 6 MHz)

    • FT232H (single port, clock up to 30 MHz)

    • FT2232H (dual port, clock up to 30 MHz)

    • FT4232H (quad port, clock up to 30 MHz)

Features

PyFtdi currently supports the following features:

  • UART/Serial USB converter, up to 12Mbps (depending on the FTDI device capability)

  • GPIO/Bitbang support, with 8-bit asynchronous, 8-bit synchronous and 8-/16-bit MPSSE variants

  • SPI master, with simultanous GPIO support, up to 12 pins per port, with support for non-byte sized transfer

  • I2C master, with simultanous GPIO support, up to 14 pins per port

  • Basic JTAG master capabilities

  • EEPROM support (some parameters cannot yet be modified, only retrieved)

  • Experimental CBUS support on selected devices, 4 pins per port

Supported host OSes

  • macOS

  • Linux

  • FreeBSD

  • Windows, although not officially supported

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

pyftdi-0.54.0.tar.gz (137.2 kB view details)

Uploaded Source

Built Distribution

pyftdi-0.54.0-py3-none-any.whl (144.8 kB view details)

Uploaded Python 3

File details

Details for the file pyftdi-0.54.0.tar.gz.

File metadata

  • Download URL: pyftdi-0.54.0.tar.gz
  • Upload date:
  • Size: 137.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.10

File hashes

Hashes for pyftdi-0.54.0.tar.gz
Algorithm Hash digest
SHA256 8df9af22077d17533d2f95b508b1d87959877627ea5dc2369056e90a3b5a232d
MD5 d8969beb9cd11c123f1249963bf8c0d8
BLAKE2b-256 49a36cd09c0493662b285b2ba87a08b1378a5b13e5cab44eb6a3f740c801c804

See more details on using hashes here.

File details

Details for the file pyftdi-0.54.0-py3-none-any.whl.

File metadata

  • Download URL: pyftdi-0.54.0-py3-none-any.whl
  • Upload date:
  • Size: 144.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.10

File hashes

Hashes for pyftdi-0.54.0-py3-none-any.whl
Algorithm Hash digest
SHA256 112f16ee5b2a2becb8f8df9dd40b3bba007589f34e7613024122d94bd56eb7d7
MD5 6617ed4b2c474945a1994c6769800ce9
BLAKE2b-256 17cea97811c3e7e2d5a9520b88801dcc70ac1b553ed31b9819b2fce14ffa9aa3

See more details on using hashes here.

Supported by

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