Skip to main content

Python3 I2C Driver & Application for TI CDCE9XX Clock Generators

Project description

TI CDCE9XX Clock Generator Driver and Application for Python3

This Python3 command line tool and library controls any of the Texas Instruments CDCE9xx family of programmable spread-spectrum clock generators on an I2C bus:

  • CDCE913/CDCEL913: 1 PLL, 3 Outputs
  • CDCE925/CDCEL925: 2 PLLs, 5 Outputs
  • CDCE937/CDCEL937: 3 PLLs, 7 Outputs
  • CDCE949/CDCEL949: 4 PLLs, 9 Outputs

Features and Benefits

  • One class instatiates objects for entire family of devices
  • Calculates PLL and PDIV configurations given input and desired output frequencies
  • Excludes PLL configurations with VCO harmonics in sensitive bands (like GPS)
  • Configure individual registers by name
  • Export and import configurations in JSON format
  • Detects platform and uses appropriate I2C bus

Dependencies

Requires:

  • Python >= 3.7
  • smbus >= 1.1
  • Adafruit-PlatformDetect >= 3.19.3

Installation

pip3 install spukhafte-cdce9xx

Usage

Command line tool:

cdce9xx -h

or in a Python3 program:

from spukhafte.cdce9xx import CDCE9XX

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please update tests as appropriate.

License

MIT

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

spukhafte-cdce9xx-0.8.2.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

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

spukhafte_cdce9xx-0.8.2-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file spukhafte-cdce9xx-0.8.2.tar.gz.

File metadata

  • Download URL: spukhafte-cdce9xx-0.8.2.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/17.1.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.3

File hashes

Hashes for spukhafte-cdce9xx-0.8.2.tar.gz
Algorithm Hash digest
SHA256 2494298af5a4a3e2772152b727954a060f2c56e0193d4fedd603b6301220eb92
MD5 6b1f6f04a0d5ff34580e666dc247e6ef
BLAKE2b-256 1f09af2a42e1a6baddf64d01bb736e82d26970ac0f873575f7e4f6d4c6b0401e

See more details on using hashes here.

File details

Details for the file spukhafte_cdce9xx-0.8.2-py3-none-any.whl.

File metadata

  • Download URL: spukhafte_cdce9xx-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/17.1.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.3

File hashes

Hashes for spukhafte_cdce9xx-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4966dda1529ab5f1a85d832f9ae1a14aff7f853c2c51d5f6248e8aa7cb943e33
MD5 23d8b5926b1ef1f7f785dee4a6fc7a62
BLAKE2b-256 514e4ae6b133ebc61d09e6c9d22b50607dba60dd6b4321514f3a3fb82ce33e30

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