i have this project that i want to send a jpg image using gnu radio and fmcomms3.
Without the hardware, if i do the encode-modulate-demodulate-decode step, i can send and receive images without a problem.
To test if i can send and receive signals i used the 'cyclic-sine' example and it works.
but when it comes sending the images using the setup below, i could not receive anything,
any thoughts or hints on what could be going wrong?
Thanks in advance,
Similar to what I mentioned before, your input is too small. Internally the board will take a 16-bit number and remove the lower 6 LSBs since the transceiver is only 12-bits. So you should provide a signal…
The "Float to short" blocks based on your setup will only produce [-1,0,1]. Change the scale to 2**15 to send full-scale data to the device.
When Cyclic is set only the first buffer is passed to the device on the TX side. If your payloads are larger you will need to disable this feature.
Thank you for replying,
i tried the solutions, i still cannot send the image.
i went back to the cyclic_sine example and saw that, whichever waveform(sawtooth,triangle..etc) i give as input as 'signal source' the output always shows a sinusoid. any guess as to why that might be?
picture for cyclic_sine flow graph attached below.
another question is: why is there this message 'unable to write attribute in_voltage0_hardwaregain:-22' ?
appreciate your help
Similar to what I mentioned before, your input is too small. Internally the board will take a 16-bit number and remove the lower 6 LSBs since the transceiver is only 12-bits. So you should provide a signal that utilizes 16-bits as much as possible.
serpentine said:another question is: why is there this message 'unable to write attribute in_voltage0_hardwaregain:-22' ?
appreciate your help
This error happens when an invalid value is provided to the TX gain settings. The blocks you are using a pretty old compared to the driver. There might be some mismatch there. Here is information about update the software on the board: https://wiki.analog.com/resources/tools-software/linux-software/embedded_arm_images#staying_up_to_date
That helped for the basic example.
i wanted to get rid of the short to float blocks all together and just use the newest blocks with complex i/o according to the method here. i am working on a zedboard and running make fails with a message "internal compiler error:Killed(program cc1plus)" which i have checked is a lack of memory. is there a workaround to this(i.e. can the gr-iio blocks be updated on the zedboard)?
or is there an image i can find with the latest version of the blocks already installed?
You can try to install gr-iio manually: https://wiki.analog.com/resources/tools-software/linux-software/gnuradio use steps for version 3.7.