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

firmware/libboard_artiq/hmc830_7043.rs: add template for sys_ref phase configuration for dac1/dac2 and fpga

This commit is contained in:
Florent Kermarrec 2018-02-05 13:40:17 +01:00
parent e50bebb63d
commit e80b481032

View File

@ -180,10 +180,21 @@ mod hmc7043 {
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);
/* dac1 sysref digital coarse delay configuration (17 steps, 1/2VCO cycle/step)*/
write(0x0d6, 0);
/* dac1 sysref analog fine delay configuration (24 steps, 25ps/step)*/
write(0x0d5, 0);
/* dac2 sysref digital coarse delay configuration (17 steps, 1/2VCO cycle/step)*/
write(0x0ea, 0);
/* dac2 sysref analog fine delay configuration (24 steps, 25ps/step)*/
write(0x0e9, 0);
/* fpga sysref digital coarse delay configuration (17 steps, 1/2VCO cycle/step)*/
write(0x112, 0);
/* fpga sysref analog fine delay configuration (24 steps, 25ps/step)*/
write(0x111, 0);
Ok(())
}