chipKIT® Development Platform

Inspired by Arduino™

Use Rfid RC522 library at Chipkit uno 32?

Created Tue, 12 Dec 2017 14:52:37 +0000 by gilcanetasdias


gilcanetasdias

Tue, 12 Dec 2017 14:52:37 +0000

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


majenko

Tue, 12 Dec 2017 15:36:53 +0000

What code are you using? What version of the chipKIT Core, Arduino IDE, etc are you using?


gilcanetasdias

Tue, 12 Dec 2017 15:44:53 +0000

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


majenko

Tue, 12 Dec 2017 19:51:25 +0000

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.


gilcanetasdias

Fri, 15 Dec 2017 11:20:30 +0000

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


majenko

Fri, 15 Dec 2017 11:49:42 +0000

Are you sure you have it set to the right board? The STM32F1 is an ARM chip, not a PIC32...


gilcanetasdias

Fri, 15 Dec 2017 12:02:01 +0000

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"


majenko

Fri, 15 Dec 2017 13:39:18 +0000

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?