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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,687 次查看
gytiskazlauskas
Contributor II

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 size106 kbits/s212 kbits/s424 kbits/s
8 Bytes45.6 Bps46.4 Bps48 Bps
16 Bytes92.8 Bps92.8 Bps 96 Bps
64 Bytes364.8 Bps364.8 Bps 384 Bps
128 Bytes704 Bps716.8 Bps755.2 Bps
256 Bytes819.2 Bps844.8 Bps870.4 Bps
512 Bytes1.485 kBps1.587 kBps1.6896 kBps
1024 Bytes2.56 kBps2.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

0 项奖励
回复
2 回复数

1,363 次查看
gaurangk
Contributor I

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? 

0 项奖励
回复

1,364 次查看
estephania_mart
NXP TechSupport
NXP TechSupport

Hello ,

I replied to you in the internal case 

Regards, 

Estephania 

0 项奖励
回复