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

Uploaded Python 3

File details

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

File metadata

  • Download URL: spukhafte-cdce9xx-0.9.1.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.1.tar.gz
Algorithm Hash digest
SHA256 81c7e24fc51046046e50b2085a25bd2a00b35f2def79f0e0c5944ebd85df226b
MD5 56486484082fa226812f2a5efd41b2e4
BLAKE2b-256 945dc3e6871f23af9ca128fdc5a3a65e16f56654073ee268160e30f337f8642b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spukhafte_cdce9xx-0.9.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa6e2ddbfdb3dc72227c04e1aaf0a36fe137a4ad462d60bfa0bf9074d75f5869
MD5 e7e4f2e6e294364d3a5010277444dd38
BLAKE2b-256 03c03e90339ca8dd31b985e0fb98a7162bde0722001ba32f2a1b38428c8faa6b

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