mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-19 00:16:29 +08:00
phaser: error on startup kernel
This commit is contained in:
parent
4e60a6ac71
commit
89a30b6f7c
@ -26,7 +26,7 @@ class StartupKernel(EnvExperiment):
|
||||
AD9516_LONG_INSTRUCTION | AD9516_LONG_INSTRUCTION_MIRRORED |
|
||||
AD9516_SDO_ACTIVE | AD9516_SDO_ACTIVE_MIRRORED)
|
||||
if self.ad9154.clock_read(AD9516_PART_ID) != 0x41:
|
||||
return
|
||||
raise ValueError("AD9516 not found")
|
||||
|
||||
# use clk input, dclk=clk/4
|
||||
self.ad9154.clock_write(AD9516_PFD_AND_CHARGE_PUMP, 1*AD9516_PLL_POWER_DOWN |
|
||||
|
Loading…
Reference in New Issue
Block a user