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
Adafruit 2.4" tft on Beaglebone Black white flickering screen #317
Comments
The init sequence from the driver and the Arduino library that Adafruit provides differs: To get you started on the conversion:
translates to:
OR with 0x2000000 to make a delay. |
Thanks, I converted the sequence from the arduino code and put that into my .dts file Here's my dts file:
|
You are using 0x20000nn when you should be using 0x10000nn. |
Yeah I had them as 0x10000nn (except the last command to turn on the display) with the same result. |
Ok, 0x20000nn isn't a way to slow down the command, it's a delay in it self. Often used between sleepout and displayon like in the Adafruit library:
This translates to:
Maybe the dispon command is never executed because it's sent to early. |
Oh, so it goes on the command before the delay, thanks I'll try this when I get home. |
Alright, so it's still not working, this is my init sequence:
Is the 78 on the delay command important? |
Yes, 0x78 is 120 which is the time most datasheets says to wait in milliseconds after sleepout. A search shows that Adafruit has a userspace version for this display: https://learn.adafruit.com/user-space-spi-tft-python-library-ili9341-2-8/overview |
Closing issue since there has been no activity for more than 2 months. Reopen if needed. |
I'm trying to get an adafruit tft (this one https://www.adafruit.com/products/2478) to work on my beagle bone black.
I've followed this guide mostly: https://github.com/notro/fbtft/wiki/BeagleBone-Black
I'm using the ili9341 driver and the output from dmesg looks good but the screen stays white and starts to flicker periodically, I can change the backlight brightness. And then after awhile the backlight turns off (it will wake up if I plug in a keyboard)
Do I need to change something in the initialization sequence or something?
Here's the relevant dmesg output:
The text was updated successfully, but these errors were encountered: