This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to get RSSI in the direction_finding_connectionless_rx example on nRF52833?

Hi,

I want to simply get RSSI at each scan in the connection less example (direction_finding_connectionless_rx).
I have running two nRF52833-DK. One is flashed with RX and the other with RX example.

I'm using the nordic NCS SDK v1.8.0 with softdevice s140 v7.3.0.

The devices are communicating to each others nice and easy. But, RSSI readings at each scan show a constant value (-127)

When I debug it (using RTT Viewer and Debug terminal), I get this;

RSSI looks always -127.

I can only see some different RSSI readings during initial talk between the two devices (anchor and tag)

Any input greatly appreciated.

Parents
  • Hi

    First off, the nRFConnect SDK does not use SoftDevices like the S140 (they belong in the nRF5 SDK), as the nRFConnect SDK rather uses a SoftDevice controller, so if you've tried mashing the SoftDevice onto an nRFConnect SDK project that might be causing trouble.

    It seems to state that the TX power is 127 as well, which seems fishy to me. 

    One is flashed with RX and the other with RX example.

    I assume you mean that one is flashed with the DF connectionless TX (beacon) sample, and one is flashed with the DF connectionless RX (locator) sample.

    I think what is happening is that you're mixing up AoA and AoD modes which for some reason makes the RSSI off on the receiver side. Please try setting up the projects again and read the setup instructions carefully when doing so.

    Best regards,

    Simon

  • Hi Simonr,

    Yeah, actually I am already using the one you suggested (C:\nRF5\ncs\v1.8.0\nrf\samples).

    Yes, I can consider myself new with nRF development but old with SES. This is why I have started with it. But, I have also Visual Code included necessary extensions, just  I didn't check there yet.

    No, you don't need this overlay-aoa.conf file in the locator application.

    Interesting, in the Readme file this was the suggestion at least for AoD not sure for AoA though. A bit confusing, I don't know.

    Do you have an antenna array on the locator side and have you configured the antenna matrix to work in Angle of Arrival mode as explained in the documentation? This is required to get correct results.

    No, I don't have any array antenna yet. In fact that I contacted to Nordic regional sales director (Patrick) and I asked him your antenna design with 12 antennas so I can make one myself (in the case you don't have one otherwise I can buy), but he didn't return me back since Tuesday. If you can help me on this, I would appreciate that. I mean if you can share the info regarding the antenna design or such.

    One more remark, I am now struggling to debug using RTT Viewer. I can't see the logs anymore for some reason.
    But I've noticed that my config setting keep reverting back. For example a setting "CONFIG_UART_CONSOLE=n"
    keeps revert back to "CONFIG_UART_CONSOLE=y".
    The config file is at this location;
    C:\nRF5\ncs\v1.8.0\nrf\samples\bluetooth\direction_finding_connectionless_rx\build_nrf52833dk_nrf52833\zephyr\.config

    What do you think about it?

    Last but not least;

    Do we have another sample project pair (like in the same sense TX and RX) you can suggest for monitoring RSSI with nRF82533? No need AoA or AoD.

    Thank you.

    Best regards,
    Sener

Reply
  • Hi Simonr,

    Yeah, actually I am already using the one you suggested (C:\nRF5\ncs\v1.8.0\nrf\samples).

    Yes, I can consider myself new with nRF development but old with SES. This is why I have started with it. But, I have also Visual Code included necessary extensions, just  I didn't check there yet.

    No, you don't need this overlay-aoa.conf file in the locator application.

    Interesting, in the Readme file this was the suggestion at least for AoD not sure for AoA though. A bit confusing, I don't know.

    Do you have an antenna array on the locator side and have you configured the antenna matrix to work in Angle of Arrival mode as explained in the documentation? This is required to get correct results.

    No, I don't have any array antenna yet. In fact that I contacted to Nordic regional sales director (Patrick) and I asked him your antenna design with 12 antennas so I can make one myself (in the case you don't have one otherwise I can buy), but he didn't return me back since Tuesday. If you can help me on this, I would appreciate that. I mean if you can share the info regarding the antenna design or such.

    One more remark, I am now struggling to debug using RTT Viewer. I can't see the logs anymore for some reason.
    But I've noticed that my config setting keep reverting back. For example a setting "CONFIG_UART_CONSOLE=n"
    keeps revert back to "CONFIG_UART_CONSOLE=y".
    The config file is at this location;
    C:\nRF5\ncs\v1.8.0\nrf\samples\bluetooth\direction_finding_connectionless_rx\build_nrf52833dk_nrf52833\zephyr\.config

    What do you think about it?

    Last but not least;

    Do we have another sample project pair (like in the same sense TX and RX) you can suggest for monitoring RSSI with nRF82533? No need AoA or AoD.

    Thank you.

    Best regards,
    Sener

Children
No Data
Related