aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--GameLogic/stm32/stm32 design4
-rw-r--r--GameLogic/stm32/stm32Design.md16
2 files changed, 16 insertions, 4 deletions
diff --git a/GameLogic/stm32/stm32 design b/GameLogic/stm32/stm32 design
deleted file mode 100644
index 6b46af3..0000000
--- a/GameLogic/stm32/stm32 design
+++ /dev/null
@@ -1,4 +0,0 @@
-Pin layout stm32:
-
-
-Pin layour FPGA:
diff --git a/GameLogic/stm32/stm32Design.md b/GameLogic/stm32/stm32Design.md
new file mode 100644
index 0000000..e3adba0
--- /dev/null
+++ b/GameLogic/stm32/stm32Design.md
@@ -0,0 +1,16 @@
+Pin layout stm32:
+
+PA5 / D13: SPI clock
+PA7 / D11: SPI data MOSI
+PA9 / D8: SPI cs
+
+PB4 / D5: button 1
+PB5 / D4: button 2
+PB6 / D10: button 3
+PB8 / D15: button 4
+
+
+Pin layour FPGA:
+JB 7: SPI clock
+JB 8: SPI data
+JB 9: SPI cs