Need sample code for ILI9488 LCD on SPI Interface

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Need sample code for ILI9488 LCD on SPI Interface

Postby Ritesh » Thu May 18, 2017 2:11 pm

Hi,

Please find following init sequence for ILI9163C LCD.
/// SPI Init LCD ILI9163C Sequence
static const ili_init_cmd_t ili_init_cmds[]={
{0x01, {0}, 0x80},
{0x11, {0}, 0x80},
{0x3A, {0x66}, 1},
{0x26, {0x04}, 1},
{0xF2, {0x01}, 1},
{0xE0, {0x3F, 0x25, 0x1C, 0x1E, 0x20, 0x12, 0x2A, 0X90, 0x24, 0x11,
0x00, 0x00, 0x00, 0x00, 0x00}, 15},
{0XE1, {0x20, 0x20, 0x20, 0x20, 0x05, 0x00, 0x15, 0xA7, 0x3D, 0x18,
0x25, 0x2A, 0x2B, 0x2B, 0x3A}, 15},
{0xB1, {0x08, 0x08}, 2},
{0xC0, {0x14, 0x02}, 2},
{0xC1, {0x02}, 1},
{0xC5, {0x1D, 0x4A}, 2},
{0xC7, {0xCA}, 1},
{0x2A, {0x00, 0x00, 0x00, 0x7F}, 4},
{0x2B, {0x00, 0x00, 0x00, 0x9F}, 4},
{0xEC, {0x0C}, 1},
{0x36, {0xC8}, 1},
{0x29, {0}, 0x80},
{0x2C, {0}, 0x80},
{0, {0}, 0xFF},
};
The Dimension for this LCD is 160 X 128 and I have checked using SPI Master example in which it is working fine without any issue.

I will also check with your updated GIThub demo and will provide you an update regarding that.

So, You can also add support of that into your existing demo. Let me know if need any help for that.
Regards,
Ritesh Prajapati

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Need sample code for ILI9488 LCD on SPI Interface

Postby Ritesh » Wed May 24, 2017 11:11 am

Hi Loboris,

Hope You are doing well.

Can you please let me know that is there any support for "horizontal/vertical window scrolling functions" in your current firmware git repository specific to TFT Library?

We have checked into whole TFT Library but not found any APIs or reference for that and also we have tried with our own way as well but not got proper mechanism for both window scrolling.

Let me know if you have any idea for that.
Regards,
Ritesh Prajapati

User avatar
loboris
Posts: 514
Joined: Wed Dec 21, 2016 7:40 pm

Re: Need sample code for ILI9488 LCD on SPI Interface

Postby loboris » Wed May 24, 2017 1:26 pm

Ritesh wrote:Hi Loboris,

Hope You are doing well.

Can you please let me know that is there any support for "horizontal/vertical window scrolling functions" in your current firmware git repository specific to TFT Library?

We have checked into whole TFT Library but not found any APIs or reference for that and also we have tried with our own way as well but not got proper mechanism for both window scrolling.

Let me know if you have any idea for that.
I have plans to implement scrolling functions, hardware scrolling is easy to implement, but I'm working on on a combination of software/hardware scroling which should have more features.

All future additions and changes related to TFT will be available in my new repository https://github.com/loboris/ESP32_TFT_library

viewtopic.php?f=17&t=1937

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Need sample code for ILI9488 LCD on SPI Interface

Postby Ritesh » Wed May 24, 2017 2:29 pm

loboris wrote:
Ritesh wrote:Hi Loboris,

Hope You are doing well.

Can you please let me know that is there any support for "horizontal/vertical window scrolling functions" in your current firmware git repository specific to TFT Library?

We have checked into whole TFT Library but not found any APIs or reference for that and also we have tried with our own way as well but not got proper mechanism for both window scrolling.

Let me know if you have any idea for that.
I have plans to implement scrolling functions, hardware scrolling is easy to implement, but I'm working on on a combination of software/hardware scroling which should have more features.

All future additions and changes related to TFT will be available in my new repository https://github.com/loboris/ESP32_TFT_library

viewtopic.php?f=17&t=1937
Thanks for quick update.

Let me know once you add support for scrolling features into your current repository which you have mentioned in your last reply.
Regards,
Ritesh Prajapati

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Need sample code for ILI9488 LCD on SPI Interface

Postby Ritesh » Sat Jun 10, 2017 12:17 pm

Hi Loboris,

I have one more quick question for you that is there any plan to add support for PNG file format in addition to ".jpg" and ".bmp" file format your latest TFT Repository?

We have one requirement in which we want to use transparent image and that image format is in .png format.

So, Please let me know if you have any plan for that.
Regards,
Ritesh Prajapati

User avatar
loboris
Posts: 514
Joined: Wed Dec 21, 2016 7:40 pm

Re: Need sample code for ILI9488 LCD on SPI Interface

Postby loboris » Sun Jun 11, 2017 10:10 am

@Ritesh

Yes, I'm planning to include PNG support.
At the moment I'm looking for the best way to implement transparency.
As I'm not using the frame buffer (it will be included later for ESP32 with 4MB of PSRAM) the data has to be read from display RAM, combined with image data and written back to display RAM.
I'm also planning to implement a kind of transparency also for BMP and JPG images, where you have ta manually declare the transparent color.

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Need sample code for ILI9488 LCD on SPI Interface

Postby Ritesh » Sun Jun 11, 2017 4:49 pm

loboris wrote:@Ritesh

Yes, I'm planning to include PNG support.
At the moment I'm looking for the best way to implement transparency.
As I'm not using the frame buffer (it will be included later for ESP32 with 4MB of PSRAM) the data has to be read from display RAM, combined with image data and written back to display RAM.
I'm also planning to implement a kind of transparency also for BMP and JPG images, where you have ta manually declare the transparent color.
Thanks for update.

So, when that support will be added in your current latest Repository?

Any tantative schedule or date for that?
Regards,
Ritesh Prajapati

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Need sample code for ILI9488 LCD on SPI Interface

Postby Ritesh » Mon Jun 12, 2017 4:38 pm

Hi Loboris,

Will you please let me know your schedule or any tantative schedule to add support for PNG image format in to your existing Repository?

Let me know if you have plan to add it soon.
Regards,
Ritesh Prajapati

User avatar
loboris
Posts: 514
Joined: Wed Dec 21, 2016 7:40 pm

Re: Need sample code for ILI9488 LCD on SPI Interface

Postby loboris » Mon Jun 12, 2017 5:07 pm

Probably before the end of the month...

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Need sample code for ILI9488 LCD on SPI Interface

Postby Ritesh » Tue Jun 13, 2017 4:06 am

loboris wrote:Probably before the end of the month...
Ok. Thanks for update.
Regards,
Ritesh Prajapati

Who is online

Users browsing this forum: Bing [Bot] and 128 guests