Power & Source of Big Ideas

Using RC522 in NanoPC T2

Moderators: chensy, FATechsupport

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
HardwareControler.open ("/ dev / spidev0.0", FileCtlEnum.O_RDWR);

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

Best Regards
Have a look at the WiringNP library to see how they handle this.


Who is online

In total there are 6 users online :: 0 registered, 0 hidden and 6 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 6 guests