| FAVOURITE | VERSION | RELEASED | COMMENTS | ||
|---|---|---|---|---|---|
| ☆ | 2.5.0 | 2026-05-26 | v2.5.0 adds an example application demonstrating fixed frequency output (app_fixed_clock) | VIEW HTML VIEW PDF | ZIP |
| View older versions | |||||
| 2.4.1 | 2025-08-27 | Minor update to resolve build warnings when compiling with -Wextra. | ZIP | ZIP | |
| 2.3.1 | 2024-10-18 | ZIP | ZIP | ||
Summary¶
This library provides software that, together with the xcore.ai application PLL, provides a PLL that will generate a clock that is phase-locked to an input clock.
It supports both Look Up Table (LUT) and Sigma Delta Modulated (SDM) Digitally Controlled Oscillators (DCO), a Phase Frequency Detector (PFD) and configurable Proportional Integral (PI) controllers which together form a hybrid Software/Hardware Phase Locked Loop (PLL).
Examples are provided showing a master clock locking to a low frequency input reference clock, an I²S slave interface, and generating fixed frequency clocks without phase locking.
In addition, an API providing a range of fixed clocks supporting common master clock frequencies between 11.2896 MHz and 49.152 MHz is available in cases where phase locking is not required.
Features¶
High quality clock recovery using on-board PLL
Flexible clock reference (external pin or internal source)
Low resource usage
Optional Sigma-Delta Modulator
Fixed output clock option for typical audio master clocks
Hardware locks: fast and power efficient but there are a limited number per tile
Software locks: slower but an unlimited number can be used
Known issues¶
Use on xcore-400 devices may result in undesirable system wide effects with regards to clock muxing for DDR, MIPI etc (#88)
Development repo¶
Required tools¶
XMOS XTC Tools: 15.3.1
Required libraries (dependencies)¶
None
Support¶
This package is supported by XMOS Ltd. Issues can be raised against the software at www.xmos.com/support or using GitHub issues.
