Hi,
I need to add a second SD card reader to my Orangepi zero. I tried with this link https://github.com/nopnop2002/STM32_TFT_8bit . But it doesn't work. I read that SPI is not enabled in Orangepi kernel and i checked with ls /dev/*spi* and the output was - ls: cannot access '/dev/*spi*': No such file or directory.
So i edited the /boot/armbinaEnv.txt as adding "overlays=spi-spidev" and rebooted. then checked ls /dev/*spi* and out is - /dev/spidev0.0. But my code is not working..Can you tell me what is wrong here ? These are my pin configuration
SD CARD OPI zero
------------------------------------------------------------
GND (6) GND (6)
VCC (4) 3.3V (1)
MISO (7) Pin#21(SPI MISO)
MOSI (2) Pin#19(SPI MOSI)
SCK (5) Pin#23(SPI SCLK)
CS (1) Pin#26(SPI CE)