forked from M-Labs/artiq
runtime: support Kasli Si5324 bypass via rtio_clock=e
This commit is contained in:
parent
66a66b03b4
commit
a947867887
|
@ -137,7 +137,12 @@ fn setup_si5324_as_synthesizer() {
|
|||
|
||||
pub fn init() {
|
||||
#[cfg(si5324_as_synthesizer)]
|
||||
setup_si5324_as_synthesizer();
|
||||
{
|
||||
match get_rtio_clock_cfg() {
|
||||
RtioClock::Internal => setup_si5324_as_synthesizer(),
|
||||
RtioClock::External => si5324::bypass(si5324::Input::Ckin2)
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(has_drtio)]
|
||||
unsafe {
|
||||
|
|
|
@ -164,5 +164,6 @@ See :mod:`artiq.coredevice.i2c` for more details.
|
|||
Clocking
|
||||
++++++++
|
||||
|
||||
The KC705 supports an internal 125MHz RTIO clock (based on its crystal oscillator) and an external clock, that can be selected using the ``rtio_clock`` configuration entry.
|
||||
The KC705 supports an internal 125MHz RTIO clock (based on its crystal oscillator) and an external clock, that can be selected using the ``rtio_clock`` configuration entry. Valid values are ``i`` and ``e``, and the default is ``i``. The selected option can be observed in the core device boot logs.
|
||||
|
||||
On Kasli, when set to ``e``, the ``rtio_clock`` setting overrides the built-in (and variant-dependent) Si5324 synthesizer configuration and disables the Si5324. The user must apply a clock at the RTIO frequency on the Kasli front panel SMA. As the Si5324 is bypassed in this mode, its skew is deterministic, which is useful to distribute clocks externally to Kasli and Urukul when Urukul phase synchronization is desired.
|
||||
|
|
Loading…
Reference in New Issue