Skip to content

Commit

Permalink
ad7124: Change SPI mode and SPI target clk
Browse files Browse the repository at this point in the history
  • Loading branch information
sarpadi committed Oct 10, 2024
1 parent f9b2042 commit afce5b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions projects/ad7124_asdz/de10nano/system_qsys.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ set_instance_parameter_value sys_gpio_in {edgeType} {FALLING}
set_instance_parameter_value sys_gpio_in {generateIRQ} {true}
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}
set_instance_parameter_value sys_spi {targetClockRate} {5000000.0}
set_instance_parameter_value sys_spi {clockPhase} {1}
set_instance_parameter_value sys_spi {clockPolarity} {1}

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

0 comments on commit afce5b5

Please sign in to comment.