You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
I was trying to test this with a 2.7 inch display on a raspberry pi zero W 2 with .Net 6.
I modified the code a little bit to add a config for this display.
I have SPI enabled through raspi-config.
If I do this command:
sudo cat /sys/kernel/debug/gpio
It shows me that a number of GPIO's are in use, and in particular, the SPI pins:
gpio-7 ( |spi0 CS1 ) in hi ACTIVE LOW
gpio-8 ( |spi0 CS0 ) in hi ACTIVE LOW
I was trying to run the example, but that complained about a missing library for some reason, so I copied the example code to my project to test it.
The EPaperDisplayHardware constructor will try to open GPIO8 for the Cs pin and actively control that pin, but this generates an exception because that pin is already claimed for SPI0 CS0 (as the command above indicated).
How come you do not seem to have this issue?
Am I missing a setting here?
Would SoftwareSpi work for these kind of displays?
The SpiDevice documentation seems to be lacking some examples or details so it is not easy to find up to date info.
Hi,
I was trying to test this with a 2.7 inch display on a raspberry pi zero W 2 with .Net 6.
I modified the code a little bit to add a config for this display.
I have SPI enabled through raspi-config.
If I do this command:
sudo cat /sys/kernel/debug/gpio
It shows me that a number of GPIO's are in use, and in particular, the SPI pins:
gpio-7 ( |spi0 CS1 ) in hi ACTIVE LOW
gpio-8 ( |spi0 CS0 ) in hi ACTIVE LOW
I was trying to run the example, but that complained about a missing library for some reason, so I copied the example code to my project to test it.
The EPaperDisplayHardware constructor will try to open GPIO8 for the Cs pin and actively control that pin, but this generates an exception because that pin is already claimed for SPI0 CS0 (as the command above indicated).
How come you do not seem to have this issue?
Am I missing a setting here?
Would SoftwareSpi work for these kind of displays?
The SpiDevice documentation seems to be lacking some examples or details so it is not easy to find up to date info.