Central and peripheral Coded Phy running in nRF5340 and nRF52840 DKs

Hi, 

I have nRF5340 DK and nRF52840 DK and Flashed Central_hr_coded in nRF52840, Peripheral_hr_coded in nRF5340 DK. Followed the steps of Testing as showed in below link. 

https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/central_hr_coded/README.html#bluetooth-central-hr-coded

In the Putty and nRF terminal of VS Code, It is not showing the device connected.

1)My question is can we run the central and peripheral_hr_coded in different DKs? Any configuration need to change to allow both DKs connected to see the data in terminal?

2)I have tried to test the Peripheral_hr_Coded sample to see the HR data in nRF Connect App. The Device Name is not visible in App even though I added  CONFIG_BT_DEVICE_NAME="CODED PHY TEST". in prj.conf file. 

3)I would like to test Coded_PHY sample program for nRF5340 DK. Any Sample Coded PHY program to test the BLE Long range and Max data transfer to check?

Any Help Appreciated.

Thanks & Regards

Yashwanth

Parents
  • Hi Yashwanth

    1. Yes, you should be able to run the HR Coded projects on two different DKs and make them connect to each other. As long as one DK is flashed with the Central Heart rate monitor and one is flashed with the Peripheral sample that should be good. You need to have two terminal windows each connected to one of the DKs and you should see logging from both devices.

    2. Then my guess is that your phone doesn't support the Coded PHY. What phone are you running the nRF Connect app on?

    3. To test the throughput I would recommend using the throughput sample. The Coded PHY should work for the nRF5340 here as well. You can also check out this Novelbits guide that describes how to get the highest possible throughput.

    Best regards,

    Simon

  • Hi Simonr,

    Thanks for your reply. 

    1. I have flashed nRF5340 with Peripheral HR Coded and nRF52840 with Central HR Coded. But when I connected DKs over Putty to see data over terminal, I can see only below (nRF5340) . 

    *** Booting Zephyr OS build v2.7.99-ncs1-1 ***
    Bluetooth initialized
    Created adv: 0x20000988
    Advertiser 0x20000988 set started
    [00:00:00.279,418] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
    [00:00:00.279,418] <inf> bt_hci_core: HW Variant: nRF53x (0x0003)
    [00:00:00.279,449] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 223.20160 Build 1719410646
    [00:00:00.281,646] <inf> bt_hci_core: Identity: MAC Address(random)
    [00:00:00.281,646] <inf> bt_hci_core: HCI: version 5.2 (0x0b) revision 0x22b0, manufacturer 0x0059
    [00:00:00.281,677] <inf> bt_hci_core: LMP: version 5.2 (0x0b) subver 0x22b0

    On Putty, I have set as Baud rate:115200, 8 data bits, 1 stop bit, No parity, HW flow control: None

    and no output on Putty with Central (nRF52840) on other PC. Is nRF52840 connects with nRF5340? How it can be seen?

    2) Yeah, My Phone (Samsung A31) doesn't support Coded PHY, But the device is visible in scanner of nRF Connect App. But when I set name in prj.conf as  CONFIG_BT_DEVICE_NAME="CODED PHY TEST". It is visible as N/A. Is it because My Phone doesn't support CODED PHY? Or any configuration change needed to visible the name?

    The another Mobile (POCO C31) I have supports Coded PHY and the device is not visible in Scanner.  

    3)Yeah, I have tried throughput sample on the above two different Dks (nRF5340 (As Tester) and nRF52840 (As peer)). I don't see any output as in the link. Any thing I missed to setup configuration because of two different DKs?

Reply
  • Hi Simonr,

    Thanks for your reply. 

    1. I have flashed nRF5340 with Peripheral HR Coded and nRF52840 with Central HR Coded. But when I connected DKs over Putty to see data over terminal, I can see only below (nRF5340) . 

    *** Booting Zephyr OS build v2.7.99-ncs1-1 ***
    Bluetooth initialized
    Created adv: 0x20000988
    Advertiser 0x20000988 set started
    [00:00:00.279,418] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
    [00:00:00.279,418] <inf> bt_hci_core: HW Variant: nRF53x (0x0003)
    [00:00:00.279,449] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 223.20160 Build 1719410646
    [00:00:00.281,646] <inf> bt_hci_core: Identity: MAC Address(random)
    [00:00:00.281,646] <inf> bt_hci_core: HCI: version 5.2 (0x0b) revision 0x22b0, manufacturer 0x0059
    [00:00:00.281,677] <inf> bt_hci_core: LMP: version 5.2 (0x0b) subver 0x22b0

    On Putty, I have set as Baud rate:115200, 8 data bits, 1 stop bit, No parity, HW flow control: None

    and no output on Putty with Central (nRF52840) on other PC. Is nRF52840 connects with nRF5340? How it can be seen?

    2) Yeah, My Phone (Samsung A31) doesn't support Coded PHY, But the device is visible in scanner of nRF Connect App. But when I set name in prj.conf as  CONFIG_BT_DEVICE_NAME="CODED PHY TEST". It is visible as N/A. Is it because My Phone doesn't support CODED PHY? Or any configuration change needed to visible the name?

    The another Mobile (POCO C31) I have supports Coded PHY and the device is not visible in Scanner.  

    3)Yeah, I have tried throughput sample on the above two different Dks (nRF5340 (As Tester) and nRF52840 (As peer)). I don't see any output as in the link. Any thing I missed to setup configuration because of two different DKs?

Children
No Data
Related