notes.rst

Mon, 11 Mar 2024 15:35:36 +0100

author
David Douard <david.douard@sdf3.org>
date
Mon, 11 Mar 2024 15:35:36 +0100
changeset 71
d193c24a078a
parent 26
86f099bda525
permissions
-rw-r--r--

Add links to sr.ht repos and add an image in the README file

Probing
=======

Serial probe with dslogic in serialdata/

read-sr: Decode the raw capture (34970-long-session.sr) and display the protocol

  serialdata$ cat read-sr  | sh

  00007553 [+0.01] >>> CHANNEL 	203
  00007573 [+0.02] >>> DISPLAY 	MUX      OPEN
  00007581 [+0.01] >>> CHANNEL 	203
  00007589 [+0.01] <<< KNOB		Knob left
  00007640 [+0.05] <<< KNOB		Knob left
  00007645 [+0.01] >>> DISPLAY 	MUX      OPEN
  00007654 [+0.01] >>> CHANNEL 	202
  00007674 [+0.02] >>> DISPLAY 	MUX      OPEN
  00007682 [+0.01] >>> CHANNEL 	202
  00007697 [+0.02] <<< KNOB		Knob left
  00007745 [+0.05] <<< KNOB		Knob left
  00007750 [+0.01] >>> DISPLAY 	MUX      OPEN
  00007759 [+0.01] >>> CHANNEL 	201

read-sd-continuous: Should read continuously the data stream from the dslogic...


Protocol
========

> = cpu -> dsp
< = dsp -> cpu

0x80 -> right
0x81 -> left

shitf + key -> bit 5
key release -> bit 6

End of shift packet:
>66 <99 >01 <00 >01 <00 >0E <00 >55


init    -> <33 >CC <02 >00 <00 >00 <55
+ shift -> <33 >CC <02 >00 <FF >00 <0C >00 <55
+ scan  -> <33 >CC <02 >00 <FF >00 <03 >00 <55

shutdown ->
  cpu -> cmd 0x86 + 0x55 ad libidum
  ie >66 <99 >86 <00 >55 >55 >55 ...

commands:

0x00 -> display text
  >66 <99 >00 <00 >nn <00 >c1 <00 ... >cn <00 >55
0x0A -> flags
  >66 <99 >0A <00 >04 <00 >f0 <00 >f1 <00 >f2 <00 >f3 <00 >55
0x0C -> display channels

0x02 -> ???
 >02 <?? >01 <??





flags

f1 b7 -> alarm frame
F4 b1 -> SCAN


once + scan -> 0C > 00 > 20 > 20

view + last + min + max + avg ->
  0A: 0C / 80 / 07 / 08
  08: 01 / 0F


view + last + min + max + avg*
  0A: 0C / 80 / 07 / 08
  09: 01 / 0F

view + last + min + max* + avg
  08: 01 0F
  09: 01 10


view + last + min* + max + avg (DATE)
  08: 01 / 10
  09: 01 / 11
view + last + min* + max + avg (DIN)
  08: 01 / 11
  09: 01 / 11

last* + min + max + avg (DIN)
 DIN
  08 01 12
  09 01 12
 DATE
  08 01 12
  09 01 12

08 -> low bright
09 -> hi bright

sortie du mode "view" on a a la suite:
  09 01 12
  09 01 11
  09 01 10
  09 01 0F

on a aussi un paquet 02 01 0C (clear?)



Mode VIEW pour DIN
==================

quand on rentre en mode "view":

- 02 01 99 (?)
- 0A / 0C 00 00 00
- 0A / 0C 00 00 08
- text  READINGS

puis View (Readings)

- 0A / 0C 00 00 08
- channel
- 0A / 0C 00 00 08
- 0A / 0C 00 00 08
- 09 / 01 12 (LAST en hi bright)
- 0A / 0C 80 07 08
- 08 / 01 11
- 08 / 01 10
- 08 / 01 0F
- text (value)

puis ->

- 08 / 01 12
- 09 / 01 12
- textes


PCB
===

18.3 x 7.8

mercurial