2014-04-08 06:49 AM
Hello everybody,
I have my M24SR working with my MCU :) I can read the contents of the tag. However, after a read from MCU, I cannot write the tag if I do not remove power from it. I have performed the DESELECT command and also DE_INIT my I2C. All the communication procedure takes place perfectly. The tag is connected to MCU by means of the two I2C wires, one VCC and one GND. I do not have GPO since to save one pin I work by polling. Have a nice day and let me know your opinions about this subject! :) #m24sr #deselect #m24sr #m24sr #nack #m24sr #gpo #ackSolved! Go to Solution.
2014-05-07 06:21 AM
Hello ,
Regarding I2C protocol, a NACK must be send before the STOP at the end of the M24SR Answer read (answer only). Anyway if a ACK is sent before a STOP, this can work … but sometimes, depending on data to be read, it can not work. This is due to I2C protocol specification.
So there will be some change in the next release of the Datasheet. Have a nice day, Best regards, ST e2e online support2014-04-09 05:21 AM
Hello,
Might you please tell us what is the error code that is appearing?? thanks a lot, have a nice day, best regards, ST NFC/RFID Dynamic tag support2014-04-09 08:29 AM
Hi,
I did not pretend to be this ambiguous on purpose, sorry. It is just at the end of a READ by the MCU, the phone does not even detect the tag when I try to interact next time. I have observed physically disconnecting and reconnecting the SDA line solves this issue. Thus, I have 2 questions:2014-04-10 08:07 AM
Solved! I was not building correctly the DESELECT command.
However, there is still the question of the final NAK sent by the MCU to the TAG in several answers to SELECTs. Is this really this way? Please let me know.2014-04-10 09:20 AM
Hi,
don't be :) and thanks for your answer, Just in order to be sure to understand properly , another question, sorry about that Might you confirm if you read the answer of the M24Sr after deselect ? otherwise the i2c cession is not closing and it is not possible to access to RF . thanks have a nice day, best regards st nfc/rfid dynamic tag support2014-04-10 01:26 PM
2014-04-22 12:35 AM
Good morning,
I think the highlighted areas represent errors in the datasheet. Am I right? I implemented this with ACKs and it works but not with final NAKs. Please let me know.2014-05-07 06:21 AM
Hello ,
Regarding I2C protocol, a NACK must be send before the STOP at the end of the M24SR Answer read (answer only). Anyway if a ACK is sent before a STOP, this can work … but sometimes, depending on data to be read, it can not work. This is due to I2C protocol specification.
So there will be some change in the next release of the Datasheet. Have a nice day, Best regards, ST e2e online support2014-08-07 02:44 AM
Hi Kazola, Hi all!
I'm newbie with NFC/RFID Tag but I need to use the M24SR64 with my MSP430 using I2C protocol. My projet is a basic one, I just want to write dynamically 3 bytes using MSP430 then retrieve them with a phone/reader in RFID. I can understand in your previous posts that you planned to use an MSP430 too. As your project seems to work :) can you give me some advices to simply write my 3 bytes in the memory (NDEF message i suppose) ? Did you adapt the c/h file provided by ST with the demo board to your µC? Thx a lot! :)