Page 1 of 1

Using RC522 in NanoPC T2

Posted: Tue Aug 07, 2018 7:44 pm
by lz2021
Hello everyone, I am using a NanoPC T2 with Android 4.4, and I want to connect the device through SPI with an RFID-RC522 card reader. Previously I used the GPIO ports with serial communication without problems but I can not communicate via SPI.
I connect the SPI Port via pins 7,8,9 and 10.

I open the port without problems ("/ dev / spidev0.0", FileCtlEnum.O_RDWR);

After configuring the port I use a timer to send data but without results.

Best Regards

Re: Using RC522 in NanoPC T2

Posted: Thu Aug 09, 2018 7:06 am
by v8dave
Have a look at the WiringNP library to see how they handle this.