cancel
Showing results for 
Search instead for 
Did you mean: 

Fast Transfer Mode using st25dv app

oziesin
Associate III

How can i write/read via Fast Transfer Mode using st25dv app for my special designed board that have st25dv64k ic ?

I have a special board that have st25dv64k ic and also i use st25dv mobile application . i can implement whole commands using st25dv app and my board but i can't find how can i read/write via FTM buffer using st25dv app. I can read/write only EEPROM area in chip using mobile app.

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier L
ST Employee

Hi,

The usage of ST25DV's Fast Transfert Mode has been simplified in the recent "ST25 SDK" release 1.10.0 of september 2020. The FTM protocol is now included in the ST25SDK library which makes the usage very simple for the applications (PC, Android, iOS). They can send data through FTM by calling a simple function. The ST25SDK will take care of all the transmission.

You can get the latest SDK here: https://www.st.com/en/embedded-software/stsw-st25sdk001.html

Concerning your mobile application, do you intend to use Android, iOS or both?

Both of them support the new FTM protocol.

You can get the source code here:

In the source code, please see how the function mFtmCommands.sendCmdAndWaitForCompletion() is used. This function is synchronous so the ST25 SDK will keep the hand until the transfer is done.

Then you need to update the Firmware of the MCU connected to the ST25DV Tag. I advise to have a look to the Firmware of the demonstration board "ST25DV Discovery Kit": https://www.st.com/en/evaluation-tools/st25dv-discovery.html

The source code contains the protocol used when exchanging data through FTM buffers.

Tell me if something is unclear.

Best regards

Olivier

View solution in original post

3 REPLIES 3
Olivier L
ST Employee

Hi,

The usage of ST25DV's Fast Transfert Mode has been simplified in the recent "ST25 SDK" release 1.10.0 of september 2020. The FTM protocol is now included in the ST25SDK library which makes the usage very simple for the applications (PC, Android, iOS). They can send data through FTM by calling a simple function. The ST25SDK will take care of all the transmission.

You can get the latest SDK here: https://www.st.com/en/embedded-software/stsw-st25sdk001.html

Concerning your mobile application, do you intend to use Android, iOS or both?

Both of them support the new FTM protocol.

You can get the source code here:

In the source code, please see how the function mFtmCommands.sendCmdAndWaitForCompletion() is used. This function is synchronous so the ST25 SDK will keep the hand until the transfer is done.

Then you need to update the Firmware of the MCU connected to the ST25DV Tag. I advise to have a look to the Firmware of the demonstration board "ST25DV Discovery Kit": https://www.st.com/en/evaluation-tools/st25dv-discovery.html

The source code contains the protocol used when exchanging data through FTM buffers.

Tell me if something is unclear.

Best regards

Olivier

Hi Olivier,

Can you please clarify if the ST25SDK can be used with iOS devices? From the SDK page and readme file, it states:

"Can be run on any platform supporting JVM (Windows®, Android™, Linux® and macOS®)"

"The ST25SDK is a set of tools aimed at accelerating the development process of Java applications based on STMicroelectronics's NFC Tags.

The application can be an Android Application or a PC Application (running on Microsoft Windows, Linux or Apple MacOS)."

I don't see any specific mention of iOS. From my understanding iOS doesn't support JVM.

Thanks,

Mariano

Olivier L
ST Employee

Hi Mariano,

Yes the ST25SDK works with iOS devices. A transcode (from Java to ObjectiveC) is needed in that case. Please find attached a document explaining how to do it.

Best regards

Olivier