kasli/si5324: lock to 100 MHz with highest available bandwidth

This commit is contained in:
Robert Jördens 2018-03-01 14:49:48 +01:00
parent abd160d143
commit de63e657b8
1 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ fn startup() {
#[cfg(si5324_as_synthesizer)] #[cfg(si5324_as_synthesizer)]
fn setup_si5324_as_synthesizer() fn setup_si5324_as_synthesizer()
{ {
// 125MHz output, from 100MHz CLKIN2 reference, 9 Hz // 125MHz output, from 100MHz CLKIN2 reference, 586 Hz
#[cfg(all(rtio_frequency = "125.0", si5324_ext_ref))] #[cfg(all(rtio_frequency = "125.0", si5324_ext_ref))]
const SI5324_SETTINGS: board_artiq::si5324::FrequencySettings const SI5324_SETTINGS: board_artiq::si5324::FrequencySettings
= board_artiq::si5324::FrequencySettings { = board_artiq::si5324::FrequencySettings {
@ -123,7 +123,7 @@ fn setup_si5324_as_synthesizer()
n2_ls : 260, n2_ls : 260,
n31 : 65, n31 : 65,
n32 : 52, n32 : 52,
bwsel : 10, bwsel : 4,
crystal_ref: false crystal_ref: false
}; };
// 125MHz output, from crystal, 7 Hz // 125MHz output, from crystal, 7 Hz