aboutsummaryrefslogtreecommitdiff
path: root/GameLogic/stm32/stm32Design.md
diff options
context:
space:
mode:
Diffstat (limited to 'GameLogic/stm32/stm32Design.md')
-rw-r--r--GameLogic/stm32/stm32Design.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/GameLogic/stm32/stm32Design.md b/GameLogic/stm32/stm32Design.md
new file mode 100644
index 0000000..f4569d2
--- /dev/null
+++ b/GameLogic/stm32/stm32Design.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] .