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

Active scan throughput is poor on nRF5340 using nRF BLE Controller.

I try to run samples/bluetooth/scan_adv on nRF52840/nRF5340 using nRF BLE Controller..

Result is
nRF52840/active scan:  498 packet/s
nRF52840/passive scan:  507 packet/s

nRF5340(NetCore)/active scan: 69 packet/s
nRF5340(NetCore)/passive scan: 421 packet/s

Why nRF5340(NetCore)/active scan is poor?

sample source

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* main.c - Application main entry point */
/*
* Copyright (c) 2015-2016 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/types.h>
#include <stddef.h>
#include <sys/printk.h>
#include <sys/util.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
static u8_t mfg_data[] = { 0xff, 0xff, 0x00 };
static const struct bt_data ad[] = {
BT_DATA(BT_DATA_MANUFACTURER_DATA, mfg_data, 3),
};
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX