-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Husky sampling clock phase is not consistent. #490
Comments
Updates all PLL registers, in the prescribed order, whenever any of them needs to be updated. Towards fixing #490. Functional (but not fully tested) for XIN case; not tested at all with external clock.
The issue is hard to explain without getting into details about PLL operation. However, when For the For the When the user sets This was well-intentioned, but it meant that for a given set of [target frequency, ADC frequency], you could end up with a different set of PLL settings depending on the sequence of Where this becomes a problem is when The fix involves setting the PLL parameters deterministically, so that any given set of [target frequency, ADC frequency] will always results in the same PLL settings. This means that changing At the same time, we're also changing the |
The relative phase between the target clock and the ADC sampling clock phase is not always consistent when
scope.clock.adc_mul
is changed, or when the frequency ofscope.clock.clkgen_src
is changed.Running
scope.clock.pll.recal()
and re-settingscope.clock.clkgen_src
appears to resolve the problem but more testing is needed.The text was updated successfully, but these errors were encountered: