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

nRF52840 DK can not advertising extension when using zephyr nRF Connect SDK v1.6.1

HW : nRF52840DK

SW :  nRF3.7.0 desktop tool

          nRF Connect SDK v1.6.1

IDE: SES

Project: periodic_sync or periodic_adv

Operation:

1. build -> rebuild the solution,  success;

2. Target -> Download zephyr/zephyr.elf,  success;

result: 

nRF52840DK LED1 blink , no any advertising packet can be received.

 

Anyone can help me why the extend adv pkt can not received, and how should I do correctly?

  • Hi, 

    Do you have another DK running periodic_adv at the same time?

    Your project can work on my side. 

    *** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
    
    Starting Periodic Advertising Synchronization Demo
    
    Checking LED device...done.
    
    Configuring GPIO pin...done.
    
    Scan callbacks register...success.
    
    Periodic Advertising callbacks register...Success.
    
    Start scanning...success.
    
    Start blinking LED...
    
    Waiting for periodic advertising...
    
    [00:00:00.258,300] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
    
    [00:00:00.258,300] <inf> bt_hci_core: HW Variant[DEVICE]: B9:D7:13:00:00:10 (public), AD evt type 0, Tx Pwr: 127, RSSI -83 Tier C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    
    [DEVICE]: B9:D7:12:6F:F0:1D (public), AD evt type 0, Tx Pwr: 127, RSSI -87 Tier C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    
    : nRF52x (0x0002)
    
    [00:00:00.258,331] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 2.6 Build 0
    
    [00:00:00.258,880] <inf> bt_hci_core: Identity: DA:20:CF:24:38:05 (random)
    
    [00:00:00.258,880] <inf> b[DEVICE]: B9:D7:12:6F:F0:1D (public), AD evt type 4, Tx Pwr: 127, RSSI -82  C:1 S:1 D:0 SR:1 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    
    t_hci_core: HCI: version 5.2 (0x0b) revision 0x0000, manufacturer 0x05f1
    
    [00:00:00.258,880] <inf> bt_hci_core: LMP: version 5.2 (0x0b) subver 0xffff
    
    [DEVICE]: 13:5C:A8:05:2A:44 (random), AD evt type 5, Tx Pwr: 127, RSSI -33 Test Periodic Advertising C:0 S:0 D:0 SR:0 E:1 Prim: LE 1M, Secn: LE 2M, Interval: 0x0780 (2400 ms), SID: 0
    
    Found periodic advertising.
    
    Creating Periodic Advertising Sync...success.
    
    Waiting for periodic sync...
    
    [DEVICE]: 04:E8:6F:0B:76:6D (random), AD evt type 3, Tx Pwr: 127, RSSI -86  C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    
    PER_ADV_SYNC[0]: [DEVICE]: 13:5C:A8:05:2A:44 (random) synced, Interval 0x0780 (2400 ms), PHY LE 2M
    
    [DEVICE]: B9:D7:13:00:10:1D (public), AD evt type 0, Tx Pwr: 127, RSSI -83 Tier C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    
    [DEVICE]: B9:D7:13:00:10:1D (public), AD evt type 4, Tx Pwr: 127, RSSI -84  C:1 S:1 D:0 SR:1 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    
    Periodic sync established.
    
    Stop blinking LED.
    
    Waiting for periodic sync lost...
    
    [DEVICE]: 3C:4B:BD:B5:76:58 (random), AD evt type 3, Tx Pwr: 127, RSSI -90  C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255
    
    PER_ADV_SYNC[0]: [DEVICE]: 13:5C:A8:05:2A:44 (random), tx_power 127, RSSI -30, CTE 1, data length 5, data: 04ffffffa2
    
    PER_ADV_SYNC[0]: [DEVICE]: 13:5C:A8:05:2A:44 (random), tx_power 127, RSSI -30, CTE 1, data length 5, data: 04ffffffa5
    
    PER_ADV_SYNC[0]: [DEVICE]: 13:5C:A8:05:2A:44 (random), tx_power 127, RSSI -30, CTE 1, data length 5, data: 04ffffffa7
    

    Try to reload the project or reopen the Segger project to make the config effective. 

    -Amanda

  • Hi Amanda,

    I reopen the SES several times, the issue still exist. 

    I have two questions :

    Q1:  Did you rebuild the SDK based on v1.6.1 I gave you before download it? is it possible the problem related to SES (v5.50d 64-bits) config?

    Q2:  Why my platform can not log output?  and how could i fix this?

  • Hi,

    yuyin said:
    Q1:  Did you rebuild the SDK based on v1.6.1 I gave you before download it? is it possible the problem related to SES (v5.50d 64-bits) config?

    I use the zephyr.hex under periodic_sync_v01\build_nrf52840dk_nrf52840 and rebuild with the same version of SES as yours. Both two can work. 

     

    yuyin said:
    Q2:  Why my platform can not log output?  and how could i fix this?

    Do you use the correct serial port of the DK via Device manager Windows? You could try another one. Or maybe you would try thisperiodic_sync.zip

    -Amanda H

  • Hi Amanda ,

    which board you test the issue, 52840 Preview DK or 52840 DK board?

    I am using the  52840 Preview DK, does it have the problem?

    The PC I am using only have one serial port via DK.

Related