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

Raspberry Pi 2 + 6inch HD e-Paper HAT #68

Open
bofh opened this issue Oct 3, 2020 · 5 comments
Open

Raspberry Pi 2 + 6inch HD e-Paper HAT #68

bofh opened this issue Oct 3, 2020 · 5 comments
Labels
bug Something isn't working hardware support Support for additional hardware

Comments

@bofh
Copy link

bofh commented Oct 3, 2020

Hello!

I’ve got Raspberry Pi 2 Model B V1.1 and IT8951 hat from Waveshare (https://www.waveshare.com/wiki/6inch_HD_e-Paper_HAT). Both this repository and version from @GregDMeyer have a trouble communicating to the HAT while this https://github.com/waveshare/IT8951-ePaper.git works.

Any suggestions how to debug this or configuration tips?

Thanks!

@GregDMeyer
Copy link

there is a weird issue where in some cases if you run the waveshare code first, it causes this code to break. can you trying running the code in my repo right after rebooting the pi, and see if it works? good luck!

@GregDMeyer
Copy link

(you can try running this one too, I just haven't looked at it in a while and I'm not sure how synced up we are any more)

@joukos
Copy link
Owner

joukos commented Oct 4, 2020

I have the 6" HD too and it has worked okay, though I haven't had time to play with it for some time. There were some initial problems where I had a power cable running on top of the flat flex and that seemed to disrupt the operation somehow... not 100% sure though if that actually was the case, but after some reorganizing it just worked.

there is a weird issue where in some cases if you run the waveshare code first, it causes this code to break

If this is the case, maybe there's something that could be improved in the initialization of the display...

@bofh
Copy link
Author

bofh commented Oct 4, 2020

Looks like this is the case, indeed. After clean reboot both versions work, after running Waveshare code initialization fails!

@GregDMeyer
Copy link

glad its working! @joukos , yeah I'm not sure how it could be fixed. it seems that if you use the bcm2835 library to handle the SPI, the kernel no longer can control the SPI (my library talks to SPI thru the kernel now, not sure if this repo has been updated following that change a few months ago). I'm not sure if there's a way to give SPI back to the kernel without rebooting. if anyone knows the answer it would be great!

@joukos joukos added bug Something isn't working hardware support Support for additional hardware labels Jan 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hardware support Support for additional hardware
Projects
None yet
Development

No branches or pull requests

3 participants