]> sigrok.org Git - sigrok-dumps.git/blob - usb/lisa_m_usbhid/README
95a02e25af12c2947fbe14d61470248703c41503
[sigrok-dumps.git] / usb / lisa_m_usbhid / README
1 -------------------------------------------------------------------------------
2 Lisa/M USB HID example (USB Full-Speed and SPI)
3 -------------------------------------------------------------------------------
4
5 This capture is taken from the libopencm3 example for a USB HID device on the
6 Paparazzi Lisa/M board. In this applicaton an SPI accellerometer is read and
7 the values are transmitted on a USB IN endpoint as mouse movement.
8
9 Details:
10 http://libopencm3.org
11 http://libopencm3.git.sourceforge.net/git/gitweb.cgi?p=libopencm3/libopencm3;a=tree;f=examples/stm32/f1/lisa-m/usb_hid
12 http://paparazzi.enac.fr/wiki/User/LisaM
13
14
15 Logic analyser setup
16 --------------------
17
18 The capture was taken using the Openbench Logic Sniffer at a sample rate
19 of 50MHz.
20
21   Probe    Signal
22   ---------------
23   0        USB_DM
24   1        USB_DP
25   2        SPI_NCS
26   3        SPI_SCK
27   4        SPI_MOSI
28   5        SPI_MISO
29
30 The command line used was:
31
32 sigrok-cli -d 0:samplerate=50mhz:rle=on \
33         -p 1=USB_DM,2=USB_DP,3=SPI_NCS,4=SPI_SCK,5=SPI_MOSI,6=SPI_MISO \
34         --time=50ms -o lisa_m_usb_spi.sr
35
36 The OLS can't actually capture 50ms, so it just captures as much as it can
37 buffer. No triggering was used.
38