Skip to content
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

ServiceSpecificException #37

Open
tianyalian opened this issue Oct 12, 2017 · 2 comments
Open

ServiceSpecificException #37

tianyalian opened this issue Oct 12, 2017 · 2 comments

Comments

@tianyalian
Copy link

i got this exception :com.google.android.things.pio.PioException: android.os.ServiceSpecificException: SPI0.0 driver failure (code 5)
when i was light a LED WS2812
i use pi3 and my code
PeripheralManagerService service = new PeripheralManagerService();
try {
mDevice = service.openSpiDevice("SPI0.0");
mDevice.setBitsPerWord(1);
mDevice.setFrequency(10000000);
mDevice.setMode(SpiDevice.MODE0);
} catch (IOException e) {
e.printStackTrace();
}

@MRodriguess
Copy link

Have you doubled check the connections on the GPIO pins? for the SPI?

@friedger
Copy link
Contributor

Please contact the driver developer and close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants