nRF52840, evaluation for BLE devices to be used in a test system

I am in the conceptual stages of development for a BLE test system.

The test system requires:

Fast transceiver and connection with BLE devices, preferably capable of scanning for devices in ms (5ms or lower preferably) with a high data rate (1 Mbps).

Capable of calculating the BLE channel received and controlling the BLE channel used.

Controlled modulated RF wave transmission (optional).

The test requires the capability to communicate and connect with 6 devices in parallel, is the nRF52840 capable of connecting with multiple devices?

I am planning to create a PCB using the nRF52840 chip or similar which fits the requirements. Can multiple (up to 6 depending on the number of devices that can be connected) nRF52840 dongle with PCB Altium documents provided by Nordicsemi be used on one larger PCB without interference? the BLE circuits will; share solid inner layer ground and power sources with the ground vias placed close to the pins, be located close to the edge of the PCB, be routed to avoid noise on Vcc and the area of the antennas will have a keep out area with no traces or metal near. The PCB dielectric thickness will match that of the nRF52840 dongle to prevent an effect on the antenna.

https://www.nordicsemi.com/-/media/Software-and-other-downloads/Dev-Kits/nRF52840-Dongle/nRF52840-USB-Dongle---Hardware-files-2_0_0.zip

Can an external antenna then be added to the PCB using an SWF or similar surface mount RF connector?

  • Hello William,

    Thanks for your queries.

    ''Fast transceiver and connection with BLE devices, preferably capable of scanning for devices in ms (5ms or lower preferably) with a high data rate (1 Mbps).''

    That high data rates can be rarely achieved using BLE5.0 2MPHY but the devices needs to be very close to each other with almost no packet loss. It is impossible to achieve this with multiple links.

    ''The test requires the capability to communicate and connect with 6 devices in parallel, is the nRF52840 capable of connecting with multiple devices?''

    Our softdevice offers a maximum of upto 20 connections, so connecting with multiple device is not a problem. 

    If you use nRF5 SDK and the Softdevices, then you can find the maximum number of supported connections in the Soft device specifications, found here: https://infocenter.nordicsemi.com/topic/struct_nrf52/struct/nrf52_softdevices.html?cp=4_7. Its usually listed in the key features, see the S140 SoftDevice Specification for reference. If you use nRF Connect SDK, then you will have to take a look at the SoftDevice Controller documentation: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/softdevice_controller/README.html#

    but achieving that high data rates with multiple connections is almost impossible.

    ''The test requires the capability to communicate and connect with 6 devices in parallel, is the nRF52840 capable of connecting with multiple devices?''

    The PCB design and multiple connection ability are not linked. Those are different things. If you already have your design can send to us we can check.  However having 6 radios on the same PCB at the same time, not a feasible idea. When one of them is transmitting data, none of the other will be able to receive anything. 

    ''Can an external antenna then be added to the PCB using an SWF or similar surface mount RF connector?''

    I think it is possible to connect different antenna with connector.

    Hope it helps. Feel free to ask if you have more queries.

    Best Regards,

    Kazi Afroza Sultana

  • Hi Kazi,

    Thank you for your help,

    Just for clarification:

    That high data rates can be rarely achieved using BLE5.0 2MPHY but the devices needs to be very close to each other with almost no packet loss. It is impossible to achieve this with multiple links.

    what would be a typical data rate for this device? the previous hardware I have been using has had a very slow data rate due to the scan functionality taking a long time to begin, with the scan function being required to retrieve the advertisement. I am receiving up to 41 Bytes per advertisement packet, I want to be able to reliably receive this advertisement packet in milliseconds (the faster the better).

    Our softdevice offers a maximum of upto 20 connections, so connecting with multiple device is not a problem. 

    through the connection with the parts, will I be able read/write the Data packet of the DUT (Device under test)?

    he PCB design and multiple connection ability are not linked. Those are different things. If you already have your design can send to us we can check.  However having 6 radios on the same PCB at the same time, not a feasible idea. When one of them is transmitting data, none of the other will be able to receive anything. 

    i have no PCB design yet, if the device is capable of read/writing to the DUT Characteristic UUID/ Data packet I will only require one nRF52840.

    is the nRF52840 capable of knowing the received BLE channel and transmitting on specific channels?

    thanks,

    William

  • Hello William, 

    Here are some explanation of your questions:

    ''what would be a typical data rate for this device? the previous hardware I have been using has had a very slow data rate due to the scan functionality taking a long time to begin, with the scan function being required to retrieve the advertisement. I am receiving up to 41 Bytes per advertisement packet, I want to be able to reliably receive this advertisement packet in milliseconds (the faster the better).''

    In ideal condition, You can achieve around 200-300 kbps maximum data rate for 1Mbps of IM coded phy modulation rate when two devices are in 1m distance. For 2Mbps modulation rate, it (data rate) would be maximum 500 kbps for maximum 1m distance. More the distance increases, the sensitivity has to increase and data rate decreases. But there are other factors also involved here like radio interference by obstacle, Line of sight so not always we can get the ideal value. Increasing sensitivity can reduce the payload but the compensation is low data rate and high power consumption.

    And the above mentioned data rates for different modulating rate are for single connection. When you have multiple connection, time gap between consecutives packets increase that reduces the data rate. Scanner is another functionality which occupies the timeslot of the connection. If you have scanner along with connections, then during that scan window the connected devices are not transmitting any data, so this will reduce the data rate. The longer the scan window the lower will be the data rate on the connected roles.

    ''Our softdevice offers a maximum of upto 20 connections, so connecting with multiple device is not a problem. ''

    Each connection should read data from the paired device individually. Could you please elaborate this point ?

    ''is the nRF52840 capable of knowing the received BLE channel and transmitting on specific channels?''

    The nRF52840 is not capable of selecting the channels in the connected state, only channel selection algorithm is configurable in connected states. In advertising and scanning states, you can choose which channel to transmit the adv packet or scan the incoming packet.  When both devices are in the connected states they know which channel to use as this is set at the negotiation during connection time. You can look at these previous tickets about channel selection. https://devzone.nordicsemi.com/f/nordic-q-a/27479/chsel-algorithm and (+) Configuring Advertisement channels and Connection channels - Nordic Q&A - Nordic DevZone - Nordic DevZone (nordicsemi.com) . 

    Feel free to ask if you have more clarification. 

    Best Regards,

    Kazi Afroza Sultana

  • Hi Kazi,

    Thank you for your help, that's great Slight smile

    if my calculations are correct my required data rate should be as low as 10kbps 41 bytes/5ms = 8.2 kbps rounded to 10kbps. From what you have told me I believe this should be easily achievable in connected mode with 6 connections. The distance between the two devices is less than 1m and the antenna and 6 DUT's are tested within an RF shielded chamber. 

    When you have multiple connection, time gap between consecutives packets increase that reduces the data rate.

    is this reduce in data rate by a factor of 6 (for 6 connections) i.e. 60 kbps would be required for 10kbps per device.

    If you have scanner along with connections, then during that scan window the connected devices are not transmitting any data, so this will reduce the data rate. The longer the scan window the lower will be the data rate on the connected roles.

    we are testing two different parts currently:

    one part will test through advertisements and connect briefly, the scanner will need to run constantly to pick up the advertisement packet which will contain the test data.

    the other will communicate through connected mode with the advertisement only used to scan and connect. the scan function would not run concurrently with connected communication. once connected scanning for this device will stop.

    Each connection should read data from the paired device individually. Could you please elaborate this point ?

    What I mean is can the device transmit/receive to/from all six devices at the same time, or will the transmission/receive cycle the devices.

    In advertising and scanning states, you can choose which channel to transmit the adv packet or scan the incoming packet.

    This will allow me to know the channels used and fits my requirements,

    Thank you for your help,

    William

  • Hello William, 

    You have understood it correctly. Good luck for the design and further process. Feel free to ask any queries related this issue. Slight smile

    Best Regards,

    Kazi Afroza Sultana

Related