Use Rfid RC522 library at Chipkit uno 32?

Talk about anything you want!
Post Reply
gilcanetasdias
Posts: 4
Joined: Tue Dec 12, 2017 3:40 pm

Use Rfid RC522 library at Chipkit uno 32?

Post by gilcanetasdias » Tue Dec 12, 2017 3:52 pm

I'm trying to use one library (https://github.com/miguelbalboa/rfid) for Arduino with the Chipkit UNO 32, but i cant. When i upload to board and then go to serial monitor, nothing appears to me.

Does anyone make it work?

Thanks

User avatar
majenko
Site Admin
Posts: 2188
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: Use Rfid RC522 library at Chipkit uno 32?

Post by majenko » Tue Dec 12, 2017 4:36 pm

What code are you using? What version of the chipKIT Core, Arduino IDE, etc are you using?
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

gilcanetasdias
Posts: 4
Joined: Tue Dec 12, 2017 3:40 pm

Re: Use Rfid RC522 library at Chipkit uno 32?

Post by gilcanetasdias » Tue Dec 12, 2017 4:44 pm

Im based on rfid RC522 miguel balboa library,my main program is one of the examples DUMPINFO. My chipkit is Uno32 with pic32. Im using Atom with the package PlataformIO, (should be using ArduinoIDE?).

Thank you

User avatar
majenko
Site Admin
Posts: 2188
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: Use Rfid RC522 library at Chipkit uno 32?

Post by majenko » Tue Dec 12, 2017 8:51 pm

I would suggest trying it with the Arduino IDE, certainly. That way we can rule out if it's something the PlatformIO is doing wrong.
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

gilcanetasdias
Posts: 4
Joined: Tue Dec 12, 2017 3:40 pm

Re: Use Rfid RC522 library at Chipkit uno 32?

Post by gilcanetasdias » Fri Dec 15, 2017 12:20 pm

When i upload from Arduino IDE, first appears A warning "library MFRC522 claims to run on [avr architectures and my be incompatible with your current board which runs on STM32F1 architectures], and then in serial monitor nothing appears

User avatar
majenko
Site Admin
Posts: 2188
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: Use Rfid RC522 library at Chipkit uno 32?

Post by majenko » Fri Dec 15, 2017 12:49 pm

Are you sure you have it set to the right board? The STM32F1 is an ARM chip, not a PIC32...
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

gilcanetasdias
Posts: 4
Joined: Tue Dec 12, 2017 3:40 pm

Re: Use Rfid RC522 library at Chipkit uno 32?

Post by gilcanetasdias » Fri Dec 15, 2017 1:02 pm

I dont know why but i relaunch arduino ide and then the warning was: "library rfid-master claims ti run over(avr,STM32F1, teensy, esp8266) architectures and may be incompatible with you current board wich runs on (pic32) architetures"

User avatar
majenko
Site Admin
Posts: 2188
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: Use Rfid RC522 library at Chipkit uno 32?

Post by majenko » Fri Dec 15, 2017 2:39 pm

That is only a warning, though. The library doesn't know it's compatible with PIC32 - it's just a setting in the library.properties file.

It should really be set to work with any architecture since it doesn't do anything at all that is architecture dependant.

Have you had other sketches working on your UNO32 board?
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

Post Reply