From 4376ef561528b72c4e99e258f9edfd0a854491e6 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Wed, 12 Oct 2016 14:37:43 +0200 Subject: [PATCH] phaser: slow down spi a bit --- artiq/runtime/ad9154.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/runtime/ad9154.c b/artiq/runtime/ad9154.c index 31704bc3d..5bc5e49e2 100644 --- a/artiq/runtime/ad9154.c +++ b/artiq/runtime/ad9154.c @@ -16,8 +16,8 @@ void ad9154_init(void) ad9154_spi_clk_phase_write(0); ad9154_spi_lsb_first_write(0); ad9154_spi_half_duplex_write(0); - ad9154_spi_clk_div_write_write(11); - ad9154_spi_clk_div_read_write(11); + ad9154_spi_clk_div_write_write(16); + ad9154_spi_clk_div_read_write(16); ad9154_spi_xfer_len_write_write(24); ad9154_spi_xfer_len_read_write(0); ad9154_spi_cs_write(CONFIG_AD9154_DAC_CS);