This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BT Test Tx Sweep

Hi,

When I start the TX sweep test with all 80 channels I get only 10 channels used by the RF. Also power strength of the channels is modulated. cf. attached frequency analyzer screenshot. Why are channels not used? Is there any limitation?

void radio_tx_sweep_start(uint8_t txpower, uint8_t mode, uint8_t channel_start, uint8_t channel_end, uint8_t delayms)

Regards, GuillaumeTx_sweep_Ch1-80.png

  • what do you input into the radio_tx_sweep_start? The screen shot of your spectrum analyzer seems to only cover parts of your spectrum from 2.43 GHz to 2.45 GHz. The carrier you see also seems to be only from one frequency with max_hold on your spectrum.

    Did you try the code example in the SDK called radio_test_example and sending commands through the serial interface to enter the different test modes you want? The function you have used should work too as long as the input are correct with regard to what you expect to be the output.

    EDIT: I attached the main.c file from my "radio_test_example". I've tested this and it sweeps through the channels as defined by radio_tx_sweep_start(). May I ask you to try this main file in your project and see if you're able to get it running as intended.

    main.c

  • Hi,

    I started the radio_tx_sweep_start test with the following parameters: tx_power=+4dBm mode=2Mb/s(data rate) start_channel=0 stop_channel=80 delay_ms=200 (ms) This for sweeping all channels and setting my spectrum analyzer with a sweep time of 100ms. I expected some 80 spectrums one for each BTLE channel. Instead I get only a few channels with a spectrum I do not understand. And each spectrum should last the delayms. Could you please explain how this test work? What test would you suggest to get a simple spectrum on the analyzer? I will try to launch this test with 1 or 2 channels today to get a simple spectrum.

    Regards, Guillaume

  • I edited my response. Please see the edit and the attached main.c file.

Related