mirror of https://github.com/m-labs/artiq.git
urukul: add comment and doc about the AD9910 MASTER_RESET
This commit is contained in:
parent
f17c0abfe4
commit
9ad1fd8f25
|
@ -166,9 +166,12 @@ class CPLD:
|
||||||
def init(self):
|
def init(self):
|
||||||
"""Initialize and detect Urukul.
|
"""Initialize and detect Urukul.
|
||||||
|
|
||||||
Resets the DDS and verifies correct CPLD gateware version.
|
Resets the DDS I/O interface and verifies correct CPLD gateware
|
||||||
|
version.
|
||||||
|
Does not pulse the DDS MASTER_RESET as that confuses the AD9910.
|
||||||
"""
|
"""
|
||||||
cfg = self.cfg_reg
|
cfg = self.cfg_reg
|
||||||
|
# Don't pulse MASTER_RESET (m-labs/artiq#940)
|
||||||
self.cfg_reg = cfg | (0 << 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:
|
||||||
|
|
Loading…
Reference in New Issue