A digital frequency synthesizer for generating a clock signal with a nominal frequency of Fc/(N+K/L) Hz over each successive interval of L periods, where N, K and L are integers, and L>K, and wherein Fc is a system clock, comprising:
- comparator circuitry for organizing each set of L periods, including a first set of K periods and a second set of L-K periods, by interleaving two or more non-null subsequences of periods of the first set with two or more non-null subsequences of periods of the second set,
- a frequency divider receiving a signal with period Fc and an indication from the comparator circuitry for outputting as the clock, a fir signal having a frequency of Fc/(N+1) Hz, during each period of one of the subsequences of the first set, and outputting as the clock, a second signal having the frequency of Fc/N Hz, during each period of one of the subsequences of the second set,
- a counter for counting the periods of the clock such that periods of the first signal with the frequency Fc/(N+1) Hz are counted only during periods of the subsequences of the first set and periods of the second signal with the frequency of Fc/N Hz are counted only during periods of the subsequences of the second set,
- the comparator circuitry receiving the count of the counter and generating the indication for switching between outputting the first signal as the clock and outputting the second signal as the clock based on the count obtained from the counter.