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

nrf5340 for Bluetooth low energy connect with nrf connect app

Hi!

I wonder how can I measure the delays, latency, errors and connection speeds. I'm using nrf samples for bluetooth peripheral_uart  connect it with nrf connect app. I just follow this tutorial Bluetooth: Peripheral UART — nRF Connect SDK 1.5.1 documentation (nordicsemi.com)

Best regards  

Parents
  • I think the nRF Sniffer may be a good option to measure delays, latency and connection speed. You'll need an additional nRF52840 DK, nRF52 DK or an nRF52840 Doongle to make it work. Regarding Errors, you may check out the NCS tutorial part 3 Error handling.

    Best regards,

    Simon

  • I can't do it using nrf5340 DK? because nrf sniffer doesn't support nrf5340 

    The experiment that I want to do is to connect two nrf5340 with each other and measure delays, latency and connection speed when I send a packet. 

    I connect both nrf5340 DK using those tutorials Bluetooth: Peripheral UARTBluetooth: Central UART but it seams there is no connection between them. Each nrf5340 DK has Putty serial terminal connect with nrf connect for mobile. I can send massage from mobile but i can't send from Putty.  I just wondering if there is way to get connection between both cards using mobile app or any other way.

    best regards,

    Marwa

  • Marwa Sabbagh said:
    The experiment that I want to do is to connect two nrf5340 with each other and measure delays, latency and connection speed when I send a packet. 

    Does this example suffice: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.1/nrf/samples/bluetooth/throughput/README.html? Follow the steps under Building and running

    Marwa Sabbagh said:
    I connect both nrf5340 DK using those tutorials Bluetooth: Peripheral UARTBluetooth: Central UART but it seams there is no connection between them. Each nrf5340 DK has Putty serial terminal connect with nrf connect for mobile. I can send massage from mobile but i can't send from Putty.  I just wondering if there is way to get connection between both cards using mobile app or any other way.

    I don't have two nRF5340DK's at hand at the moment, but I was able to connect an nrf52840 DK (peripheral_uart) to an nRF5340 DK (central_uart). The process should be the same for two nRF53 DKs. I did the following:

    • Made sure I'm on NCS v1.5.1 (cd <ncs location>/nrf && git checkout master && git pull && git checkout v1.5.1 && west update)
    • Built and programmed peripheral_uart onto nRF52840 DK
      • cd ../nrf/samples/bluetooth/peripheral_uart
      • west build -b nrf52840dk_nrf52840 -p
      • Connect and turn on the nRF52840
      • Open a terminal, e.g. Termite or Putty
      • west flash
      • You should then see the following log in the terminal: "Starting Nordic UART service example"
    • Built and programmed central_uart onto the nRF5340 DK
      • cd ../nrf/samples/bluetooth/central_uart
      • west build -b nrf5340dk_nrf5340_cpuapp -p
      • Connect and turn on the nRF5340
      • Open a terminal, e.g. Termite or Putty
      • west flash
      • You should then see the following log in the terminal: "Starting Bluetooth Central UART example"
    • The central_uart and the peripheral_uart should automatically connect, and if you type something in one of the terminal it should show up in the other

    Best regards,

    Simon

Reply
  • Marwa Sabbagh said:
    The experiment that I want to do is to connect two nrf5340 with each other and measure delays, latency and connection speed when I send a packet. 

    Does this example suffice: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.1/nrf/samples/bluetooth/throughput/README.html? Follow the steps under Building and running

    Marwa Sabbagh said:
    I connect both nrf5340 DK using those tutorials Bluetooth: Peripheral UARTBluetooth: Central UART but it seams there is no connection between them. Each nrf5340 DK has Putty serial terminal connect with nrf connect for mobile. I can send massage from mobile but i can't send from Putty.  I just wondering if there is way to get connection between both cards using mobile app or any other way.

    I don't have two nRF5340DK's at hand at the moment, but I was able to connect an nrf52840 DK (peripheral_uart) to an nRF5340 DK (central_uart). The process should be the same for two nRF53 DKs. I did the following:

    • Made sure I'm on NCS v1.5.1 (cd <ncs location>/nrf && git checkout master && git pull && git checkout v1.5.1 && west update)
    • Built and programmed peripheral_uart onto nRF52840 DK
      • cd ../nrf/samples/bluetooth/peripheral_uart
      • west build -b nrf52840dk_nrf52840 -p
      • Connect and turn on the nRF52840
      • Open a terminal, e.g. Termite or Putty
      • west flash
      • You should then see the following log in the terminal: "Starting Nordic UART service example"
    • Built and programmed central_uart onto the nRF5340 DK
      • cd ../nrf/samples/bluetooth/central_uart
      • west build -b nrf5340dk_nrf5340_cpuapp -p
      • Connect and turn on the nRF5340
      • Open a terminal, e.g. Termite or Putty
      • west flash
      • You should then see the following log in the terminal: "Starting Bluetooth Central UART example"
    • The central_uart and the peripheral_uart should automatically connect, and if you type something in one of the terminal it should show up in the other

    Best regards,

    Simon

Children
No Data
Related