mirror of https://github.com/m-labs/artiq.git
ad53xx: ignore F3 (reserved)
Signed-off-by: Robert Jördens <rj@quartiq.de>
This commit is contained in:
parent
bbac92442f
commit
8c5a502591
|
@ -176,7 +176,7 @@ class AD53xx:
|
||||||
(AD53XX_CMD_SPECIAL | AD53XX_SPECIAL_CONTROL | 0b0010) << 8)
|
(AD53XX_CMD_SPECIAL | AD53XX_SPECIAL_CONTROL | 0b0010) << 8)
|
||||||
if not blind:
|
if not blind:
|
||||||
ctrl = self.read_reg(channel=0, op=AD53XX_READ_CONTROL)
|
ctrl = self.read_reg(channel=0, op=AD53XX_READ_CONTROL)
|
||||||
if ctrl != 0b0010:
|
if (ctrl & 0b10111) != 0b00010:
|
||||||
raise ValueError("DAC CONTROL readback mismatch")
|
raise ValueError("DAC CONTROL readback mismatch")
|
||||||
delay(15*us)
|
delay(15*us)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue