Fri, 06 Dec 2019 00:58:32 +0100
Also add local-plugins to hgignore
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
1 | ========================================================== |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
2 | HP 34970A Data Acquisition Unit - communication protocol |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
3 | ========================================================== |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
4 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
5 | :Author: David Douard |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
6 | :Category: Electronics |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
7 | :Tags: HP, 34970A, DMM, repair, test equipment |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
8 | :series: HP 34970A repair |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
9 | :JavaScripts: default.js, WaveDrom.js |
111
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
10 | |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
11 | In order to build a replacement display for the HP34970A data |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
12 | acquisition unit, I needed to understand the communication protocol |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
13 | between the CPU board and the front panel assembly. |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
14 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
15 | General description |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
16 | =================== |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
17 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
18 | The unit is built with four boards: |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
19 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
20 | - A1 is the main bard, with the PSU, the main controller and the floating logic, |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
21 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
22 | - A2 is the front panel with the display and the keypad, |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
23 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
24 | - A3 is the backplane on which I/O modules are plugged, |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
25 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
26 | - A4 is the (optional) internal 6.5 digits DMM. |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
27 | |
115
6b6e13653348
content: use {static} instead of {filename} in image paths
David Douard <david.douard@sdfa3.org>
parents:
111
diff
changeset
|
28 | .. image:: {static}/images/hp34970a/block_diagram.svg |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
29 | :alt: System Block Diagram of the HP34970A. |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
30 | |
111
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
31 | |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
32 | The commnucation between the different system blocks is done with |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
33 | asynchronous serial links. They use the rather uncommon bit rate of |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
34 | 187500 baud, with a classic 8N1 schema. |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
35 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
36 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
37 | The CPU <-> Display Panel communication protocol |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
38 | ================================================ |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
39 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
40 | The communication protocol between the main controller (CPU) board and |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
41 | the display panel (DP) consists in "datagrams" sent using the general |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
42 | pattern: |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
43 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
44 | - when a device (CPU or DP) wants to take control of the communication |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
45 | bus, it sends a ``Start of Transmission`` (SoT) signal (0x66), |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
46 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
47 | - each sent char (but the end of transmission) must be acknowledged |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
48 | (ack value may vary), |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
49 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
50 | - at the end of a communication, the initiator send a "End of |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
51 | Transmission" (EoT, 0x55). This sent value is not acknowledged. |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
52 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
53 | - the keyboard can interrupt a CPU->DP communication in progress by |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
54 | not acknowledge a received byte, but sending a SoT instead of the |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
55 | expected ACK value, |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
56 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
57 | - acknowledge values are: |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
58 | |
111
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
59 | - one-complement of the received SoT byte, so |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
60 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
61 | - 0x99 for the 0x66 SoT byte and |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
62 | - 0xCC for the 0x33 SoT byte. |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
63 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
64 | - 0x00 otherise |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
65 | |
111
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
66 | - a special packet is sent by the Display Panel at startup, which SoT value is |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
67 | ``0x33``, which does not seem to follow the general pattern in which the first |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
68 | value after the SoT byte is the number of arguments. |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
69 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
70 | Initialization sequence |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
71 | ----------------------- |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
72 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
73 | The initialization transmission is: |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
74 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
75 | .. wavedrom:: |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
76 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
77 | { signal: [ |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
78 | {name: "CPU", wave: "zz5x5x5xx", data: ["0xCC", "0x00", "0x00"]}, |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
79 | {name: "DP", wave: "z3x4x4x3x", data: ["0x33", "0x02", "0x00", "0x55"]}, |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
80 | ]} |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
81 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
82 | If a key is pressed during while powering the unit on, then the initialization |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
83 | of the Display Panel is frozen (with all elements of the display lit) until the |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
84 | key is released. In this case, the initialization packet adds the key code of |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
85 | that key, typically used with the Shift key pressed in to force a full test of |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
86 | the device (in this datagram, ``0x0C`` is the keycode of the Shift key): |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
87 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
88 | .. wavedrom:: |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
89 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
90 | { signal: [ |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
91 | {name: "CPU", wave: "zz5x5x5x5xx", data: ["0xCC", "0x00", "0x00", "0x00"]}, |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
92 | {name: "DP", wave: "z3x4x4x4x3x", data: ["0x33", "0x02", "0xFF", "0x0C", "0x55"]}, |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
93 | ]} |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
94 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
95 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
96 | Shutdown sequence |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
97 | ----------------- |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
98 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
99 | .. wavedrom:: |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
100 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
101 | { signal: [ |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
102 | {name: "Rx", wave: "z3x4x44|=4", data: ["0x66", "0x86", "0x55", "0x55","0x55"] }, |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
103 | {name: "Tx", wave: "zx5x5xx", data: ["0x99", "0x00"] }, |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
104 | ]} |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
105 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
106 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
107 | CPU -> DP trasmission |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
108 | --------------------- |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
109 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
110 | The CPU->DP transmission protocol looks like: |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
111 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
112 | .. wavedrom:: |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
113 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
114 | { signal: [ |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
115 | {name: "Rx", wave: "z3x4x4x=x=x|.=x3x", data: ["0x66", "CMD", "LEN", "D0", "D1", "Dn", "0x55"] }, |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
116 | {name: "Tx", wave: "zx5x5x5x5x5x|.5x.", data: ["0x99", "0x00","0x00", "0x00", "0x00", "0x00"] }, |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
117 | ]} |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
118 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
119 | Two (or more) datagrams can be transmitted in a single "transmission", |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
120 | ie. without sending the EoT byte, eg.: |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
121 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
122 | .. wavedrom:: |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
123 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
124 | { signal: [ |
111
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
125 | {name: "Rx", wave: "z3x4x4x|=x3x4x|3x", |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
126 | data: ["0x66", "0x0C", "0x03", "D3", "0x66", "0x0A", "0x55"] }, |
111
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
127 | {name: "Tx", wave: "zx5x5x5x|5x5x5x|x", |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
128 | data: ["0x99", "0x00", "0x00", "0x00", "0x99", "0x00"] }, |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
129 | ]} |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
130 | |
111
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
131 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
132 | DP -> CPU transmission |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
133 | ---------------------- |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
134 | |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
135 | When the user press a key on the front panel, a slightly simpler "packet transmission" occurs: |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
136 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
137 | .. wavedrom:: |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
138 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
139 | { signal: [ |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
140 | {name: "Rx", wave: "zz5x5xx", data: ["0x99", "0x00"]}, |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
141 | {name: "Tx", wave: "z3x4x3x", data: ["0x66", "KP", "0x55"]}, |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
142 | ]} |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
143 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
144 | |
111
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
145 | Commands |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
146 | ======== |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
147 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
148 | The known command bytes sent by the CPU for now are: |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
149 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
150 | :0x00: show text on the main display. N arguments; the characters to display. |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
151 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
152 | :0x0C: show text in the 'channels' area. 3 arguments; the digits to display. |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
153 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
154 | :0x0A: indicators (or flags) to display. 4 arguments; the flag bytes. |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
155 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
156 | :0x08: to set an indicator in low bright mode. 1 argument; the number of the |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
157 | indicator dimm. |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
158 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
159 | :0x09: to set an indicator in hight bright mode. 1 argument; the number of the |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
160 | indicator to highlight. |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
161 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
162 | :0x01: clear the 'shift' button. Typically sent as ``0x01 0x01 0x0E``. 1 |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
163 | argument; 0x0E to clear the 'shift' flag. Other values unknown. |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
164 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
165 | :0x02: might be a reset or clear for the front panel (typically sent as |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
166 | ``0x02 0x01 0x0C`` packet). 1 argument; unknown. |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
167 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
168 | :0x86: shutdown. 0 argument. |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
169 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
170 | :0x0D: set char at pos dimm (eg 0D 01 02 55 = cursor on the 3rd char) |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
171 | |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
172 | Sending data to the main display |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
173 | ================================ |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
174 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
175 | The main display consist in 13 17-segments digits, in which the |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
176 | character is displayed by a main 14-digits, and the punctuation with 3 |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
177 | segments (2 dots and a comma, allowing to represent the signs ".", |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
178 | ",", ":" and ";"). Punctuation signs are also very close to the |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
179 | preceding chracters. |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
180 | |
115
6b6e13653348
content: use {static} instead of {filename} in image paths
David Douard <david.douard@sdfa3.org>
parents:
111
diff
changeset
|
181 | .. image:: {static}/images/hp34970a/digit.jpg |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
182 | :alt: 17-segments digit of the main display. |
111
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
183 | |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
184 | The command used to send text to the main display is ``0x00``. The |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
185 | character ``0x09`` (tabulation) has a special meaning: it marks the |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
186 | beginning and the end of a part of the text to be displayed darker |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
187 | than the usual. This is used to emphasis a portion of the displayed |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
188 | text. Also, as the punctuation signs do not consume a digit, the |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
189 | displayed text can be larger than 13 characters. |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
190 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
191 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
192 | Sending data to the Channels display |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
193 | ==================================== |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
194 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
195 | This area only allows to display 3 7-segments digits. The command is |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
196 | ``0x0C``, the payload is thus 3 bytes long. |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
197 | |
115
6b6e13653348
content: use {static} instead of {filename} in image paths
David Douard <david.douard@sdfa3.org>
parents:
111
diff
changeset
|
198 | .. image:: {static}/images/hp34970a/channel.jpg |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
199 | :alt: The display area dedicated to current channel. |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
200 | :align: center |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
201 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
202 | Flags |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
203 | ===== |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
204 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
205 | The display also has several flags. Display flags are selected by |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
206 | sending the ``0x0A`` command. The payload is 4 bytes long. Each bit |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
207 | of these 4 bytes represent a flag on the display. |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
208 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
209 | Let's consider the following (we don't represent the acknowledgements here): |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
210 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
211 | .. wavedrom:: |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
212 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
213 | { signal: [ |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
214 | {name: "Rx", wave: "z344====3x", |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
215 | data: ["0x66", "0x0A", "0x04", "F1", "F2", "F3", "F4", "0x55"]} |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
216 | ]} |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
217 | |
111
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
218 | The 29 flags I've identified are (should be complete): |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
219 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
220 | .. wavedrom:: |
111
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
221 | |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
222 | { signal: [ |
111
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
223 | {name: "bit", wave: "z========z", |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
224 | data: ["7", "6", "5", "4", "3", "2", "1", "0"]}, |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
225 | |
111
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
226 | {name: "F1", wave: "z=3333333z", |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
227 | data: ["Al. frame", "HI", "Alarm", "LO", "Channel", "Ch. frame", "Mx+B", "<Bell>"]}, |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
228 | {name: "F2", wave: "z===33333z", |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
229 | data: ["AVG", "", "OC", "4W", "1", "3", "4", "2"]}, |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
230 | {name: "F3", wave: "z========z", |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
231 | data: ["ERROR", "EXT", "ONCE", "", "MEM", "LAST", "MIN", "MAX"]}, |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
232 | {name: "F4", wave: "z=3=333==z", |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
233 | data: ["", "CONFIG", "SCAN", "MON", "VIEW", "*", "ADRS", "REMOTE"]}, |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
234 | ], |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
235 | config: { hscale: 2 }, |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
236 | } |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
237 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
238 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
239 | Keypad |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
240 | ====== |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
241 | |
111
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
242 | the keycode byte consists in: |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
243 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
244 | .. wavedrom:: |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
245 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
246 | {signal: [ |
111
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
247 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
248 | {name: "bit", wave: "z========z", |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
249 | data: ["7", "6", "5", "4", "3", "2", "1", "0"]}, |
111
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
250 | {name: "KP", wave: "z344=....z", |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
251 | data: ["Knob", "Rel.", "Shift", "Key Code"]}, |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
252 | ], |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
253 | config: { hscale: 1 }, |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
254 | } |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
255 | |
111
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
256 | :Bit 5: is set when the key has been pressed while 'shift' indicator was stil |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
257 | active. |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
258 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
259 | :Bit 6: is set when the key is released, and clear for the key pressed event. |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
260 | |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
261 | :Bit 7: of the key event byte is set high for the knob key events. |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
262 | |
68
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
263 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
264 | The key codes are: |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
265 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
266 | :0x00: View |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
267 | :0x01: Mon |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
268 | :0x02: Sto/Rcl |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
269 | :0x03: Scan |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
270 | :0x04: Alarm |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
271 | :0x05: Mx+B |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
272 | :0x06: Measure |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
273 | :0x07: Interval |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
274 | :0x08: Card Reset |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
275 | :0x09: Close |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
276 | :0x0A: Open |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
277 | :0x0B: Read |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
278 | :0x0C: Shift |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
279 | :0x0D: Write |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
280 | :0x0E: Left |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
281 | :0x0F: Right |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
282 | |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
283 | :0x10: Advanced |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
284 | :0x11: Step |
4fa6621fec0f
[hp34970a] an article dedicted to the protocol
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
285 | |
111
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
286 | :0x80: Knob right |
25cae2c53694
[hp34970a] fixes and improvements on the protocol description
David Douard <david.douard@logilab.fr>
parents:
69
diff
changeset
|
287 | :0x81: Knob left |