Calibration

Zynq UltraScale+ Device Technical Reference Manual (UG1085)

Document ID
UG1085
Release Date
2023-12-21
Revision
2.4 English

The clear signal used to reset the tick counter can be extended/delayed by logic that operates in conjunction with the fractional calibration value to provide fractional tick adjustment. More specifically, every time the fraction counter asserts its extend clear signal to the tick counter, the clear function to the tick counter stays asserted.

Any inaccuracy in the oscillator can be compensated for by adjusting the calibration value and making the remaining inaccuracy a fraction of a tick in every second. The impact of the remaining inaccuracy can be compensated for by using a fraction counter. Every 16 seconds, the accumulated inaccuracy can be approximated by a total number of ticks between zero and 16. This value is programmed in the fractional calibration segment of the calibration register. After every 16 seconds, the fraction counter starts incrementing from zero to this value. During the time the fraction counter is incrementing, the clear signal to the tick counter stays asserted. Therefore, the tick counter increments are delayed by that value of ticks every 16 seconds. When the fraction comparator determines that the fraction counter value is equal to the maximum fractional calibration value, the fraction comparator releases the clear signal of the tick counter. This clear signal allows the fractional counter to start incrementing again. The fractional calibration register also includes an enable bit. When this bit is a 1, the fraction comparator performs the operations associated with fractional calibration, including the tick counter extend clear signal.