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

ad9912: add slack after prodid read

This commit is contained in:
Robert Jördens 2018-02-22 11:49:37 +00:00 committed by Robert Jordens
parent 3b7971d15d
commit 74517107f0

View File

@ -97,7 +97,7 @@ class AD9912:
prodid = self.read(AD9912_PRODIDH, length=2)
if (prodid != 0x1982) and (prodid != 0x1902):
raise ValueError("Urukul AD9912 product id mismatch")
delay(20*us)
delay(30*us)
# HSTL power down, CMOS power down
self.write(AD9912_PWRCNTRL1, 0x80, length=1)
self.cpld.io_update.pulse(1*us)