Write data error over i2c bus with MFRC522

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Write data error over i2c bus with MFRC522

702 Views
philippstützel
Contributor I

Hello,

I have here a RC522 MFRC522 RF Module IC Card Module which I try to access with an i2c connection.

I'm able to read the register and the values seem to be correct (e.g. Register 0x37 contains Version 0x92, which corresponds to data sheet)
Nevertheless I'm not able to write register, e.g. to change the gain. Gain value is stored in Register 0x26 with default 0x48. If I write e.g. 0x78 to the register, the command is send (checked with an i2c Beagle protocoll analyzer).
An again read return 0x48.
Furthermore I noticed that the command register contains the value 0x3F. According to the data sheet that means the device is in soft reset mode. Try to change this register value also fails.

Do someone have any suggestions where the error might be? Or what I'm doing wrong?

Thanks in advance

Best regards
Philipp

Tags (1)
0 Kudos
1 Reply

489 Views
IvanRuiz
NXP Employee
NXP Employee

Hello,

Please refer to chapter 8.1.4.6 For register Write access in the data-sheet:

https://www.nxp.com/docs/en/data-sheet/MFRC522.pdf 

I hope this helps!

Regards,

Ivan.

0 Kudos