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
1 changed files with 1 additions and 1 deletions

View File

@ -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)