-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spi not working! #1
Comments
I submitted a PR about that. |
Hi i try this can be repare in https://github.com/xpertsavenue/WiringOP-Zero/blob/master/gpio/gpio.c ("/dev/spidev0.1" ´=> "/dev/spidev1.0") + cant find eqvivalent modpro for this cpu(spi-sun8i) |
Hi folks, You guys could solve the problem or still same? I am about to crush this little toy. I have been searching more than 10 days but STILL "unable to open spidev1.0" I have checked every line of this code manually to find something wrong but NEIN. If you solved the problem show some ways. Thanks buddies. |
It is working |
I had a problem when trying to use SPI part for communication with SpaceTeddy's CC1101, but only with this library on OPI Zero (after fixing the SPI speed), not the original zhaolei/WiringOP one on OPI1. So I dug into the differences and this patch is what fixed the library and made it working on OPI0 (I guess the memset part). I would issue a PR, but since they do not seem to be processed, I am including it here.
|
I am using OrangePi ZERO Rev1.5(H2+) and Armbian_21.08.1_Orangepizero_buster_current_5.10.60.img.
SPI device is present.
I applied the patch suggested by pm-cz. Does anyone have a fork that works with SPI in this environment? |
Okay, at this point I can say that I've tried pretty much everything. I've searched all over on the internet and I can't get the spi1 to work through the WiringOP libs on my OrangePi Zero!
Is there anyone out there who was able make the magic? Can you helpe me?
ps.: In the armbian version I am using, the spidev1.0 already exists, so I think the problem is not activating it.
Thanks in advance!
Greetings.
Rafael
The text was updated successfully, but these errors were encountered: