aboutsummaryrefslogtreecommitdiff
path: root/pinout.md
diff options
context:
space:
mode:
authorUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2023-03-10 14:01:32 +0100
committerGitHub <noreply@github.com>2023-03-10 14:01:32 +0100
commit6d82f9e3d165e0200bed2f2784a1183f47b37fa3 (patch)
treea8ce1dbdc5c29fb7001b71f1bc5003055d303fa0 /pinout.md
parent586aded2dddf2e6101d2709e42bceccadb50e8a1 (diff)
parentc37397234534e9888dfeed9b1728c46646c33b58 (diff)
Merge branch 'lonkaars:dev' into dev
Diffstat (limited to 'pinout.md')
-rw-r--r--pinout.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/pinout.md b/pinout.md
new file mode 100644
index 0000000..f4569d2
--- /dev/null
+++ b/pinout.md
@@ -0,0 +1,33 @@
+Pin layout
+
+| pin STM | function |
+|---------|----------|
+| PA5 / D13 | SPI clock |
+| PA7 / D11 | SPI MOSI |
+| PA9 / D8 | SPI cs |
+| PB4 / D5 | button 1 |
+| PB5 / D4 | button 2 |
+| PB6 / D10 | button 3 |
+| PB8 / D15 | button 4 |
+
+| pin FPGA | function |
+|---------|----------|
+| JB 7 | SPI clock |
+| JB 8 | SPI data |
+| JB 9 | SPI cs |
+
+
+
+constraints:
+
+set_property PACKAGE_PIN A15 [get_ports clkSPI]
+
+set_property PACKAGE_PIN C15 [get_ports csSPI]
+
+set_property PACKAGE_PIN A17 [get_ports dataSPI]
+
+set_property IOSTANDARD LVCMOS33 [get_ports dataSPI]
+
+set_property IOSTANDARD LVCMOS33 [get_ports csSPI]
+
+set_property IOSTANDARD LVCMOS33 [get_ports clkSPI] .