mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-19 00:16:29 +08:00
phaser: slow down spi a bit
This commit is contained in:
parent
3f1d96b68d
commit
4376ef5615
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user