The RC522 RFID is an SPI device in the LabWired part catalog. Its catalog type is rc522. It connects to the MCU over SPI. The catalog gives a supply range of 2.5–3.6 V. It has 8 pins. A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.
From the catalog: SPI register shell for MFRC522; no RF/card air interface.
| Category | SPI devices |
|---|---|
| Catalog type | rc522 |
| Interface | SPI |
| Supply range | 2.5–3.6 V |
| Pins | 8 |
| Datasheet | NXP MFRC522 datasheet |
Simulated device model
Built from the datasheet. Implemented from the part’s register documentation and exercised by automated tests. Nothing physical was ever placed next to it.
| Pin | Electrical type | Function |
|---|---|---|
VCC | Power input | Supply |
GND | Power input | Supply |
SDA | Input | SPI chip select (CS) |
SCK | Input | SPI clock (SCK) |
MOSI | Input | SPI data out of the MCU (MOSI) |
MISO | Output | SPI data into the MCU (MISO) |
RST | Input | GPIO |
IRQ | Output | — |
Modelled from NXP MFRC522 datasheet.