Open andriy-zababurin opened 5 years ago
Hi, I had worked on this long back for a project I was doing where my PCB design was flawed and had hooked the RC522 some other pins other than hardware SPI. I am no longer working on it. I'm sorry if I am not of any help.
Best Regards, ABHAY S BHARADWAJ
On Sun, Jan 27, 2019, 3:41 PM andriy-zababurin <notifications@github.com wrote:
How can we run your code on Arduino DUE (ARM architecture, SAM3X8E chip)?
The code compiles for Arduino Due only after a minor change in the SPI library (which itself is strange) and does not read any RFID tags. We also checked on UNO - all works fine - compiles without any changes and reads tags well.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/abhaysbharadwaj/RFID-RC522/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AOO5H2DfXr0w84lTTmEOlDgO2R4VZ8lYks5vHXtRgaJpZM4aUpAk .
Hello Abhay, maybe you have some wild guess, what makes DUE so much different from Teensey in terms of SPI handling that your library (btw, a great one!) doesn't work?
Hello, My library was based on modification of Miguel Balboa's library (this library has undergone many drastic changes since then): https://github.com/miguelbalboa/rfid Along with Digital IO library. It's for AVR controllers and I only worked on Uno and Nano for this at the time. Have not tested it on any other board or platform and it's been over two years since I have worked on it. I'm sorry that I can't be of more help.
Best Regards, ABHAY S BHARADWAJ
On Sun, Jan 27, 2019, 8:19 PM nkernytskyy <notifications@github.com wrote:
Hello Abhay, maybe you have some wild guess, what makes DUE so much different from Teensey in terms of SPI handling that your library (btw, a great one!) doesn't work?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/abhaysbharadwaj/RFID-RC522/issues/2#issuecomment-457924072, or mute the thread https://github.com/notifications/unsubscribe-auth/AOO5HzMUf_5lYvrDPn5GTfE1wqowbTBAks5vHbxjgaJpZM4aUpAk .
Anyway, thank you for your library and quick response ;)
How can we run your code on Arduino DUE (ARM architecture, SAM3X8E chip)?
The code compiles for Arduino Due only after a minor change in the SPI library (which itself is strange) and does not read any RFID tags. We also checked on UNO - all works fine - compiles without any changes and reads tags well.