www.a00.de > tcpgroup > 1995 > msg00054
 

TCP-group 1995


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flag Frames



>Some TNCs send square wave for sync instead of HDLC flags ahead of a frame. 
>The idea is to allow the receiver to recover the data stream and acquire phase
>lock more quickly.  Sometimes this works, sometimes it messes things up.  All
>TNCs send at least one HDLC flag, even if they do not use flags for sync idle.

Note that HDLC permits "zero sharing" between adjacent flags. These
are both legal flag streams:

Flag Stream A: 011111100111111001111110 ...

Flag Stream B: 0111111011111101111110 ...

The big difference comes after NRZI encoding. Flag Stream A, which is
generated by the SIO or 8530 found in most TNCs, results in either of
two "lopsided" rectangular waveforms being fed to the FSK modulator
with 50-50 probability:

0111111011111101111110 ...
or
1000000100000010000001 ...

Which you get depends on the random starting state of the NRZI encoder
flipflop. That's why most TNCs have two distinctly different sounds
for a flag stream.

But some TNCs (notably those doing HDLC in software) generate Flag
Stream B. After NRZI encoding, it becomes

1111111000000011111110000000 ...

which is a square wave! That accounts for the very different sound of
these TNCs.

Again, the SIO and 8530 will accept either flag stream even though
they generate only the type without shared zeroes.

Phil




Document URL : http://www.a00.de/tcpgroup/1995/msg00054.php
Ralf D. Kloth, Ludwigsburg, DE (QRQ.software). < hostmaster at a00.de > [don't send spam]
Created 2005-01-02. Last modified 2005-01-02. Your visit 2024-04-23 17:36.12. Page created in 0.0236 sec.
 
[Go to the top of this page]   [... to the index page]