Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

S-bit packet ordering #19

@jsturdy

Description

@jsturdy

There are two sources of mismatch between the OTMB and OH.

1st question: How do we group the 8 clusters into a packet?

OTMB is using:
packet0 = cluster3 & cluster2 & cluster1 & cluster0
packet1 = cluster7 & cluster6 & cluster5 & cluster4

OH is using:
packet0 = cluster0 & cluster1 & cluster2 & cluster3
packet1 = cluster4 & cluster5 & cluster6 & cluster7

I'm somewhat partial to the OTMB method because cluster0 is in bit0, which seems nice, but either one is fine as long as we agree. Could even do:

packet0 = cluster0 & cluster2 & cluster4 & cluster6
packet1 = cluster1 & cluster3 & cluster5 & cluster7

The 2nd question: what order do we transmit the packets's frames (each packet is split into 4 separate frames).

The OTMB is using:

frame0 = packet[7:0] & FRAME_SEP;
frame1 = packet[23:15];
frame1 = packet[39:24];
frame2 = packet[55:40];

The OH is using:
frame0 = packet[55:48] & FRAME_SEP;
frame1 = packet[47:32];
frame1 = packet[31:16];
frame2 = packet[15:0];

I'm again somewhat partial to the OTMB method because bit0 is in frame 0, which seems nice, but again I don't think it really matters as long as we agree on something.
It should be easy to change on either end.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions