-
Notifications
You must be signed in to change notification settings - Fork 272
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
Blank screen on Kedei 3.5" version 6.3 #71
Comments
Yes, so I'm seeing the same behaviour. I did notice some change however. With project https://github.com/lzto/RaspberryPi_KeDei_35_lcd_v62.git, this does work on my '6.3' display. Firstly, SPI overlay must be enabled for it t work. Then, when it executes .. you see the screen that you should see with juj's driver before it gets painted over. This suggests to me that there is an issue with the initialization on this driver right now. Thought I'd try to transpose that code's initialization to this driver but .. it looks daunting. I need more background understanding to do this. Here is what I see .. the working initialization ... They are pretty comparable but not exactly sure what is happening lcd_cmd() and lcd_data() are sent separately and SPI_TRANSFER() is interlacing data and commands? void lcd_init(void)
} The init that isn't working in juj's driver : BEGIN_SPI_COMMUNICATION();
#define MADCTL_BGR_PIXEL_ORDER (1<<3) |
Yes, I had started to change the init part a bit already .. with this.. diff --git a/mpi3501.cpp b/mpi3501.cpp
|
Hey, I'm having problem when run it start normally then craches giving a segmentation fault error? got picture now using neuromancer85 fork, but colors look weird and refersh rate a bit slow. |
thanks @kpishere, your fork works for me with |
@zerog2k No worries. Glad it works. I'm just getting back into this after a summer break, hope to have pen calibration utility in there too. |
hi @kpishere any updates on this? do you need any help testing? |
@zerog2k It is essentially complete. The device does not support screen blanking but pen calibration works well. Screen works well too. Slower than the others, but OK for largely static gui displays. no good for gaming. Don't know when/if @juj will ever merge the pull request. .. oh, you can't get it in my fork kpishere/fbcp-ili9341 |
Thanks! I'm happy with low fps - just trying to use for alarm panel/status display for Home Assistant! |
Closing out old issues, not sure if there is an issue with KeDei still, feel free to reopen if you are still actively struggling on it. |
No matter what I do with this it seems that the display remains white and unchanging. I am able to output to the screen just fine with https://github.com/lzto/RaspberryPi_KeDei_35_lcd_v62 for a test to make sure the display does actually work.
Running latest Raspbian Stretch on a Pi 3 Model B+.
I've tried compiling and running with and without DMA transfers and at various SPI_BUS_CLOCK_DIVISOR settings - 10, 12, 24, 40, 100, 200, (cleaning out build/ each time), with and without SPI enabled. Verified no dtoverlay settings in boot/config.txt
Sample compilation command:
Running with:
Which spits out:
Any thoughts?
The text was updated successfully, but these errors were encountered: