Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Looking for information on Manchester encoding and decoding?

Status
Not open for further replies.

7rots51

Advanced Member level 4
Joined
May 17, 2002
Messages
1,184
Helped
25
Reputation
50
Reaction score
12
Trophy points
1,318
Activity points
9,651
manchester encoding?

hello
I need some info on manchester encode and decode.It is useful that someone describe the benefits of this method for transmitting data and its applications.
bye
 

zorro

Advanced Member level 4
Joined
Sep 6, 2001
Messages
1,131
Helped
356
Reputation
710
Reaction score
298
Trophy points
1,363
Location
Argentina
Activity points
8,902
Hi 7rots51,

Benefits (+), drawbacks (-) and evens (=) of Manchester compared with NRZ (taken as a basic reference binary data format):

(=) It has the same theoretical performance (bit error probability vs. bit_energy / noise_spectral_density)

(-) Occuped bandwidth is double than NRZ (the main lobe of NRZ extends up to BR, and Manchester -also RZ- up to BR, BR being Bit Rate)

(+) Its power spectrum is null at DC, so it can be transmitted by non-lowpass channels. This allows the use of transformer coupling without problem. In the case or NRZ or RZ, the 'baseline' would be lost if you have a long string of data without transitions and the channel doesn't pass DC

(+) Synchronization is easy and more reliable because Manchester has al least one transition per bit. So less timing jitter.

Regards

Z
 

gorkin

Advanced Member level 1
Joined
Feb 27, 2002
Messages
422
Helped
13
Reputation
26
Reaction score
5
Trophy points
1,298
Location
brazil
Activity points
3,384
Encoding

/**********************************************************************
* Function Name: MancEnc *
* *
* Author: Christian *
* Description: Codificação Manchester *
* Argument(s): Data - Dado a ser Codificado *
* Return(s): DataEnc - Dado Codificado em Manchester *
**********************************************************************/
UINT16 MancEnc (UCHAR Data)
{
UCHAR Shift = 0x80;
UINT16 DataEnc = 0;

while(Shift > 0)
{
DataEnc <<= 2;
if(Data & Shift)
{
DataEnc |= 1;
}
else
{
DataEnc |= 2;
}
Shift >>= 1;
}
return(DataEnc);
}
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top