1 -------------------------------------------------------------------------------
2 Lisa/M USB HID example (USB Full-Speed and SPI)
3 -------------------------------------------------------------------------------
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.
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
18 The logic analyzer used was an Openbench Logic Sniffer (at 50MHz):
29 The sigrok command line used was:
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
35 The OLS can't actually capture 50ms, so it just captures as much as it can
36 buffer. No triggering was used.