Dual RC522 RFID + I2C Keypad on ESP32 failing when combined
Hey everyone, having a weird issue combining modules on an ESP32.
My Setup:
Keypad: 4x4 Matrix via I2C expander on GPIO 16 (SDA) and 17 (SCL).
RFID: Two RC522 readers sharing default VSPI pins: SCK (18), MISO (19), MOSI (23).
Reader 1 Control: SDA/CS (5), RST (27).
Reader 2 Control: SDA/CS (14), RST (13).
Power: Everything (both RFIDs + I2C expander) is powered from the ESP32 3.3V pin. Esp is powered from usb.
The Problem
Individually, everything works perfectly fine. However, when combined together, the RFID readers stop working completely. Now, when I go back to test just a single RFID reader on its own, it looks like one of them isn't responding or working at all anymore.
Is this a 3.3V power/current limit issue from the ESP32 regulator, a hidden pin conflict, or am I hitting the infamous RC522 MISO line-hogging bug where the inactive reader crashes the SPI data bus? Any advice on how to fix this is appreciated!