From: "Jinx" To: Sent: Wednesday, February 20, 2002 3:04 PM Subject: Re: [PIC]:Manchester encoding/decoding routine examplesplease > > A true manchester decoder will recover the clock from the > > transitions in the input stream. This allows it to successfully > > handle clock differences between the transmitter and the > > receiver > > You said something ages ago that memory's a little hazy on. > > Was it about following a bit with its inverse to create edges? > For example, in a stream of five 0's, actually send 01 01 01 > 01 01 so that the receiver can maintain a constant synch > whatever the original bit rate ? Nah, actually that is one of the major points of manchester encoding: it ensures at least one edge (in the middle of each bit time), which allows the clock to be easily recovered. Another important characteristic is that manchester code has a 50% duty cycle, which helps the receiver's data slicer to stay on track. Bob Ammerman RAm Systems -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu