]> sigrok.org Git - sigrok-dumps.git/blame - ps2/keyboard/README
ps2: Add an example of PS/2 keyboard communication, update README
[sigrok-dumps.git] / ps2 / keyboard / README
CommitLineData
8d9e0301
UH
1-------------------------------------------------------------------------------
2PS/2 keyboard
3-------------------------------------------------------------------------------
4
5This is a collection of PS/2 keyboard communication examples.
6
7A random PS/2 keyboard and a random PC mainboard were used as data source.
8
9For details see:
16931eb4
MM
10https://web.archive.org/web/20161231114842/http://www.computer-engineering.org/ps2protocol/
11https://www.avrfreaks.net/sites/default/files/PS2%20Keyboard.pdf
8d9e0301
UH
12
13
14Logic analyzer setup
15--------------------
16
17The logic analyzer used was a Saleae Logic (at 24 MHz):
18
19 Probe PS/2
20 ----------------
21 2 Data
22 3 Clock
23
24
25ps2_keyboard_asdfgh.sr
26----------------------
27
28This file contains a sequence of keypresses on a standard PS/2 keyboard:
29a, s, d, f, g. The dump contains the "make code" and "break code" of each key.
30
16931eb4
MM
31After each transmission, the receiving controller appears to pull the clock
32line low for more than 100 microseconds. This inhibits transmission until the
33clock line is released, presumably because the receiving controller needs time
34to process data. Due to this, additional very short clock pulses can be
35observed, as the controller starts inhibiting communication only shortly after
36packets are received.
37
38
39ps2_keyboard_asdfgh_no_inhibit.sr
40---------------------------------
41
42The keys a, s, d, f and g pressed on a random PS/2 keyboard.
43
44In this dump, the receiving end was passive, without inhibiting communication.
45Thus only clock pulses produced by the keyboard can be observed.