Hello,
I am running separately two NfcrdlibEx3_NFCForum examples on two PN7462 boards.
First board Server (NfcrdlibEx3_NFCForum.h):
#define ACTIVE_MODE
#define TARGET_MODE
#define SNEP_SERVER
Second board Client (NfcrdlibEx3_NFCForum.h):
#define SNEP_CLIENT
#define INITIATOR_MODE
#define ACTIVE_MODE
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.
Timer functions:
phhalTimer_Init();
phhalTimer_RequestTimer(E_TUNIT_SECS, &Counter);
phhalTimer_Configure(Counter, 5, %phTimer_CallBack);
phhalTimer_Start(Counter, E_TIMER_SINGLE_SHOT);
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 | 3.174 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/602...)
PN7462AU FW & SW Examples Full Version - v05_02_01
MCUXpresso IDE v10.0.2 [Build 411] [2017-07-11]
Best regards,
Gytis
Original Attachment has been moved to: NfcrdlibEx3_NFCForum.c.zip
Hi,
I want to know the same details. What could be the throughput in peer-to-peer mode data transfer using two NXP PNE7462C EVK kits using the NFC Forum example of the SDK(v5.22.01)? What could be throughput with different RF data rates?
Hello ,
I replied to you in the internal case
Regards,
Estephania