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

KeDei 3.5" spi driver? #27

Closed
gituser9991 opened this issue Aug 8, 2018 · 4 comments
Closed

KeDei 3.5" spi driver? #27

gituser9991 opened this issue Aug 8, 2018 · 4 comments

Comments

@gituser9991
Copy link

Hi there, have tried multiple cmake options but no luck. To save further wasted time can anyone confirm if it is possible to get the kedei 3.5" spi screen working with fbcp-ili9341?
cheers

@juj
Copy link
Owner

juj commented Aug 8, 2018

If this is the screen: http://imageshack.com/i/p77p1oydj, then it is possible that the display is a 3-wire SPI connection and not a 4-wire SPI one, since it looks like there is no Data/Control line used, at least there is no such pin present in the connector on that image.

If it is a 3-wire SPI display, then unfortunately it will not work with fbcp-ili9341. :(

@gituser9991
Copy link
Author

Hi Juj, thanks for the fast reply...much appreciated. That looks like the sucker so you have saved me fruitless hours :o) ...as a famous bushranger said "Such is Life". I can't expect too much for $6 I suppose! The pinout says this:
24--GPIO7 --------> TP_CS
26--GPIO8 --------> LCD_CS
22--GPIO25 --------> TP_irq
23--GPIO11 --------> SPI_CLK
21--GPIO9 ---------> SPI_MISO
19--GPIO10 ---------> SPI_MOSI
5v ---------> 5v
GND ---------> GND

Cheers

@juj
Copy link
Owner

juj commented Nov 3, 2018

fbcp-ili9341 now gained 3-wire SPI support (no Data/Control line) in the above commit. That can be activated in CMake by setting -DGPIO_TFT_DATA_CONTROL=-1 to tell the build system that there is no D/C pin to connect. The support is experimental, for example it currently does not support ILI9486 in 3-wire mode. Not sure what controller the KeDei display has, but there may be a chance that it could work, if it's like ILI9341 or ILI9486L in 3-wire mode.

See the above commit for updates to Readme.md for the docs.

@gituser9991
Copy link
Author

gituser9991 commented Nov 3, 2018

Thanks Juj...will check it out next week...just heading out of town for work :o( (frown for work commitment not your brilliant work!)

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