mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-19 00:16:29 +08:00
phaser: fix fpga deviceclock divider
This commit is contained in:
parent
9b860b26e8
commit
cfd2fe8627
@ -49,7 +49,7 @@ class StartupKernel(EnvExperiment):
|
|||||||
|
|
||||||
# FPGA deviceclk, dclk/4
|
# FPGA deviceclk, dclk/4
|
||||||
self.ad9154.clock_write(AD9516_DIVIDER_4_3, AD9516_DIVIDER_4_BYPASS_2)
|
self.ad9154.clock_write(AD9516_DIVIDER_4_3, AD9516_DIVIDER_4_BYPASS_2)
|
||||||
self.ad9154.clock_write(AD9516_DIVIDER_0_0,
|
self.ad9154.clock_write(AD9516_DIVIDER_4_0,
|
||||||
(4//2-1)*AD9516_DIVIDER_0_HIGH_CYCLES |
|
(4//2-1)*AD9516_DIVIDER_0_HIGH_CYCLES |
|
||||||
(4//2-1)*AD9516_DIVIDER_0_LOW_CYCLES)
|
(4//2-1)*AD9516_DIVIDER_0_LOW_CYCLES)
|
||||||
self.ad9154.clock_write(AD9516_DIVIDER_4_4, 1*AD9516_DIVIDER_4_DCCOFF)
|
self.ad9154.clock_write(AD9516_DIVIDER_4_4, 1*AD9516_DIVIDER_4_DCCOFF)
|
||||||
|
Loading…
Reference in New Issue
Block a user