Welcome, Guest

Author Topic: MOD-LCD6610  (Read 2956 times)

swahren

  • Jr. Member
  • **
  • Posts: 99
  • Karma: +7/-0
MOD-LCD6610
« on: August 23, 2015, 11:44:03 AM »
Last week i bougth me a MOD-LCD6610 in order to play a little with the FBTFT framework. Yesterday i started writing a driver for the Epson S1D15G00 LCD controller, because this code looks very hacky to me.

Unfortunately it seems that nobody tested the FBTFT framework on MXS platform, because FBTFT crashed with a NULL pointer dereference during boot :-( So i will need to fix these issue first, before i can post any results.

lambda

  • Full Member
  • ***
  • Posts: 180
  • Karma: +21/-0
    • Support my work
Re: MOD-LCD6610
« Reply #1 on: August 23, 2015, 10:17:32 PM »
I tried FBTFT with MOD-LCD3310 about a year ago. I compiled FBTFT as
a module (using the openwrt toolchain) and the module loaded fine.
However I didn't get any output on the display, not with FBTFT nor
with the code from olimex. So either I bricked the display or got
something else wrong. Since I never used SPI before and don't have
any other SPI hardware this was difficult to debug for me and I
gave up and used MOD-LCD1x9 instead.

However I will be very interested to read about your results.

swahren

  • Jr. Member
  • **
  • Posts: 99
  • Karma: +7/-0
Re: MOD-LCD6610
« Reply #2 on: August 23, 2015, 11:14:44 PM »
Debugging SPI usually requires at least a logic analyzer and the MOD-LCD6610 doesn't support any SPI data read (only data write).

swahren

  • Jr. Member
  • **
  • Posts: 99
  • Karma: +7/-0
Re: MOD-LCD6610
« Reply #3 on: September 14, 2015, 11:59:01 PM »
Since my bugfixes for fbtft has been applied to today, i pushed the a initial working version of my driver:

https://github.com/lategoodbye/linux-lcd6610

Edit:

Here the necessary kernel config options:
Code: [Select]
CONFIG_FB_TFT=y
CONFIG_FB_TFT_S1D15G00=m

Here the modprobe call:
Code: [Select]
modprobe fb_s1d15g00
« Last Edit: September 20, 2015, 06:43:14 PM by swahren »

swahren

  • Jr. Member
  • **
  • Posts: 99
  • Karma: +7/-0
Re: MOD-LCD6610
« Reply #4 on: November 01, 2015, 08:03:48 PM »
After the last changes in my repo, it is possible to connect the display direct to Olinuxino board via UEXT connection.

Next steps would to rebase and submit the driver to mainline.

lambda

  • Full Member
  • ***
  • Posts: 180
  • Karma: +21/-0
    • Support my work
Re: MOD-LCD6610
« Reply #5 on: November 08, 2015, 05:24:05 PM »
Nice!