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)
  • Read and write 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.9.0.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.9.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spukhafte-cdce9xx-0.9.0.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.9.0.tar.gz
Algorithm Hash digest
SHA256 4f2579bb769cbd18a8bed6d73c62486ef0977c39b1b231911c6ad0731be2f8bd
MD5 06e6076a937f78e74fc7ccc3688c0ebd
BLAKE2b-256 40b1b3419830de138d0fc820bdc48273d4d7b7b75b102dd7f94b7959a33e393d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spukhafte_cdce9xx-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 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.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8af9c804b24bd788980dd2628aeda7686461f1b6b55d16ca9e458e742ac13357
MD5 3360ab1786545260c9393adc8020af26
BLAKE2b-256 5fdfca95a5a95619f8e780139e834221b3704bc580c4f913f7a1a3cbc2491148

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