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

Throughput with nRF UART example

Hi,

I have set up the UART example with PCA10000 and PCA10001. Everything works fine but one strange thing is the time to send 100kB of data. See my times below:

38 seconds 57 seconds 57 seconds 58 seconds

Then I made a reset of the PCA10001, connected again and start sending more data.

39 seconds 57 seconds 57 seconds

A new reset...

38 seconds 57 seconds . . .

So my question is if someone have noticed the same thing, or if someone have a clue why it get faster to transfer data the first time after a reset? I have not changed anything in the code for the example.

BR marru

Parents
  • Hi,

    thank you for your answer! It solved my problem.

    BUT!!!

    You wrote that the MEFW is limited to one packet per connection event. So if I had understood, the theoretical min time to transfer 100 kB of data is:

    ( 1 packet x 20 B ) / 0.0075 = 2667 B/s

    100 kB / 2667 B/s = 37,5 s

    But when I send 100 kB after I made the change you recommended it takes 32 s (now the same value every time :))

Reply
  • Hi,

    thank you for your answer! It solved my problem.

    BUT!!!

    You wrote that the MEFW is limited to one packet per connection event. So if I had understood, the theoretical min time to transfer 100 kB of data is:

    ( 1 packet x 20 B ) / 0.0075 = 2667 B/s

    100 kB / 2667 B/s = 37,5 s

    But when I send 100 kB after I made the change you recommended it takes 32 s (now the same value every time :))

Children
Related