Re: [Discuss-gnuradio] DSSS sync question

2016-02-05 Thread Ed Criscuolo
On 2/5/16 6:46 PM, Richard Bell wrote: No it wouldn't work. You have to synchronize before you start de-spreading. I disagree. Mathematically, its the same result if you synchronize, then despread, or despread then synchronize. In the real world, however, its a different ballgame! DSSS sprea

Re: [Discuss-gnuradio] DSSS sync question

2016-02-05 Thread Richard Bell
No it wouldn't work. You have to synchronize before you start de-spreading. Rich On Fri, Feb 5, 2016 at 3:07 PM, Henry Barton wrote: > The last thing I wonder is, can a receiver just pick up a DSSS signal and > start applying the despreading code? I watched a YouTube video about this > and the

Re: [Discuss-gnuradio] DSSS sync question

2016-02-05 Thread Henry Barton
The last thing I wonder is, can a receiver just pick up a DSSS signal and start applying the despreading code? I watched a YouTube video about this and the example involved multiplying the spreading code by the voltages of the composite waveform and averaging them. My system takes 16 chips to ex

Re: [Discuss-gnuradio] DSSS sync question

2016-02-05 Thread Andy Walls
"Assuming the transmitter and receiver were perfectly clocked in unison, what stops the receiver from tuning in in the middle of a byte, thus getting a nibble from the current byte and a nibble from the next?" Nothing. That is a synchronization task your receiver must perform. Assuming the TX

Re: [Discuss-gnuradio] DSSS sync question

2016-02-05 Thread Richard Bell
It will depend on how the rest of the radio is built up. I'm not familiar with VP9, but can I assume it's a spec on bits in a higher layer then Layer 1? Another words, you are assuming you have bits to correlate with, as opposed to wave shapes? You're getting into the difficulties of radio design

Re: [Discuss-gnuradio] DSSS sync question

2016-02-05 Thread Richard Bell
So long as you know what you're looking for in any given scenario, you can use that to correlate to. It can be data or a preamble. If your receiver knows the data will always be a certain way ahead of time though, it's hard to call that data. Semantics at that point. Rich On Fri, Feb 5, 2016 at 2

Re: [Discuss-gnuradio] DSSS sync question

2016-02-05 Thread Richard Bell
Typically a correlator is used to look for a known sequence of bits, so the radio can align the rest of the processing from the end of this known sequence. This is referred to as frame synchronization. You could use the correlation estimation block to implement something like this. It would place a

[Discuss-gnuradio] DSSS sync question

2016-02-05 Thread Henry Barton
Hi all. I've successfully written a DSSS modulator and demodulator in Windows with a chip rate of 16x. It writes samples to a file that the demodulator can read and despread. Before I try any practical implementations, I need to know how a DSSS stream would be synchronized. Assuming the transmit