Commit 33c12c63 authored by Robert Jordens's avatar Robert Jordens
Browse files

sayma_rtm: pulls on spi busses

parent 9c3a301d
...@@ -23,11 +23,14 @@ _io = [ ...@@ -23,11 +23,14 @@ _io = [
# HMC clocking chips (830 and 7043) # HMC clocking chips (830 and 7043)
("hmc_spi", 0, ("hmc_spi", 0,
Subsignal("clk", Pins("A17")), Subsignal("clk", Pins("A17"), Misc("PULLDOWN=TRUE")),
Subsignal("mosi", Pins("B16")),
Subsignal("miso", Pins("D9"), Misc("PULLDOWN=TRUE")),
# cs[0]=830 cs[1]=7043 # cs[0]=830 cs[1]=7043
Subsignal("cs_n", Pins("C8 D16")), # Watch out for the HMC830 SPI mode peculiarity. PULLUP CS and PULLDOWN
# CLK here, then bring the SPI core online (CS high, CLK low) and
# choose SPI mode by sequencing a rising edge on CS and CLK.
Subsignal("cs_n", Pins("C8 D16"), Misc("PULLUP=TRUE")),
Subsignal("mosi", Pins("B16"), Misc("PULLDOWN=TRUE")),
Subsignal("miso", Pins("D9"), Misc("PULLDOWN=TRUE")),
IOStandard("LVCMOS25") IOStandard("LVCMOS25")
), ),
("hmc7043_reset", 0, Pins("E17"), IOStandard("LVCMOS25")), ("hmc7043_reset", 0, Pins("E17"), IOStandard("LVCMOS25")),
...@@ -40,17 +43,17 @@ _io = [ ...@@ -40,17 +43,17 @@ _io = [
# DACs # DACs
("ad9154_rst_n", 0, Pins("U15"), IOStandard("LVCMOS25")), ("ad9154_rst_n", 0, Pins("U15"), IOStandard("LVCMOS25")),
("ad9154_spi", 0, ("ad9154_spi", 0,
Subsignal("clk", Pins("T13")), Subsignal("clk", Pins("T13"), Misc("PULLDOWN=TRUE")),
Subsignal("cs_n", Pins("U14")), Subsignal("cs_n", Pins("U14"), Misc("PULLUP=TRUE")),
Subsignal("mosi", Pins("V17")), Subsignal("mosi", Pins("V17"), Misc("PULLDOWN=TRUE")),
Subsignal("miso", Pins("R13"), Misc("PULLDOWN=TRUE")), Subsignal("miso", Pins("R13"), Misc("PULLDOWN=TRUE")),
IOStandard("LVCMOS25") IOStandard("LVCMOS25")
), ),
("ad9154_txen", 0, Pins("V16 U16"), IOStandard("LVCMOS25")), ("ad9154_txen", 0, Pins("V16 U16"), IOStandard("LVCMOS25")),
("ad9154_spi", 1, ("ad9154_spi", 1,
Subsignal("clk", Pins("J15")), Subsignal("clk", Pins("J15"), Misc("PULLDOWN=TRUE")),
Subsignal("cs_n", Pins("K18")), Subsignal("cs_n", Pins("K18"), Misc("PULLUP=TRUE")),
Subsignal("mosi", Pins("J18")), Subsignal("mosi", Pins("J18"), Misc("PULLDOWN=TRUE")),
Subsignal("miso", Pins("J16"), Misc("PULLDOWN=TRUE")), Subsignal("miso", Pins("J16"), Misc("PULLDOWN=TRUE")),
IOStandard("LVCMOS25") IOStandard("LVCMOS25")
), ),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment