2022-06-09 11:48 PM
Hello,
If the NFC operates at 13.56MHz and data rate is 100–420 kbps.
How fast a data of 10kB can be transferred with a 100kbps speed.?
Is it (10kB * 8/100k) + (10kB * 8/100k) * (overhead) ?
Regards,
Vmere
Solved! Go to Solution.
2022-06-16 12:30 AM
Hello,
Thank for clarifying your need.
The theorical evaluation is not easy to do, but basically, here is how it works:
This loop needs to be repeated ~40 times to transfer 10kB.
It is difficult to evaluate exactly the bitrate and the total time as the latency of the phone between two RF commands is not known, but you can expect to transfer 10KB from the phone to the MCU in about 4s (bit rate ~2.4kB/s).
You can probably gain a bit by adjusting the polling timing and even more (~1s) by completely avoid RF polling of status registers (but you need to have control of timings on both RF and I2C).
If you have a ST25DV DISCOVERY board (https://www.st.com/en/evaluation-tools/st25dv-discovery.html or https://www.st.com/en/evaluation-tools/st25dv64kc-disco.html) and the NFCTap app on your iPhone (or ST25NFCTap on android) you can play with the Fast transfer demo which will allow you to transfer 10kB from the phone to the STM32. You can then evaluate the datarate. Source code of this demo is also available for your reference.
Best regards.
2022-06-13 08:01 AM
Hello,
NFC operate at different datarates depending on the NFC technology.
There are 4 different NFC technologies: NFC-A, NFC-B, NFC-F and NFC-V. Each has its own datarate.
ST25DV is a NFC-V device. NFC-V is working at longer range than other NFC technologies but is slower. NFC-V datarate is 26kb/s. This is the datarate of data transmission between the reader and the tag, in both directions, but there is many other aspects to consider to get the real datarate.
What do you mean by "transferring" 10kB ?
Each situation is very different and can lead to very different answers.
Best regards.
2022-06-15 11:15 PM
Hello apologies,
Thanks for clarifying.
So I use ST25DV and its data rate is 26kb/s as you said
I want to do a firmware upgrade via iPhone (created some app) and then transfer the binary image (approximately 10kb).
I want to theoretically evaluate how much time does it take to do a firmware from iPhone via a dynamic st25dv tag to stm32411re which is connected via i2c.
2022-06-16 12:30 AM
Hello,
Thank for clarifying your need.
The theorical evaluation is not easy to do, but basically, here is how it works:
This loop needs to be repeated ~40 times to transfer 10kB.
It is difficult to evaluate exactly the bitrate and the total time as the latency of the phone between two RF commands is not known, but you can expect to transfer 10KB from the phone to the MCU in about 4s (bit rate ~2.4kB/s).
You can probably gain a bit by adjusting the polling timing and even more (~1s) by completely avoid RF polling of status registers (but you need to have control of timings on both RF and I2C).
If you have a ST25DV DISCOVERY board (https://www.st.com/en/evaluation-tools/st25dv-discovery.html or https://www.st.com/en/evaluation-tools/st25dv64kc-disco.html) and the NFCTap app on your iPhone (or ST25NFCTap on android) you can play with the Fast transfer demo which will allow you to transfer 10kB from the phone to the STM32. You can then evaluate the datarate. Source code of this demo is also available for your reference.
Best regards.