Skip to content

Commit

Permalink
ad7124/de10nano: Change SYS SPI ref clock to 80MHz
Browse files Browse the repository at this point in the history
Signed-off-by: sarpadi <[email protected]>
  • Loading branch information
sarpadi committed Oct 28, 2024
1 parent f9b2042 commit dd76a34
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions projects/ad7124_asdz/de10nano/system_qsys.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ set_instance_parameter_value sys_gpio_in {irqType} {EDGE}
set_instance_parameter_value sys_spi {clockPolarity} {0}
set_instance_parameter_value sys_spi {targetClockRate} {20000000.0}

# change sys spi ref clock to 80MHz

remove_connection sys_clk.clk/sys_spi.clk
remove_connection sys_clk.clk_reset/sys_spi.reset

add_connection sys_dma_clk.clk sys_spi.clk
add_connection sys_dma_clk.clk_reset sys_spi.reset

#system ID
set_instance_parameter_value axi_sysid_0 {ROM_ADDR_BITS} {9}
set_instance_parameter_value rom_sys_0 {ROM_ADDR_BITS} {9}
Expand Down

0 comments on commit dd76a34

Please sign in to comment.