Frame Decoder/Sync Word Detect

View: New views
1 Messages — Rating Filter:   Alert me  

Frame Decoder/Sync Word Detect

by cjgadget :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Greetings,

I am new to GNURadio(and Linux, and Python, etc, etc).  I am a comms/RF engineer trying to take advantage of this great development environment and the USRP.  In the past few days I've developed an FSK receiver for use in a particular application.  I now have recovered data that I can output to a file, scope, etc.

I have arrived at my next challenge..  I need to do something useful with the data, which means achieving byte alignment.  The frames are 51 bytes long, and begin with a two byte sync word.  Well, actually the frame begins with an 11 bit barker code, but in most cases, the remaining bits of the second byte aren't used.  I would like to parse the incoming data, identify the barker code, align the data accordingly, and output a 51 byte chunk from a block.  In short, I need frame aligned data.

Before I begin coding, I wanted to see if anyone has something written that could be modified to handle this.  If not, I would certainly welcome any suggestions for implementation.

Happy Halloween!

-John