]>
Commit | Line | Data |
---|---|---|
ed59014b UH |
1 | ------------------------------------------------------------------------------- |
2 | USB HID | |
3 | ------------------------------------------------------------------------------- | |
4 | ||
5 | This is a set of example captures of USB/HID communication on an Olimex | |
6 | STM32-H103 eval board with an ST STM32 (ARM Cortex-M3) microcontroller. | |
7 | ||
8 | The firmware on the board is a simple libopencm3 example named 'usb_hid' | |
9 | which lets the mouse curser move a small amount to the left and then back | |
10 | to the right in an infinite loop. | |
11 | ||
12 | Details: | |
13 | http://olimex.com/dev/stm32-h103.html | |
14 | http://libopencm3.org | |
15 | http://libopencm3.git.sourceforge.net/git/gitweb.cgi?p=libopencm3/libopencm3;a=tree;f=examples/stm32/f1/stm32-h103/usb_hid | |
16 | ||
17 | ||
18 | Logic analyzer setup | |
19 | -------------------- | |
20 | ||
21 | The logic analyzer used for capturing was a ChronoVu LA8: | |
22 | ||
23 | Probe STM32-H103 | |
24 | ---------------------- | |
25 | 6 (blue) DM | |
26 | 7 (yellow) DP | |
27 | ||
28 | ||
29 | olimex_stm32-h103_usb_hid.sr | |
30 | ---------------------------- | |
31 | ||
32 | The sigrok command line used was: | |
33 | ||
34 | sigrok-cli -d 0:samplerate=100mhz --samples 8388608 \ | |
35 | -p '7=DM,8=DP' -o <filename> | |
36 |