Add stlink pinout
authorKeith Packard <keithp@keithp.com>
Fri, 20 Jul 2012 18:08:22 +0000 (11:08 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 20 Jul 2012 19:04:52 +0000 (12:04 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/megametrum-v0.1/stlink-pins [new file with mode: 0644]

diff --git a/src/megametrum-v0.1/stlink-pins b/src/megametrum-v0.1/stlink-pins
new file mode 100644 (file)
index 0000000..71042ac
--- /dev/null
@@ -0,0 +1,41 @@
+       ST discovery card pins
+
+1      AIN-1
+2      JTCK
+3      GND
+4      JTMS
+5      NRST
+6      SWO
+
+MM misc connector
+
+1      GND
+2      reset_n
+3      boot0
+4      tx1
+5      rx1
+6      +3.3V
+7      GND
+8      jtms
+9      jtck
+10     jtdi
+11     jtdo
+12     jntrst
+13     sda2
+14     scl2
+15     pe1
+16     pe0
+
+For debugging:
+
+       ST      MM
+JTCK   2       9
+GND    3       7
+JTMS   4       8
+NRST   5       2
+
+MegaAccel:
+
+Jumpers
+PC0 (pin15) (blue)     PE0 (pin97)     accel_ref       (debug 16)
+PC1 (pin16) (green)    PE1 (pin98)     accel           (debug 15)