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.

Suported 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.50.2.tar.gz (131.2 kB view details)

Uploaded Source

Built Distribution

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

pyftdi-0.50.2-py3-none-any.whl (148.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyftdi-0.50.2.tar.gz
Algorithm Hash digest
SHA256 487a675a75f03e53821004baf8e798788c9e456f358dd8bbd4437b8526312bec
MD5 9301b13494f5bd87a8b50e93251cfc1b
BLAKE2b-256 2d5d50209b73ad369985233818d69c5a4a187a47cc2880eeb043cebe07b976c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyftdi-0.50.2-py3-none-any.whl
  • Upload date:
  • Size: 148.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.0.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.7

File hashes

Hashes for pyftdi-0.50.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b5fed2348db2b342218d1d6f789c692732ba7570fccafe0b56de0a31a2efb526
MD5 23c2e29c10653b31ef43080dd0a5d0b0
BLAKE2b-256 dfd06907d46ef02d31a780956bc97a7516df0e8c624d8be68e92286f713b6059

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