MATLAB Answers

Zynq SDR Receiver Block outputs data regardless of hardware state/cannot detect 802.11 beacons.

1 view (last 30 days)
Hewy.j
Hewy.j on 17 Aug 2018
Edited: Hewy.j on 21 Aug 2018
I'm trying to detect the 802.11 beacon from my iphone 'hotspot' (2.4GHz, channel 1) using the ' Targeting the HDL Optimized 802.11 WLAN Beacon Frame Receiver Using Analog Devices AD9361/AD9364' example design.
I've used HDL Workflow Advisor to load the image onto the FPGA fabric without any problems but when I run the retargeted simulation, without error, there are no beacons to be found, on any channel.
To trouble shoot this I've tried using a 'to workspace' block to write the output of the SDR Receiver block to the workspace and it does show activity but it continues to do so even if I ground the antenna connector.
I now don't know how to continue troubleshooting since it seems the signal passing into the system is not coming from my antenna. Has anyone got any ideas for a sensible next step?

Accepted Answer

Neil MacEwen
Neil MacEwen on 20 Aug 2018
Hi Harry,
This example will only receive 802.11b standard waveforms. I believe many routers do not transmit that beacon by default, you may have to edit the router setup to transmit this beacon. For this reason we are planning to remove this example in a future release.
This example is also designed to always receive data. Whether the data samples coming from the board to the host contain valid data or not is encoded into the sample stream. If you look in the subsystem "zynqRadioQPSKRxFPGAAD9361AD9364SL/QPSK Receiver/HDLRx/FPGA to Host" you will see that the valid signal is packed into one of the data samples. The host will receive a constant stream of data, but that doesn't necessarily mean that the data is good. Rest assured that the data path from your antenna, through the algorithm and back to MATLAB/Simulink should be good!
Cheers,
Neil
  3 Comments
Hewy.j
Hewy.j on 21 Aug 2018
Success!
I'm detecting beacon packets from a router! Maybe just stating in the example that it only works with 802.11b would be better than deleting the whole thing?
I should have realised about the leakage, it seems obvious now you say it.
Thank you Neil, I appreciate all your help!
Regards, Harry.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by