TheMadHouse
Member
I'm having an issue with SdFat using the in-build SD card, an attached RFID reader using the MFRC522 library.
The project has been migrated from an Arduino, where it has been running for several years using the MFRC522 and an I2C memory chip.
I'm now switching to using the built-in SD card on the Teensy 3.5.
The RC522 module is being read, and tag scans being logged to the SD card.
However the issue I'm getting is as soon as the SD card writes, the MFRC522 library dies and no further reads are possible.
Using the old I2C chip everything is fine, so I know the core of the system is functional on the Teensy.
I'm guessing it might be due to them both using the same SPI interface, but I cannot find out conclusively how the Teensy talks to the SD card.
I'll put together a small test program to show what I'm doing (no way it can be posted at the moment due to the size of the project!).
In the meantime, is this a known issue?
How can I make the MFRC522 library use a different SPI interface, or is there a different library that's capable of that?
Jim
The project has been migrated from an Arduino, where it has been running for several years using the MFRC522 and an I2C memory chip.
I'm now switching to using the built-in SD card on the Teensy 3.5.
The RC522 module is being read, and tag scans being logged to the SD card.
However the issue I'm getting is as soon as the SD card writes, the MFRC522 library dies and no further reads are possible.
Using the old I2C chip everything is fine, so I know the core of the system is functional on the Teensy.
I'm guessing it might be due to them both using the same SPI interface, but I cannot find out conclusively how the Teensy talks to the SD card.
I'll put together a small test program to show what I'm doing (no way it can be posted at the moment due to the size of the project!).
In the meantime, is this a known issue?
How can I make the MFRC522 library use a different SPI interface, or is there a different library that's capable of that?
Jim