Jump to content

Recommended Posts

Posted

HI, guys!

 

I tried to enable spi connect RC522 on OPi_PC(H3). It works!

my topic:

 

but now, I make the same way to enable spi with RC522 on OPi_PC2(H5).

I can found spi on "/dev/spidev0.0"

But when I run "Read.py" script as root.

It can't detect & read the cards.

 

 

How can i use it on OPi_PC2?

 

 

1818150214.jpg

Posted

SOLVED:

 

Because PC2 GPIO pins is different.

change SPI0 to SPI1

edit /boot/armbianEvn.txt

"param_spidev_spi_bus=0" --> "param_spidev_spi_bus=1"

save!

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines