I have a single tone signal in I/Q format in an ASCII file. In this file the first column contains I data and the second column contains Q data. I have a script that takes that data and creates a binary file ( compatible with an Agilent ESG) after scaling the data to 16bits. The ASCII files has 1ms of data with 61440 samples. I then run the following two commands.
dd if=/dev/1MHz_tone.bin of=$dev bs=$buffer_size count=1
echo 1 > $dac_path/buffer/enable
On the spectrum analyzer, I do not see a single tone at the expected frequency instead I see noise.
Can you let me know the following two things:
1) let me know if the ASCII files needs to be formatted in a certain way
2) what is the correct way of sending IQ data to the DAC buffer