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