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.8.3.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.3-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spukhafte-cdce9xx-0.8.3.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.3.tar.gz
Algorithm Hash digest
SHA256 8298d44ad17b195f51bcd32ebc35d9b6f8d25646b2f3928b2aa1a0b4ff1a3505
MD5 9f636e733f00ffa5de0d85c877c7c551
BLAKE2b-256 381fc644c714d97c360b814f5908303b5fcaf085eebb61db41f7d95effccfac5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spukhafte_cdce9xx-0.8.3-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.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 24c55fe5b823b54539d9bf45ac8f67bd95a0802c1601ba8a3756927dcb8739e9
MD5 42b39a82c1c7daed0c18fbcd131a67b3
BLAKE2b-256 f633ff12b4e39be397ffa20198c103d28cdd9c12f936921d79e5cbc4aa5d21ff

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