Skip to main content
Visitor II
November 4, 2024
Solved

M24SR16 I2C configuration

  • November 4, 2024
  • 3 replies
  • 1047 views

Hello,

Hello everybody,

Please help me with this problem! I try to communicate the M24SR16 NFC chip with an MIPS microcontroller using the I2C protocol.

I would like to set up the NDEF message for Bluetooth pairing; and to use the reset of the available memory as an EEPROM to save some random data. 
Do you know how to do so, an application example?

I've been using the ST25DV64KC before, but my code isn't compatible with this chip.
I appreciate any help.

 

 

    This topic has been closed for replies.
    Best answer by Peter BENSCH

    No, M24SR16 came onto the market in 2013, ST25DV64KC eight years later. The I2C interface itself can be used in the same way, but not the information exchanged via I2C.

    3 replies

    Technical Moderator
    November 4, 2024

    Welcome @AdAms21, to the community!

    You are currently looking for a mixture of at least two functions, for which there are some examples in the software package X-CUBE-NFC1. The example project has understandably been developed for STM32 and is only supported for these MCUs, but all library functions are available in the source code so that you can adapt them to your environment.

    Hope that helps?

    Good luck!
    /Peter

    AdAms21Author
    Visitor II
    November 4, 2024

    Hello,
    Thanks for your replay @Peter BENSCH.
    I'll look into it and let you know if I have an issue.
    Do you have any idea about the compatibility between ST25DV64KC and M24SR16 regarding the I2C interface?

    Best regards,

    Technical Moderator
    November 4, 2024

    No, M24SR16 came onto the market in 2013, ST25DV64KC eight years later. The I2C interface itself can be used in the same way, but not the information exchanged via I2C.

    AdAms21Author
    Visitor II
    November 4, 2024

    Ok, Thanks.
    I'll look into the source code and see how I can adapt it.