jesd204sync: increase tolerance for coarse->final target in calibrate_sysref_target

There is plenty of slack (it only needs to meet timing at the RTIO frequency).
This commit is contained in:
Sebastien Bourdeauducq 2019-01-29 16:48:43 +08:00
parent ed6aa29897
commit 9d0d02a561
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ fn calibrate_sysref_target(rising_average: i32, falling_average: i32) -> Result<
((falling_average - (DDMTD_N - rising_average))/2 + DDMTD_N) % DDMTD_N
};
info!(" SYSREF calibration coarse target: {}", coarse_target);
reach_sysref_ddmtd_target(coarse_target, 4)?;
reach_sysref_ddmtd_target(coarse_target, 8)?;
let target = measure_ddmdt_phase();
info!(" ...done, target={}", target);
Ok(target)