forked from M-Labs/artiq
1
0
Fork 0

phaser: slow down spi a bit

This commit is contained in:
Robert Jördens 2016-10-12 14:37:43 +02:00
parent 3f1d96b68d
commit 4376ef5615
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ void ad9154_init(void)
ad9154_spi_clk_phase_write(0); ad9154_spi_clk_phase_write(0);
ad9154_spi_lsb_first_write(0); ad9154_spi_lsb_first_write(0);
ad9154_spi_half_duplex_write(0); ad9154_spi_half_duplex_write(0);
ad9154_spi_clk_div_write_write(11); ad9154_spi_clk_div_write_write(16);
ad9154_spi_clk_div_read_write(11); ad9154_spi_clk_div_read_write(16);
ad9154_spi_xfer_len_write_write(24); ad9154_spi_xfer_len_write_write(24);
ad9154_spi_xfer_len_read_write(0); ad9154_spi_xfer_len_read_write(0);
ad9154_spi_cs_write(CONFIG_AD9154_DAC_CS); ad9154_spi_cs_write(CONFIG_AD9154_DAC_CS);