Koheron / koheron-sdk

SDK for FPGA / Linux Instruments
https://www.koheron.com/software-development-kit/
Other
101 stars 41 forks source link

MMCM #518

Closed grahamnaylorccfe closed 4 years ago

grahamnaylorccfe commented 4 years ago

Is there any documentation anywhere on how to set the mmcm register? Presumably this sets the phase and source of the ADC sampling? thanks Graham

tvanderbruggen commented 4 years ago

Hi Graham,

You can use the adc-dac-bram design and the related script to determine the MMCM phase-shift for a given sampling frequency.

grahamnaylorccfe commented 4 years ago

Thanks for this Thomas. Is the procedure to initially set the value to 0 for mmcm in the clock configuration being tested and then from the plot find the value where the noise is lowest and flat. Then use that value as the mmcm value in the clock configuration in clock-generator.hpp? cheers Graham