AnsweredAssumed Answered

Change property of the sine wave

Question asked by mr_nazrin on Apr 7, 2014
Latest reply on Dec 8, 2014 by mr_nazrin

I'm using Zedboad + FMCOMMS1 + Windows7 as my platform.

 

As we know, running tutorial AD-FMCOMMS1-EBZ Quick Start Guide on Xilinx FPGA Boards Without OS will generate a sinewave and send over the air and receive it back and observe its IQ using ChipScope. This sinewave come from look up table as

 

const uint16_t sine_lut[32] = {

          0x8000, 0x98F8, 0xB0FB, 0xC71C, 0xDA82, 0xEA6D, 0xF641, 0xFD89,

          0xFFFF, 0xFD89, 0xF641, 0xEA6D, 0xDA82, 0xC71C, 0xB0FB, 0x98F8,

          0x8000, 0x6707, 0x4F04, 0x38E3, 0x257D, 0x1592, 0x09BE, 0x0276,

          0x0000, 0x0276, 0x09BE, 0x1592, 0x257D, 0x38E3, 0x4F04, 0x6707

};

 

My question:

1-Based on this HEX pattern, how to determine that data reflect to property of  sine wave, (amplitude, freq).

2- What is the correct way if I want change to other type of signal like square to replace sinewave.

 

Best Regards,

Outcomes