]> sigrok.org Git - sigrok-dumps.git/blob - usb/lisa_m_usbhid/README
c8db2cbfd71a5764d42c3023304ebe504a953b43
[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 Logic Analyser setup
10 --------------------
11
12 The capture was taken using the Openbench Logic Sniffer at a sample rate 
13 of 50MHz.
14
15   Probe    Signal
16   -------------------
17   0        USB_DM
18   1        USB_DP
19   2        SPI_NCS
20   3        SPI_SCK
21   4        SPI_MOSI
22   5        SPI_MISO
23
24 The command line used was:
25
26 sigrok-cli -d 0:samplerate=50mhz:rle=on \
27         -p 1=USB_DM,2=USB_DP,3=SPI_NCS,4=SPI_SCK,5=SPI_MOSI,6=SPI_MISO \
28         --time=50ms -o lisa_m_usb_spi.sr
29
30 The OLS can't actually capture 50ms, so it just captures as much as it can
31 buffer.  No triggering was used.
32