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

nRF52840 DK

Hello All I am new to this nordic semiconductors. I need information regarding nRF52840 DK boards.

* How to connect two nrF52840 DK(transmitter to receiver) and start advertising channels(37,38,39) between them?
* And I need to capture the RSSI(30,000 samples). How to do this??
* How to capture how many data packets are lost during each advertising channel???
* Do I get a code for advertising channels online??

  • Hi Narendra

    If I understand you correctly you need to set up an advertiser on one board, and a scanner on another, so that the scanner can receive the data sent by the advertiser?

    What kind of data do you need to put in the advertise packet?

    We have a beacon example in the nRF5 SDK showing how to set up the advertising side, but we don't have a matching scanner example (mostly a phone is used as the scanner). That shouldn't be too much work to set up though. 

    Every scan report on the scanner side includes the RSSI, so for each received packet you can take a note of the RSSI and store it in memory. 

    You can't really count the number of lost packet directly, but if you know the advertising interval of the advertiser you can calculate the number of lost packet based on how many packets you receive. It is important to mention that there will always be a lot of lost packets during advertising because the scanner can only scan on one frequency at the time, and because there could be a lot of activity from other BLE devices on the same channels. 

    The nRF5 SDK v15.3.0 can be downloaded here, and contains all the official examples and libraries for the nRF52840. 

    We also provide various examples on our Github account, but I would recommend starting with the SDK first. 

    https://github.com/NordicSemiconductor

    https://github.com/NordicPlayground

    Best regards
    Torbjørn

Related