Skip to main content

FTDI device driver (pure Python)

Project description

Documentation

PyFtdi documentation is available from https://eblot.github.io/pyftdi/

Overview

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

Modern FTDI devices include:

  • UART-only bridges

    • FT232R (single port, clock up to 6 MHz, 3Mbps)

    • FT230X (single port, clock up to 48 Mhz, 3Mbps)

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

    • FT2232D (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)

Other FTDI devices could also be supported (including FT232* devices), although these devices are not a primary goal for PyFtdi, and therefore have not been tested with PyFtdi.

Primary goals

PyFtdi currently supports the following features:

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

  • Bitbang/GPIO support

  • SPI master

  • I2C master

  • JTAG master

PyFtdi provides a pyserial compliant API, so it can be used as a drop-in module to access USB-serial converters based on FTDI devices.

Warning

Starting with version v0.40.0, several API changes are being introduced. While PyFtdi tries to maintain backward compatibility with previous versions, some of these changes may require existing clients to update calls to PyFtdi.

Do not upgrade to v0.40.0 or above without testing your client against the new PyFtdi releases. PyFtdi versions up to v0.39.9 keep a stable API with v0.22+ series.

See the Major Changes section on the online documentation for details about potential API breaks.

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.40.5.tar.gz (70.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pyftdi-0.40.5.tar.gz
  • Upload date:
  • Size: 70.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.5

File hashes

Hashes for pyftdi-0.40.5.tar.gz
Algorithm Hash digest
SHA256 e4c2e9f1d823b6188b129886beeda0608fb391e705b08f368d03af4203bf056a
MD5 9738c51661d23d5a16289a6dad8f11b1
BLAKE2b-256 ddbec5137098efd167a6921bb5086ad4345ca3820350116e53c7dd5ba5d8ce9b

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