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.

https://github.com/friendlyarm/WiringNP

Who is online

In total there are 0 users online :: 0 registered, 0 hidden and 0 guests (based on users active over the past 5 minutes)
Most users ever online was 47 on Wed Feb 21, 2018 7:00 am

Users browsing this forum: No registered users and 0 guests