Skip to main content
Visitor II
November 30, 2021
Solved

The ST25FTM protocol description in AN5512 is different from the ST25FTM library (STSW-ST25R-LIB).

  • November 30, 2021
  • 2 replies
  • 973 views

There is a difference between the protocol description in the AN5512 and the embedded library package (STSW-ST25R-LIB). This seems to concern encrypted transmission.

  • ST25FTM_SEND_WITH_ENCRYPTION is not defined in STSW-ST25R-LIB.
  • Bit 0 in ST25FTM control byte differs from the code in STSW-ST25R-LIB.

Is 1.3.0 the latest STSW-ST25R-LIB version or is there a newer one?

    This topic has been closed for replies.
    Best answer by Olivier L

    Thank you for your message. I can see that the Application Note AN5512 contains indeed some incorrect information. For the 2 points that you have noticed, this is the STSW-ST25R-LIB that is correct. There is no encryption handled in this FTM protocol and the signification of the Bit 0 has indeed changed.

    We're going to update the Application Note (it will be available on st.com in 1 or 2 weeks). In the meantime, you can get accurate information in the Annex of this User Manual: https://www.st.com/resource/en/user_manual/dm00288894-firmware-for-the-st25dvdiscovery-boards-stmicroelectronics.pdf

    Here is the description of the bit 0:

    b0: Bit indicating if the packet belongs to a segment.

    1.3.0 is indeed the lastest version of STSW-ST25R-LIB.

    Best regards

    Olivier

    2 replies

    Olivier LAnswer
    ST Employee
    December 1, 2021

    Thank you for your message. I can see that the Application Note AN5512 contains indeed some incorrect information. For the 2 points that you have noticed, this is the STSW-ST25R-LIB that is correct. There is no encryption handled in this FTM protocol and the signification of the Bit 0 has indeed changed.

    We're going to update the Application Note (it will be available on st.com in 1 or 2 weeks). In the meantime, you can get accurate information in the Annex of this User Manual: https://www.st.com/resource/en/user_manual/dm00288894-firmware-for-the-st25dvdiscovery-boards-stmicroelectronics.pdf

    Here is the description of the bit 0:

    b0: Bit indicating if the packet belongs to a segment.

    1.3.0 is indeed the lastest version of STSW-ST25R-LIB.

    Best regards

    Olivier

    ST Employee
    December 20, 2021

    Hi,

    For your information, the Application Note AN5512 has been updated:

    ST25 fast transfer mode embedded library - Application note

    Best regards

    Olivier