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

Dongle in server mode with connect needs 100-400 ms to answer Read or Write response

Using a Peripheral set in Central mode and write then read data back in the Dongle nRF5240 set in Server Mode.

Once connected and exchange MTU (extended) I write and then read my data. The read response or the write response are very long up to 400 ms for the read response.

Sending 1 byte or 240 bytes does not make any differences.

Why is this delay for?

My Interval connection is set to the minimum 7.5 ms.

Are this timing correct? Can I made then shorter?

Thank for helping.

Jean-Marc

  • 1) No the experimental 5 does NOT work on my dongle. It cannot find the USB device. That is why I search and found the experimental 6. Which is indicated on a small "i" to click. This is ridiculous... Who wants to click on a such small indicator... :-(

    2) Yes I Add .hex file usbd_ble_uart\pca10056, then do "write". Then I loose the contact of the dongle. It says "Connect to a DevKit to see the contents of its non-volatile memory here". ???

    3) Since I loose the contact of the dongle I cannot open Putty or any terminal to it I do not have any com port.

    Anyway doing OK with the nRF DK.

    But do not see much interest for the dongle. Also Connect is not as nice as was Master Control Panel which does not work anymore. Neither on my nRF51 dongle nor the new dongle.

    Thank you for your help...

  • 1) I am sorry, don't understand what you are meaning here. 

    2) Yes. You will loose the connection. nRF Programmer is looking for a device with a bootloader, which means that the chip is using the USB peripheral for the bootloader. When you program the device using the bootloader, it will start the application. Unless your application uses the USB peripheral the same way, it will not be able to detect it. If you want to put the dongle back in bootloader mode, you must press the "reset" button on the dongle, while it is connected to power.

    3) Try the application on the DK first. The USB port on the long side of the DK corresponds to the dongle's USB port.

    Master Control Panel is deprecated. nRF Connect has replaced this module.

    Best regards,

    Edvin

  • Thank you for the follow up.

    1) When you install Connect the experimental 5 is the one installed, and when I open the Programmer app it does not found my dongle. Looking at the Connect screen on the "Programmer (experimental) I could see a very small icon blue with (i). When clicking on (i) I could see that the (experimental 6) is available. I download it and it worked. So Programmer seems to work, find my dongle.

    2) I can flash my ble_app_uart_pca10056.hex into the dongle with Programmer but then loose connection with the dongle. So my question is: What do I need this for if I loose the connection with the dongle? For me this situation is useless.

    I appreciate your help. Thank you.

Related