Searching \ for 'bi phase line coding' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=phase+line+coding
Search entire site for: 'bi phase line coding'.

Truncated match.
PICList Thread
'bi phase line coding'
2000\03\01@075927 by Soon Lee

flavicon
face
Hi everyone

Anyone have the source code for manchester line coding(bi phase) for F84.

regards

soon lee

2000\03\02@020112 by Nikolai Golovchenko

flavicon
face
Soon,

The  code  will  depend  on what bit rate you choose, i.e. whether the
code  should  work inline or by interrupts. Actually the modulation is
very simple if you do it this way:
1)for low bit, toggle line at the beginning and middle of the bit;
2)for high bit, toggle line at the beginning of the bit only.

Does it help?

Nikolai

On Wednesday, March 01, 2000 Soon Lee wrote:
> Hi everyone

> Anyone have the source code for manchester line coding(bi phase) for F84.

> regards

> soon lee

2000\03\19@091102 by Robert Wuest

flavicon
face
Soon Lee wrote:
>
> Hi everyone
>
> Anyone have the source code for manchester line coding(bi phase) for F84.
>
> regards
>
> soon lee

Manchester encoding is simply the XOR of clock and data

Robert Wuest, PE

2000\03\19@104841 by rob

picon face
Simple XOR-ing does not work, because the detent rest postition of the
encoder is on the rising edge of one of the inputs, either the clock or
data. The encoder will be constantly glitching in one direction.

Action should only be taken if the clock goes high, otherwise a change in
the data output should be completely ignored UNLESS the clock input is
high. (the clock output should be the output that is right in the middle
and set to low in the rest position rather that being on the rising edge)

Rob

----------
> From: Robert Wuest <spam_OUTrwuestTakeThisOuTspamWUEST.ORG>
> To: .....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU
> Subject: Re: bi phase line coding
> Date: Sunday, March 19, 2000 8:50 AM
>
> Soon Lee wrote:
> >
> > Hi everyone
> >
> > Anyone have the source code for manchester line coding(bi phase) for
F84.
> >
> > regards
> >
> > soon lee
>
> Manchester encoding is simply the XOR of clock and data
>
> Robert Wuest, PE

2000\03\19@150350 by Robert Wuest

flavicon
face
Say What?

CLK:    0101010101
DATA:   0011110000
BI0L:   0110100101

There is always a transition in the middle of the bit period, 0->1 for a
0 and 1->0 for a 1.  (Interesting thing about Bi-phase is it has an
average DC component of 0 and works nicely with capacitive or
transformer coupling.)

Anyway, looks like XOR to me. And yes, if you are going to do it in
hardware, care must be taken that the timing of your signals is correct.

Robert Wuest, PE

rob wrote:
{Quote hidden}

2000\03\19@181445 by Rob Brzykcy

picon face
Ugh, never mind! Yes, youre right.  :)  If you are simply using it to clock
in data in serial fashion, post-debounce or raw data from, say, another
logic circuit, yes, its XOR, and it will work fine.

But, OTOH, dont use the simple XOR-ing to interface to mechanical and/or
optical encoder. Bounce and glitching will eat you alive.

Rob

{Original Message removed}

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...