summaryrefslogtreecommitdiff
path: root/usb/hid
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-05-14 22:38:17 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2012-05-14 22:38:17 +0200
commit8a09d657d42993d30d6fb8ecfcee2341dab794a7 (patch)
treee0fa3df0aa4f2312acf1f8c3cb726f9400fc87b2 /usb/hid
parent4c10034e25636ec298aa725bee9c80e869eeb6f6 (diff)
downloadsigrok-dumps-8a09d657d42993d30d6fb8ecfcee2341dab794a7.tar.gz
sigrok-dumps-8a09d657d42993d30d6fb8ecfcee2341dab794a7.zip
Move USB HID dumps to usb/hid/ subdir.
Diffstat (limited to 'usb/hid')
-rw-r--r--usb/hid/lisa_m_usbhid/README37
-rw-r--r--usb/hid/lisa_m_usbhid/lisa_m_usb_spi.srbin0 -> 3576 bytes
-rw-r--r--usb/hid/olimex_stm32-h103_usb_hid/README36
-rw-r--r--usb/hid/olimex_stm32-h103_usb_hid/olimex_stm32-h103_usb_hid.srbin0 -> 10797 bytes
4 files changed, 73 insertions, 0 deletions
diff --git a/usb/hid/lisa_m_usbhid/README b/usb/hid/lisa_m_usbhid/README
new file mode 100644
index 0000000..deaf551
--- /dev/null
+++ b/usb/hid/lisa_m_usbhid/README
@@ -0,0 +1,37 @@
+-------------------------------------------------------------------------------
+Lisa/M USB HID example (USB Full-Speed and SPI)
+-------------------------------------------------------------------------------
+
+This capture is taken from the libopencm3 example for a USB HID device on the
+Paparazzi Lisa/M board. In this applicaton an SPI accellerometer is read and
+the values are transmitted on a USB IN endpoint as mouse movement.
+
+Details:
+http://libopencm3.org
+http://libopencm3.git.sourceforge.net/git/gitweb.cgi?p=libopencm3/libopencm3;a=tree;f=examples/stm32/f1/lisa-m/usb_hid
+http://paparazzi.enac.fr/wiki/User/LisaM
+
+
+Logic analyser setup
+--------------------
+
+The logic analyzer used was an Openbench Logic Sniffer (at 50MHz):
+
+ Probe Signal
+ ---------------
+ 0 USB_DM
+ 1 USB_DP
+ 2 SPI_NCS
+ 3 SPI_SCK
+ 4 SPI_MOSI
+ 5 SPI_MISO
+
+The sigrok command line used was:
+
+ sigrok-cli -d 0:samplerate=50mhz:rle=on \
+ -p 1=USB_DM,2=USB_DP,3=SPI_NCS,4=SPI_SCK,5=SPI_MOSI,6=SPI_MISO \
+ --time=50ms -o lisa_m_usb_spi.sr
+
+The OLS can't actually capture 50ms, so it just captures as much as it can
+buffer. No triggering was used.
+
diff --git a/usb/hid/lisa_m_usbhid/lisa_m_usb_spi.sr b/usb/hid/lisa_m_usbhid/lisa_m_usb_spi.sr
new file mode 100644
index 0000000..33610fe
--- /dev/null
+++ b/usb/hid/lisa_m_usbhid/lisa_m_usb_spi.sr
Binary files differ
diff --git a/usb/hid/olimex_stm32-h103_usb_hid/README b/usb/hid/olimex_stm32-h103_usb_hid/README
new file mode 100644
index 0000000..b4959cd
--- /dev/null
+++ b/usb/hid/olimex_stm32-h103_usb_hid/README
@@ -0,0 +1,36 @@
+-------------------------------------------------------------------------------
+USB HID
+-------------------------------------------------------------------------------
+
+This is a set of example captures of USB/HID communication on an Olimex
+STM32-H103 eval board with an ST STM32 (ARM Cortex-M3) microcontroller.
+
+The firmware on the board is a simple libopencm3 example named 'usb_hid'
+which lets the mouse curser move a small amount to the left and then back
+to the right in an infinite loop.
+
+Details:
+http://olimex.com/dev/stm32-h103.html
+http://libopencm3.org
+http://libopencm3.git.sourceforge.net/git/gitweb.cgi?p=libopencm3/libopencm3;a=tree;f=examples/stm32/f1/stm32-h103/usb_hid
+
+
+Logic analyzer setup
+--------------------
+
+The logic analyzer used was a ChronoVu LA8 (at 100MHz):
+
+ Probe STM32-H103
+ ----------------------
+ 6 (blue) DM
+ 7 (yellow) DP
+
+
+olimex_stm32-h103_usb_hid.sr
+----------------------------
+
+The sigrok command line used was:
+
+ sigrok-cli -d 0:samplerate=100mhz --samples 8388608 \
+ -p '7=DM,8=DP' -o <filename>
+
diff --git a/usb/hid/olimex_stm32-h103_usb_hid/olimex_stm32-h103_usb_hid.sr b/usb/hid/olimex_stm32-h103_usb_hid/olimex_stm32-h103_usb_hid.sr
new file mode 100644
index 0000000..88c0b1c
--- /dev/null
+++ b/usb/hid/olimex_stm32-h103_usb_hid/olimex_stm32-h103_usb_hid.sr
Binary files differ