I’m using ZedBoard with FMCOMMS3 and trying to generate a 13 symbol barker code [+1, +1, +1, +1, +1, -1, -1, +1, +1, -1, +1, -1, +1] at the transmitter side before sending my actual data. I’m trying to do so using SW, but I’m still not successful and I have some concerns about timing as my application is highly time dependent (I’m posting a question there). In my software approach, I’m trying to modify the sine LUT in the dac_core.c file. My question is, how can I generate a Barker code sequence and send it using the FMCOMMS2 base design?
Another point to mention, during my search I found out that generating BPSK symbols is somewhat similar to generating a barker code (180 degrees phase shift between 0 and 1), however I didn’t find much info about how to implement it. If BPSK is easier than implementing Barker code in the base design, how can I implement it?