NRF5340 long time test for BT, some devices failed.

Hi Devzone,

Test under -20 ℃.

About 500 hours, we found that BT can no longer be used until reboot system. We test 10pcs devices, and 5pcs devices have this issues.

Detail test:  we would start BT scan for 3 seconds then stop BT scan, Test  every 10minutes.

//scan param:

struct bt_le_scan_param common_scan_param = {

    .type = BT_LE_SCAN_TYPE_PASSIVE, // BT_LE_SCAN_TYPE_ACTIVE,

    .options = BT_LE_SCAN_OPT_FILTER_DUPLICATE,

    .interval = 0x800, // BT_GAP_SCAN_FAST_INTERVAL,

    .window = 0x400, // BT_GAP_SCAN_FAST_WINDOW,

    .timeout = 0U,

};

// scan call zephyr api:

err = bt_le_scan_start(&common_scan_param, NULL);

//stop scan call zephyr api:

err = bt_le_scan_stop();

BT issue detail errors:

1. Stop scan, return -120;

the error code -120 means:  -EALREADY;

2. Update adv param failed.

call api: 

err = bt_le_ext_adv_update_param(ext_adv, common_param);

failed log: 

//<wrn> bt_hci_core: opcode 0x2036 status 0x0c

//<err> atd560_bt: bt_le_ext_adv_update_param failed, err(-5).

The error code -5 means: -EIO.

Can you help us to find root cause and fix this issue?

Parents Reply Children
No Data
Related