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

Periodic Adv on nRF52833

Hello, 

I'm testing periodic advertising sample (sample/bluetooth/periodic_adv,with no changes to the code) on nRF Connect SDK 1.7.0, on BBC MICORBIT V2 that has a nRF52833 chip. 

The code returns an error at: "err = bt_le_per_adv_set_param(adv, BT_LE_PER_ADV_DEFAULT);", and it indicates that "

BT_FEAT_LE_EXT_PER_ADV(bt_dev.le.features)"

is not supported. Could you advice what is the root cause? Is it on the chip or some code configuration? 

Thanks a lot, 

Parents
  • Thanks so much. I think this is the same error I got when I pick nrf9160_nrf52840 and test on my nrf9160dk board - I know that the nrf52840 is not supported for this example though. 

  • Thank Elfving, maybe I should have posted some screenshoting that could help you debug the issue.

    To keep steps simple, let focus on the nRF9160DK (PCA10090 V1.0.0, 2021.11) board for this issue, I just created the workspace using the Segger Embedded Studio which comes with nRF Connect SDK 1.7.0 for macOS ( I'm using macOS Big Sur v11.6, I remember I got same result from my Ubuntu as well). 

    0. Launch the Segger Embedded Studio from nRF Connect v3.7.1 Toolchain Manager, choosing nRF Connect SDK V1.7.0 Open IDE. 

    1. Import project with the following configuration, I did a clean build, all good. 

    2. Without any code change, build the project and run on the nRF9160dk, on the nRF52840 MCU, by clicking Debug-> Go. I can see from the terminal shown as below. You can see the second line print "Fail to set periodic advertising ..." 

    3. I reset the session and set a breakpoint to capture "

    err = bt_le_per_adv_set_param(adv, BT_LE_PER_ADV_DEFAULT);"

    shown as below: 

    Hope this can help you replicate the issue. Let me know what I missed in bringup the function. 

    Thanks a lot. 

    Libo 

Reply
  • Thank Elfving, maybe I should have posted some screenshoting that could help you debug the issue.

    To keep steps simple, let focus on the nRF9160DK (PCA10090 V1.0.0, 2021.11) board for this issue, I just created the workspace using the Segger Embedded Studio which comes with nRF Connect SDK 1.7.0 for macOS ( I'm using macOS Big Sur v11.6, I remember I got same result from my Ubuntu as well). 

    0. Launch the Segger Embedded Studio from nRF Connect v3.7.1 Toolchain Manager, choosing nRF Connect SDK V1.7.0 Open IDE. 

    1. Import project with the following configuration, I did a clean build, all good. 

    2. Without any code change, build the project and run on the nRF9160dk, on the nRF52840 MCU, by clicking Debug-> Go. I can see from the terminal shown as below. You can see the second line print "Fail to set periodic advertising ..." 

    3. I reset the session and set a breakpoint to capture "

    err = bt_le_per_adv_set_param(adv, BT_LE_PER_ADV_DEFAULT);"

    shown as below: 

    Hope this can help you replicate the issue. Let me know what I missed in bringup the function. 

    Thanks a lot. 

    Libo 

Children
No Data
Related