How can I use mfrc522 rfid module on Arducam ESP32 UNO PSRAM (Arducam IoTai)?

I am working on a project that use rfid module to trigger the camera to capture image. but when camera init code are executed, the rfid module can not work. how to solve this problem?