Skip to content

Encoding HDLC flags, FEC #439

Answered by daniestevez
Silverlined asked this question in Q&A
Discussion options

You must be logged in to vote

I'm speaking from memory based on what I remember from doing this 2 years ago, so maybe there are some errors in what I say.

The whole message (starting with the two HDLC flags but continuing with the rest of the payload) is convolutionally encoded and then interleaved with the 4x4 matrix. At the beginning of the packet, the encoder shift register is filled with zeros. We push in the 16 bits corresponding to 0x7E7E into the encoder and extract 32 bits out. At this point the state of the encoder shift register is the last 4 bits of 0x7E7E, sure, but we don't extract these bits out just yet. We pass the 32 bits out through the 4x4 interleaver. This is okay, because 32 bits is exactly 2 inte…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Silverlined
Comment options

@Silverlined
Comment options

@Silverlined
Comment options

Answer selected by Silverlined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants