Mon, 09 Nov 2020 23:05:24 +0100
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.
Sessions of UART capture of the reference HP34970A unit. In these capture frames: - RX: FP -> CPU - TX: CPU -> FP Example extraction of data: sigrok-cli -i startup-no-key -P uart:baudrate=187500:parity=even:rx=RX:tx=TX \ --channels RX,TX -A uart=rx-data:tx-data:rx-start Start-bit: following code is a RX, so generated by the FP.