forked from M-Labs/artiq
urukul: don't pulse DDS_RST on init
closes m-labs/artiq#940 Apparently, if the DDS are reset, every other time they don't work properly.
This commit is contained in:
parent
a185e8dc52
commit
f17c0abfe4
|
@ -169,7 +169,7 @@ class CPLD:
|
||||||
Resets the DDS and verifies correct CPLD gateware version.
|
Resets the DDS and verifies correct CPLD gateware version.
|
||||||
"""
|
"""
|
||||||
cfg = self.cfg_reg
|
cfg = self.cfg_reg
|
||||||
self.cfg_reg = cfg | (1 << CFG_RST) | (1 << CFG_IO_RST)
|
self.cfg_reg = cfg | (0 << CFG_RST) | (1 << CFG_IO_RST)
|
||||||
proto_rev = urukul_sta_proto_rev(self.sta_read())
|
proto_rev = urukul_sta_proto_rev(self.sta_read())
|
||||||
if proto_rev != STA_PROTO_REV_MATCH:
|
if proto_rev != STA_PROTO_REV_MATCH:
|
||||||
raise ValueError("Urukul proto_rev mismatch")
|
raise ValueError("Urukul proto_rev mismatch")
|
||||||
|
|
Loading…
Reference in New Issue