Skip to content

OpenVizsla protocol description

Matwey V. Kornilov edited this page Aug 22, 2018 · 14 revisions

Captured data packet format

0        1        2        3        4        5        6        7        8
 01234567 01234567 01234567 01234567 01234567 01234567 01234567 01234567 
+--------+-----------------+-----------------+--------------------------+-------~
|  0xA0  |      Flags      |       Size      |         Timestamp        |  Data 
+--------+-----------------+-----------------+--------------------------+-------~
  • 0xA0 --- magic header
  • Flags --- 16-bit LSB-first bitset
    • 0x01 --- Physical layer error
    • 0x02 --- RX path overflow
    • 0x04 --- Clipped by filter
    • 0x08 --- Clipped due to packet length (>800 bytes)
    • 0x10 --- Capture hardware was enabled
    • 0x20 --- Capture hardware was disabled
  • Size --- 16-bit LSB-first length of the data (Zero size is allowed)
  • Timestamp --- 24-bit LSB-first timestamp of the capture in units of FPGA cycles. FPGA is running at 60MHz wrapping the field every 0.27 second
  • Data --- https://www.beyondlogic.org/usbnutshell/usb3.shtml
Clone this wiki locally