This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

What's Peer-to-Peer mode speed (Throughput) ?

Other Parts Discussed in Thread: TRF7970A

Hello,

I am trying to send NDEF 8Bytes message from one reader to another using SNEP protocol(LLCP).
My goal is to count what is the throughput of PUT request. (How many bytes of actual data  I can send per second). In order to do that I am using timer. The thing is that in 5seconds I count around 30times of 8Bytes was send which will be 48Bytes/s. According to the protocols the bit rates possible are:

106kbits/s ----> 13250Bytes/s

212kbits/s ----> 26500Bytes/s

424kbits/s ----> 53000Bytes/s

so it means that my result for 106 is around 0.362% which I believe is not true.

So maybe someone can explain me what should I expect and maybe other ways to count throughput?

Kind regards,

Gytis

  • Hello Gytis,

    Are you using a TI firmware example for this testing? What is the device on the other side of the P2P link?

    FYI the bitrates are just over the air transmission rates. But throughput depends on more factors as there is overhead for each command as well as time between commands when MCU's need to process data to send out next packets.

    For an idea of realistic throughput estimates, please see Table 9 of our Peer-to-Peer app note which has a list of data throughput tests done at 424kbps: http://www.ti.com/lit/pdf/sloa192

  • Hello Ralph,

    First of all thank you for the response. I am using PN7462 NFC controllers from NXP. (These two kits: https://www.digikey.com/catalog/en/partgroup/pn7360-pn7362-pn7462-nfc-controller-development-k

    it/60235) So on the other side is the same controller PN7462 and I am trying to make communication between them in Peer-to-Peer active mode.

    So I assume that the higher air transmission rate (106/212/424), the higher the data throughput are. Can I also think that using 424 kbits will be 4 times faster than using 106kbits? In that document I see

    that the highest throughput was measured with nexus 10 which is 41% and the lowest is Samsung Galaxy S3 which is 0.45%, so for example with galaxy s3 all other 99% is headers and other data?

    I also tried to count data throughput by setting the timer for 10seconds and count how much successful PUT request was send from client to server. And I make a table of the results:


    Data rate / Data size 106 kbits/s 212 kbits/s 424 kbits/s
    8 Bytes 45.6 Bps 46.4 Bps 48 Bps
    16 Bytes 92.8 Bps 92.8 Bps  96 Bps
    64 Bytes 364.8 Bps 364.8 Bps  384 Bps
    128 Bytes 704 Bps 716.8 Bps 755.2 Bps
    256 Bytes 819.2 Bps 844.8 Bps 870.4 Bps
    512 Bytes 1.485 kBps 1.587 kBps 1.6896 kBps
    1024 Bytes 2.56 kBps 2.867 kBps

    3.174 kBps

    Data rate / Data size 106 kbits/s 212 kbits/s 424 kbits/s
    8 Bytes 45.6 Bps 46.4 Bps 48 Bps
    16 Bytes 92.8 Bps 92.8 Bps  96 Bps
    64 Bytes 364.8 Bps 364.8 Bps  384 Bps
    128 Bytes 704 Bps 716.8 Bps 755.2 Bps
    256 Bytes 819.2 Bps 844.8 Bps 870.4 Bps
    512 Bytes 1.485 kBps 1.587 kBps 1.6896 kBps
    1024 Bytes 2.56 kBps 2.867 kBps

    3.174 kBps

  • Hello Gytis,

    This forum is to support only TI devices. We can't help you with an NXP device. Please contact them for further support, or switch to using our TRF7970A for your application.
  • Further - to add to Ralph's correct statement - the amount of data you are using is not really enough to see the throughput differences, as the overhead required for NDEF is detrimental to this measurement until you get into above ~3.5kBytes of data. This is what we saw in our testing, and it makes sense, if you look at the overall picture, as data rate is only one component of throughput.

    you can look on page 31 here ==> www.ti.com/.../sloa192a.pdf for the results of one test we did.

  • Thank you for answers, but maybe you have any suggestions how can I achieve speed of 8bytes/ms (64Kbit/s) for sending data. Is it possible with TRF7970A and what kind of communication mode I should use? (active peer to peer? card emulation? passive peer  to peer?)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

  • I don't think you will ever get that with a phone/tablet. The highest i believe we achieved (which was record at that time in NFC Community) was around the 40's, using two TRF7970A devices. the fastest mobile device we found (at that time) was the Nexus 10 tablet, which which allowed in the low 20's. Remember you have an OS in the handset and this means that P2P is not the only thing going on...
    hence the reason for Table 9, on page 31 here ==> www.ti.com/.../sloa192a.pdf - so you can understand it is not dependent on the TRF7970A

  • Thank you so much