Skip to main content
Visitor II
August 20, 2021
Solved

ST25DV HOW TO USE FAST MAILBOX ?

  • August 20, 2021
  • 2 replies
  • 2783 views

How can i use FTM buffer i do not understand what should I do exactly. I have problems first step. I can read all block of system memory , user memory and dynamic registers also i can write on user memory(EEPROM) but when i try to initalize Fast transfer mode , i encountered problem that cannot change static configuration registers like i want. 

I am waiting your advises.

    This topic has been closed for replies.
    Best answer by oziesin

    I solved the problem. it was a pointer problem. Function has pointer type but i was writing single number if i write any variable before passing argument that is working. Maybe helps someone.

    2 replies

    Technical Moderator
    August 20, 2021

    Hi,

    X-CUBE-NFC4 software package provides a mailbox application example with source code. This can help you to develop your own application.

    Rgds

    BT

    oziesinAuthor
    Visitor II
    August 20, 2021

    Basically, why the problem that writing incorrect value on static registers exist. it can be anyone of them. I cannot understand where is the problem ? Software part or hardware part. I confused. What could I be missing ?

    Technical Moderator
    August 20, 2021

    Hi,

    have you followed §4.3 of the datasheet: "static registers located in the system configuration area can be accessed with I2C read and write

    commands with device select E2=1. Readable system areas could be read in continuity. I2C security session must first be open, by presenting a valid I2C password, to grant write access to system configuration registers."

    I would recommend to base your development on middleware provided on st.com rather that starting from scratch. An example of FTM is provided in X-CUBE-NFC4. Also, a user lever FTM library is provided as part of the ST25 Embedded NFC library . See AN5512 ST25 fast transfer mode embedded library. This FTM library provides support for chaining, error detection and recovery.

    Feel free to provide more information about your application .

    Rgds

    BT

    oziesinAuthor
    Visitor II
    August 20, 2021

    Thanks for reply,

    I am going to check it.

    oziesinAuthorAnswer
    Visitor II
    August 23, 2021

    I solved the problem. it was a pointer problem. Function has pointer type but i was writing single number if i write any variable before passing argument that is working. Maybe helps someone.