PLLs on biphase mark signals
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
PLLs on biphase mark signals

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> FPGA
Author Message
Adam
Guest





Posted: Sun Dec 12, 2004 11:35 pm    Post subject: PLLs on biphase mark signals Reply with quote

Hello all,

Will an FPGA PLL lock onto a biphase mark(Manchester ??) encoded signal?
I'm trying to build an SPDIF receiver and am wondering if its possible to
directly connect the input signal(after analog level adjustment) to an FPGA
and read the level at the 90 and 270 degree phases. If frames are
continuously being transmitted when the PLL attempts to lock on, how does it
know which frequency to use? It seems if all zeros are being transmitted
the PLL will lock to half the frequency it should.
Back to top
Jim George
Guest





Posted: Mon Dec 13, 2004 4:49 am    Post subject: Re: PLLs on biphase mark signals Reply with quote

Adam wrote:

Quote:
Hello all,

Will an FPGA PLL lock onto a biphase mark(Manchester ??) encoded signal?
I'm trying to build an SPDIF receiver and am wondering if its possible to
directly connect the input signal(after analog level adjustment) to an FPGA
and read the level at the 90 and 270 degree phases. If frames are
continuously being transmitted when the PLL attempts to lock on, how does it
know which frequency to use? It seems if all zeros are being transmitted
the PLL will lock to half the frequency it should.



Probably not for a Xilinx Virtex II, Spartan III or Virtex II Pro, the
FPGA specs state that the DCM inputs must have < 1ns period jitter,
outside which they will lose lock. A true-PLL design may be more
forgiving, though.

-Jim
Back to top
Guest






Posted: Mon Dec 13, 2004 6:56 am    Post subject: Re: PLLs on biphase mark signals Reply with quote

Adam wrote:

Quote:
I'm trying to build an SPDIF receiver and am wondering if its
possible to
directly connect the input signal(after analog level adjustment) to
an FPGA
and read the level at the 90 and 270 degree phases.

SPDIF is only 48kHz * 32 bits * 2 channels * 2 for biphase = 6MHz
Any modern FPGA will do 100MHz easy.
So just oversample the signal and decode it like a UART would.

To build a transmitter locked to the receiver would be more difficult.
Alan Nishioka
alann@accom.com
Back to top
Guest






Posted: Mon Dec 13, 2004 6:56 am    Post subject: Re: PLLs on biphase mark signals Reply with quote

Adam wrote:

Quote:
I'm trying to build an SPDIF receiver and am wondering if its
possible to
directly connect the input signal(after analog level adjustment) to
an FPGA
and read the level at the 90 and 270 degree phases.

SPDIF is only 48kHz * 32 bits * 2 channels * 2 for biphase = 6MHz
Any modern FPGA will do 100MHz easy.
So just oversample the signal and decode it like a UART would.

To build a transmitter locked to the receiver would be more difficult.
Alan Nishioka
alann@accom.com
Back to top
Peter
Guest





Posted: Mon Dec 13, 2004 11:15 pm    Post subject: Re: PLLs on biphase mark signals Reply with quote

A Manhester decoder can be implemented in less than one Virtex-II CLB.
You need an 8x oversampling clock, but the tolerances are quite
generous:
The clock frequency must be between 5 and 12 times the incoming bit
rate.
Send me an e-mail if you need the code.
I described the concept years ago in our XCell magazine.
http://query.xilinx.com/ui/jsp/xilinx_template.jsp?field=%2Fcompany%2Fsearch.
Peter Alfke, Xilinx Applications ( peter@xilinx.com)
Back to top
Peter
Guest





Posted: Mon Dec 13, 2004 11:18 pm    Post subject: Re: PLLs on biphase mark signals Reply with quote

Adam wrote:
Quote:
Hello all,

Will an FPGA PLL lock onto a biphase mark(Manchester ??) encoded
signal?
I'm trying to build an SPDIF receiver and am wondering if its
possible to
directly connect the input signal(after analog level adjustment) to
an FPGA
...
A Manhester decoder can be implemented in less than one Virtex-II CLB.

You need an 8x oversampling clock, but the tolerances are quite
generous:
The clock frequency must be between 5 and 12 times the incoming bit
rate.
Send me an e-mail if you need the code.
I described the concept years ago in our XCell magazine.
http://query.xilinx.com/ui/jsp/xilinx_template.jsp?field=%2Fcompany%2Fsearch.
Peter Alfke, Xilinx Applications ( peter@xilinx.com)
Back to top
Adam
Guest





Posted: Wed Dec 15, 2004 4:40 am    Post subject: Re: PLLs on biphase mark signals Reply with quote

Thanks to the responses. I'm gonna have a go at it on my own first and see
what I come up with.
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> FPGA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB