-
Notifications
You must be signed in to change notification settings - Fork 84
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
add support for SPI bit ordering #76
Comments
Hi, how is this manipulated from the user space kernel interface. Do you have an example? |
At this point I don't know. I had a device where I could do it, so I assumed it is possible to do it in the library. However based on this it seems it depends on the device rather than on the library. |
Here is a very simplistic example on how to do this:
The Raspberry Pi, for example, does not seem to support changing bit-ordering and the ioctl()-call fails, but on the Orange Pi Plus 2E, on the other hand, this works fine. |
Based on the source code there doesn't seem to be support for bit ordering for SPI, i.e. MSB / LSB first.
The text was updated successfully, but these errors were encountered: