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

White display SPI issue with 6.x kernels #361

Closed
jolla opened this issue Jan 23, 2023 · 2 comments
Closed

White display SPI issue with 6.x kernels #361

jolla opened this issue Jan 23, 2023 · 2 comments

Comments

@jolla
Copy link

jolla commented Jan 23, 2023

After updating kernel to any 6.x kernel intermittently the display does not work, it will illuminate but is solid white, if I downgrade back to 5.19 kernel then the display works fine.

Display: st7735
Interface: SPI

1.44inch LCD Display HAT For Raspberry Pi, 128x128 Pixels, SPI Interface
https://www.waveshare.com/1.44inch-lcd-hat.htm

Example tested:
python3 3d_box.py --interface spi --height 128 --display st7735

Type of Raspberry Pi

CM4

Linux Kernel version

Linux wlanpi-f06 6.1.7-v8-wlanpi+ #1 SMP PREEMPT Fri Jan 20 14:26:31 UTC 2023 aarch64 GNU/Linux

Expected behaviour

Image should be displayed

Actual behaviour

Display is solid white

@thijstriemstra
Copy link
Collaborator

RaspberryPi OS doesn't support 6.x (yet) afaik: https://en.wikipedia.org/wiki/Raspberry_Pi_OS#Releases

Not sure what wlanpi is?

@jolla
Copy link
Author

jolla commented Jan 25, 2023

I was able to resolve this issue by switching the interface type from spi to gpio_cs_spi and then defining the chip select pin using the --gpio-chip-select parameter.

@jolla jolla closed this as completed Jan 25, 2023
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

2 participants