I am running separately two NfcrdlibEx3_NFCForum examples on two PN7462 boards.
First board Server (NfcrdlibEx3_NFCForum.h):
Second board Client (NfcrdlibEx3_NFCForum.h):
I want to count what's the throughput(speed) of data send from client to server with PUT. To count that I am using timer, which I turn after phnpSnep_Put was successful and start counting how many times Put request was successful in 5 seconds.
phhalTimer_Configure(Counter, 5, %phTimer_CallBack);
After 5seconds I get that around 30times it was successful and I am sending 8bytes data, which is really low.
(30times*8bytessend)/5seconds = 48bytes/s
NFC Bit rates:
106kbits/s -----> 13250bytes/s
212kbits/s -----> 26500bytes/s
424kbits/s -----> 53000bytes/s
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|
Thank you in advanced, the code for counting and setting the timer of client you can find in attachment.
I am using:
I am using PN7462 two boards (these kits: https://www.digikey.com/catalog/en/partgroup/pn7360-pn7362-pn7462-nfc-controller-development-kit/60235)
PN7462AU FW & SW Examples Full Version - v05_02_01
MCUXpresso IDE v10.0.2 [Build 411] [2017-07-11]
Original Attachment has been moved to: NfcrdlibEx3_NFCForum.c.zip