mirror of https://github.com/m-labs/artiq.git
ad9912: add slack after prodid read
This commit is contained in:
parent
3b7971d15d
commit
74517107f0
|
@ -97,7 +97,7 @@ class AD9912:
|
||||||
prodid = self.read(AD9912_PRODIDH, length=2)
|
prodid = self.read(AD9912_PRODIDH, length=2)
|
||||||
if (prodid != 0x1982) and (prodid != 0x1902):
|
if (prodid != 0x1982) and (prodid != 0x1902):
|
||||||
raise ValueError("Urukul AD9912 product id mismatch")
|
raise ValueError("Urukul AD9912 product id mismatch")
|
||||||
delay(20*us)
|
delay(30*us)
|
||||||
# HSTL power down, CMOS power down
|
# HSTL power down, CMOS power down
|
||||||
self.write(AD9912_PWRCNTRL1, 0x80, length=1)
|
self.write(AD9912_PWRCNTRL1, 0x80, length=1)
|
||||||
self.cpld.io_update.pulse(1*us)
|
self.cpld.io_update.pulse(1*us)
|
||||||
|
|
Loading…
Reference in New Issue