forked from M-Labs/artiq
si5324: 10 MHz ext_ref_frequency
* close #1254 * tested on innsbruck2 kasli variant * sponsored by Uni Innsbruck/AQT Signed-off-by: Robert Jördens <rj@quartiq.de>
This commit is contained in:
parent
c536f6c4df
commit
e0687b77f5
@ -67,6 +67,19 @@ pub mod crg {
|
||||
|
||||
#[cfg(si5324_as_synthesizer)]
|
||||
fn setup_si5324_as_synthesizer() {
|
||||
// 125 MHz output from 10 MHz CLKIN2, 504 Hz BW
|
||||
#[cfg(all(rtio_frequency = "125.0", si5324_ext_ref, ext_ref_frequency = "10.0"))]
|
||||
const SI5324_SETTINGS: si5324::FrequencySettings
|
||||
= si5324::FrequencySettings {
|
||||
n1_hs : 10,
|
||||
nc1_ls : 4,
|
||||
n2_hs : 10,
|
||||
n2_ls : 300,
|
||||
n31 : 75,
|
||||
n32 : 6,
|
||||
bwsel : 4,
|
||||
crystal_ref: false
|
||||
};
|
||||
// 125MHz output, from 100MHz CLKIN2 reference, 586 Hz loop bandwidth
|
||||
#[cfg(all(rtio_frequency = "125.0", si5324_ext_ref, ext_ref_frequency = "100.0"))]
|
||||
const SI5324_SETTINGS: si5324::FrequencySettings
|
||||
|
Loading…
Reference in New Issue
Block a user