forked from M-Labs/artiq
1
0
Fork 0

phaser: add more slack during init. Closes #1757

This commit is contained in:
Sebastien Bourdeauducq 2021-10-10 16:18:55 +08:00
parent 501eb1fa23
commit 3c1cbf47d2
1 changed files with 1 additions and 0 deletions

View File

@ -203,6 +203,7 @@ class Phaser:
self.measure_frame_timestamp() self.measure_frame_timestamp()
if self.frame_tstamp < 0: if self.frame_tstamp < 0:
raise ValueError("frame timestamp measurement timed out") raise ValueError("frame timestamp measurement timed out")
delay(.1*ms)
# reset # reset
self.set_cfg(dac_resetb=0, dac_sleep=1, dac_txena=0, self.set_cfg(dac_resetb=0, dac_sleep=1, dac_txena=0,