CH9350

From ElectroDragon Wiki

new documentaiton - https://w2.electrodragon.com/gollum/search?q=USB1003-dat.md


CMD

Status request

57 AB 82 A3 -> this keep sending all the time

  • 57 AB fixed header
  • 82 CMD
  • A3 low four bits are IOs status

Read valid data

Read the "space" pressed on keyboard -> 57 AB 88 0B 10 00 00 2C 00 00 00 00 00 00 2C

  • 57 AB header
  • 88 -> CMD, read valid frames, 0x88 normally keyboard, 0x83 normally keyboard + mouse
  • 0B -> length
  • 10 -> HID flag
  • 00 00 2C 00 00 00 00 00 -> data: keyboard "space"
  • SN -> 00
  • Sum -> 2C


Test

Baudrate 115200
Keyboard press of "1"

10 00 00 1E 00 00 00 00 00 00 1E [57 AB 82 A3 57 AB] 88 0B 
10 00 00 00 00 00 00 00 00 01 01 [57 AB 82 A3 57 AB 82 A3 57 AB] 88 0B 
10 00 00 1E 00 00 00 00 00 02 20 [57 AB 82 A3 57 AB] 88 0B 
10 00 00 00 00 00 00 00 00 03 03 [57 AB 82 A3 57 AB 82 A3 57 AB 82 A3 57 AB 82 A3 57 AB] 88 0B 
10 00 00 1E 00 00 00 00 00 04 22 [57 AB 82 A3 57 AB] 88 0B
  • Remove the abundant data: 57 AB 82 A3


  • 10 00 00 1F 00 00 00 00 00 00 1F 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 00 00 00 00 00 00 01 01 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 1F 00 00 00 00 00 02 21 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 00 00 00 00 00 00 03 03 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 1F 00 00 00 00 00 04 23 57 AB 82 A3 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 00 00 00 00 00 00 05 05 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 1F 00 00 00 00 00 06 25 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 00 00 00 00 00 00 07 07 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 1F 00 00 00 00 00 08 27 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 00 00 00 00 00 00 09 09 57 AB 82 A3 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 1F 00 00 00 00 00 0A 29 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 00 00 00 00 00 00 0B 0B 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 1F 00 00 00 00 00 0C 2B 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 00 00 00 00 00 00 0D 0D 57 AB 82 A3 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 1F 00 00 00 00 00 0E 2D 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 00 00 00 00 00 00 0F 0F 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 1F 00 00 00 00 00 10 2F 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 00 00 00 00 00 00 11 11 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 1F 00 00 00 00 00 12 31 57 AB 82 A3 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 00 00 00 00 00 00 13 13 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 1F 00 00 00 00 00 14 33 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 00 00 00 00 00 00 15 15 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 1F 00 00 00 00 00 16 35 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 00 00 00 00 00 00 17 17 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 1F 00 00 00 00 00 18 37 57 AB 82 A3 57 AB 82 A3 57 AB 88 0B

Continiously press "2"

  • 10 00 00 1F 00 00 00 00 00 01 20 57 AB 88 0B
  • 20 02 00 00 01 00 00 00 00 02 05 57 AB 88 0B
  • 20 02 00 00 01 E0 FF 00 00 03 E5 57 AB 88 0B
  • 20 02 00 00 01 00 00 00 00 04 07 57 AB 88 0B
  • 20 02 00 00 02 F0 FF 00 00 05 F8 57 AB 82 A3 57 AB 88 0B
  • 20 02 00 00 01 F0 FF 00 00 06 F8 57 AB 88 0B
  • 20 02 00 00 00 F0 FF 00 00 07 F8 57 AB 88 0B
  • 20 02 00 00 02 E0 FF 00 00 08 EB 57 AB 88 0B
  • 20 02 00 00 03 E0 FF 00 00 09 ED 57 AB 88 0B
  • 20 02 00 00 08 90 FF 00 00 0A A3 57 AB 88 0B
  • 20 02 00 00 0A 70 FF 00 00 0B 86 57 AB 88 0B
  • 20 02 00 00 06 B0 FF 00 00 0C C3 57 AB 88 0B
  • 20 02 00 00 09 80 FF 00 00 0D 97 57 AB 82 A3 57 AB 88 0B
  • 10 00 00 00 00 00 00 00 00 0E 0E 57 AB 88 0B
  • 20 02 00 00 05 C0 FF 00 00 0F D5 57 AB 88 0B
  • 20 02 00 00 02 D0 FF 00 00 10 E3 57 AB 88 0B
  • 20 02 00 00 03 D0 FF 00 00 11 E5 57 AB 88 0B
  • 20 02 00 00 02 D0 FF 00 00 12 E5 57 AB 88 0B
  • 20 02 00 00 03 C0 FF 00 00 13 D7 57 AB 88 0B
  • 20 02 00 00 04 A0 FF 00 00 14 B9 57 AB 88 0B
  • 10 00 00 1F 00 00 00 00 00 15 34 57 AB 88 0B
  • 20 02 00 00 04 A0 FF 00 00 16 BB 57 AB 88 0B
  • 20 02 00 00 07 70 FF 00 00 17 8F 57 AB 88 0B
  • 20 02 00 00 03 B0 FF 00 00 18 CC 57 AB 82 A3 57 AB 88 0B
  • 20 02 00 00 04 A0 FF 00 00 19 BE 57 AB 88 0B
  • 20 02 00 00 02 A0 FF 00 00 1A BD 57 AB 88 0B
  • 20 02 00 00 03 B0 FF 00 00 1B CF 57 AB 88 0B
  • 20 02 00 00 02 C0 FF 00 00 1C DF 57 AB 88 0B
  • 20 02 00 00 03 D0 FF 00 00 1D F1 57 AB 88 0B
  • 20 02 00 00 02 F0 FF 00 00 1E 11 57 AB 88 0B
  • 10 00 00 00 00 00 00 00 00 1F 1F 57 AB 88 0B
  • 20 02 00 00 01 F0 FF 00 00 20 12 57 AB 82 A3 57 AB 88 0B