mxgxw / MFRC522-python

A small class to interface with the NFC reader Module MFRC522
GNU Lesser General Public License v3.0
524 stars 419 forks source link

inconsistent Read and Write Issues with Multiple RCC522-RFID Modules #98

Open swapnilsdeore opened 1 month ago

swapnilsdeore commented 1 month ago

I am experiencing inconsistent read and write issues when using multiple RCC522-RFID modules. The setup includes eight RCC522-RFID modules, all connected with a common MOSI, MISO, and SCLK, but each having its own unique chip select line.

Problem Description

  1. Modules Used: Eight RCC522-RFID modules
  2. Tags Used: NTAG 213

Connections:

  1. Common MOSI(GPIO-10), MISO(GPIO-9), and SCLK (GPIO-11) lines on raspberry pi connected to each RC522-RFID modules.
  2. Individual chip select lines for each RCC522 module

Read Failures: Intermittent failures when attempting to read data from NTAG 213 tags. Write Failures: Inconsistent write operations, where some data writes are not successful or result in corrupted data Additional Information: Scoped MOSI, MISO, SCLK, and CS lines; there is no crosstalk between lines.

Seeking guidance on how to resolve these read and write consistency issues, particularly in environments with multiple RCC522-RFID modules sharing common communication lines. Any insights or suggestions for troubleshooting and resolving these issues would be greatly appreciated.

swapnilsdeore commented 1 month ago

@mxgxw Kindly guide on this issue.