Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kestrel Collaboration
Kestrel LiteX
migen
Commits
33c12c63
Commit
33c12c63
authored
6 years ago
by
Robert Jordens
Browse files
Options
Download
Email Patches
Plain Diff
sayma_rtm: pulls on spi busses
parent
9c3a301d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
migen/build/platforms/sinara/sayma_rtm.py
migen/build/platforms/sinara/sayma_rtm.py
+13
-10
No files found.
migen/build/platforms/sinara/sayma_rtm.py
View file @
33c12c63
...
@@ -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"
)
),
),
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment