serialdata/ref/README

Mon, 09 Nov 2020 23:05:24 +0100

author
David Douard <david.douard@sdf3.org>
date
Mon, 09 Nov 2020 23:05:24 +0100
changeset 49
c146d19101a3
parent 43
c850674a3101
permissions
-rw-r--r--

Refactor HPSerial to get rid of packet collision misbehavior

completely split the key sending code from the irq-based receiveing logic.
When sending keycodes, disable the RxIrq callback and handle send and recv
of bytes synchronously.

The keycode sending routine rus in a dedicated thread.

43
c850674a3101 Add a series of reference serial data sessions from a working 34970A unit.
David Douard <david.douard@sdf3.org>
parents:
diff changeset
1 Sessions of UART capture of the reference HP34970A unit.
c850674a3101 Add a series of reference serial data sessions from a working 34970A unit.
David Douard <david.douard@sdf3.org>
parents:
diff changeset
2
c850674a3101 Add a series of reference serial data sessions from a working 34970A unit.
David Douard <david.douard@sdf3.org>
parents:
diff changeset
3 In these capture frames:
c850674a3101 Add a series of reference serial data sessions from a working 34970A unit.
David Douard <david.douard@sdf3.org>
parents:
diff changeset
4 - RX: FP -> CPU
c850674a3101 Add a series of reference serial data sessions from a working 34970A unit.
David Douard <david.douard@sdf3.org>
parents:
diff changeset
5 - TX: CPU -> FP
c850674a3101 Add a series of reference serial data sessions from a working 34970A unit.
David Douard <david.douard@sdf3.org>
parents:
diff changeset
6
c850674a3101 Add a series of reference serial data sessions from a working 34970A unit.
David Douard <david.douard@sdf3.org>
parents:
diff changeset
7 Example extraction of data:
c850674a3101 Add a series of reference serial data sessions from a working 34970A unit.
David Douard <david.douard@sdf3.org>
parents:
diff changeset
8
c850674a3101 Add a series of reference serial data sessions from a working 34970A unit.
David Douard <david.douard@sdf3.org>
parents:
diff changeset
9 sigrok-cli -i startup-no-key -P uart:baudrate=187500:parity=even:rx=RX:tx=TX \
c850674a3101 Add a series of reference serial data sessions from a working 34970A unit.
David Douard <david.douard@sdf3.org>
parents:
diff changeset
10 --channels RX,TX -A uart=rx-data:tx-data:rx-start
c850674a3101 Add a series of reference serial data sessions from a working 34970A unit.
David Douard <david.douard@sdf3.org>
parents:
diff changeset
11
c850674a3101 Add a series of reference serial data sessions from a working 34970A unit.
David Douard <david.douard@sdf3.org>
parents:
diff changeset
12 Start-bit: following code is a RX, so generated by the FP.
c850674a3101 Add a series of reference serial data sessions from a working 34970A unit.
David Douard <david.douard@sdf3.org>
parents:
diff changeset
13

mercurial