2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

liboard_artiq/hmc830_7043: allow sysref digital/analog delay configuration (will need to be adjusted for jesd subclass1)

This commit is contained in:
Florent Kermarrec 2018-01-19 17:17:58 +01:00
parent d27727968c
commit 9eb13aba3c

View File

@ -170,9 +170,15 @@ mod hmc7043 {
info!("HMC7043 found");
}
info!("HMC7043 configuration...");
/* global configuration */
for &(addr, data) in HMC7043_WRITES.iter() {
write(addr, data);
}
/* sysref digital coarse delay configuration (18 steps, 1/2VCO cycle/step)*/
write(0x112, 0x0);
/* sysref analog fine delay configuration (24 steps, 25ps/step)*/
write(0x111, 0x0);
Ok(())
}
}