Using NRF Connect RSSI viewer with radio test sample

Hi

I am working with the radio test sample. I am using the RSSi viewer for testing as detailed here. I am guessing that I need two development kits here - one with the sample flashed (A) and another one that is connected to the PC with RSSI viewer (B). The RSSI application programs the device B. This is my understanding about the setup. However, even without my device A powered down, I can see some activity in the RSSI viewer. I have no other bluetooth devices in the vicinity. Hoping to see a change in the observed pattern, I turned the device A on and used the following commands

output_power pos4dBm

start_tx_modulated_carrier

However, I could not see any change in the RSSI viewer. Is there anything that I am doing wrong ?

Also, I tried using the testing method using another DK as described here. This time, I could see the received packets but I cannot see any changes when I use print_rx on B when i change the output power of device A. How do I analyze the pattern ?

Thank you

  • Hey Midhunjac,

    However, even without my device A powered down, I can see some activity in the RSSI viewer. I have no other bluetooth devices in the vicinity.

    RSSI samples any received RF waves in a given channel, no matter the source, it's just an analog sample of the energy present in the input stage of the receiver. This means that the RSSI Viewer will sample a lot of WIFI noise due to the high transmission power and wide frequency bands of WIFI devices.

    How much noise(RSSI) is present in the channel that you are using when the Radio Test transmitter is not transmitting?

    However, I could not see any change in the RSSI viewer. Is there anything that I am doing wrong ?

    I'm not quite sure. My advice is to set the RSSI Viewer app to scan only on the channel that you are using (default channel is 0), and place the Radio Test transmitter and RSSI Viewer receiver devices as close to each other as possible. The RSSI should be closer to -50/-60dBm on 0dBm TX power when the two devices are ~5cm apart. It's been a while since I've measured RSSI myself so my numbers might be a bit off.

    You can also use channel 2 as it should contain less BLE noise from the Advertising channel 0 @2402MHz and still be as far away from the default wifi channels as possible.

    How far apart are the two devices?

    Are any of the devices custom designs or are they all nRF52xx DK's?

    BR,
    Håkon Holdhus

  • Hi,

    Thank you for the reply. I think I get what you are saying about the RSSI viewer application. I will try it out and then post the updates.

    How far apart are the two devices?

    10cms maybe. no more than that.

    Are any of the devices custom designs or are they all nRF52xx DK's?

    I have one on DK - nrf52832 for testing. And a custom board with nrf52840.

    Also, as I mentioned before, I tried radio sample with the method described here. I could see that the receiver did receive something but it is different each time for the same test case. Is that how it is supposed to be ?

    I would like to learn how to analyze these received patterns. Can you guide me to a starter's guide or documentation please?

    Thank you

  • Midhunjac said:
    Also, as I mentioned before, I tried radio sample with the method described here. I could see that the receiver did receive something but it is different each time for the same test case. Is that how it is supposed to be ?

    Hmm, I would expect the received data to be random only if you set transmit_pattern to pattern_random.

    There's no guide in interpreting the RAM content (I assume addresses are offset by ram_start), the radio test sample is pretty basic with regards to features. If there is an issue it's either in the shell-configuration of the transmitter and receiver, or there's a HW RF issue with one of the boards. That's at least where we should be looking.

    What are you using this test set-up to test for? Are you validating the TX output power of your custom board?

    Have you had a design review of your board yet?

    Have you tuned the antenna?

  • Have you had a design review of your board yet?

    Have you tuned the antenna?

    The design review is not done yet. I just wanted to get a hold of the test procedure with the DK ahead of the actual test. Hence the radio test sample. I am new to this thing and still learning. I appreciate your effort in helping out. I will get back after the tests with the DK.

    Thank you

  • Also, I am following this method for now to test and from what I understand, when transmit_pattern is 11110000, I should get F0 and if it is set to 11001100 I should get CC at the receiver side. Am I right here ?

    If that is the case, am I right in assuming that there is no way by which I can make sure that the changes that I make to the output power using output_power command in transmit side actually has an effect ?

Related