Search found 513 matches

by loboris
Tue May 02, 2017 10:51 pm
Forum: ESP-IDF
Topic: Need sample code for ILI9488 LCD on SPI Interface
Replies: 82
Views: 117382

Re: Need sample code for ILI9488 LCD on SPI Interface

...We have some requirements to change brightness of ILI9488 LCD and for that we have added "Write Display Brightness Value (51h)" command with value range from 0x00 to 0xFF but not found any effect after applying above command. I don't think this command will work. It needs external PWM which your...
by loboris
Mon May 01, 2017 10:59 pm
Forum: ESP-IDF
Topic: Need sample code for ILI9488 LCD on SPI Interface
Replies: 82
Views: 117382

Re: Need sample code for ILI9488 LCD on SPI Interface

I'm working on some improvements and bug fixes. There is a bug in displaying decoded jpg data, I'll fixi ti soon. I'm also planning to adapt all functions to work with 18-bit color data (RGB666). It works with both ILI9488 and ILI9341, and there will be an option to select 16-bit color (RGB565) for ...
by loboris
Fri Apr 28, 2017 8:51 pm
Forum: Sample Code
Topic: Non DMA version of the spi_master driver
Replies: 14
Views: 28190

Re: Non DMA version of the spi_master driver

JPG image decoding and drawing on screen is now added to the example code. In example the image is drawn from embeded buffer (4 images included), but drawing from file is also supported. I will also include the BMP image support. Some bugs in example code are fixed (reading from ILI9488 GRAM now wo...
by loboris
Fri Apr 28, 2017 8:45 pm
Forum: ESP-IDF
Topic: Need sample code for ILI9488 LCD on SPI Interface
Replies: 82
Views: 117382

Re: Need sample code for ILI9488 LCD on SPI Interface

JPG image decoding and drawing on screen is now added. In example the image is drawn from embeded buffer (4 images included), but drawing from file is also supported. I will also include the BMP image support. You can print any text on any x,y location on the screen as demonstrated in the example. ...
by loboris
Thu Apr 27, 2017 10:49 pm
Forum: ESP-IDF
Topic: Need sample code for ILI9488 LCD on SPI Interface
Replies: 82
Views: 117382

Re: Need sample code for ILI9488 LCD on SPI Interface

TFT drawing and text/fonts library ( tft.c , tft.h ) is now added to the https://github.com/loboris/ESP32_SPI_MASTER_NODMA_EXAMPLE My full library includes also image functions (raw image, BMP & JPG), but they requires file system and are not included in this example. https://raw.githubusercontent.c...
by loboris
Thu Apr 27, 2017 10:47 pm
Forum: Sample Code
Topic: Non DMA version of the spi_master driver
Replies: 14
Views: 28190

Re: Non DMA version of the spi_master driver

The example spi_master_demo.c now supports ILI9488 based displays in 4-line SPI mode. TFT drawing and text/fonts library ( tft.c , tft.h ) is added to the example https://github.com/loboris/ESP32_SPI_MASTER_NODMA_EXAMPLE My full library includes also image functions (raw image, BMP & JPG), but they ...
by loboris
Thu Apr 27, 2017 9:42 am
Forum: ESP-IDF
Topic: Need sample code for ILI9488 LCD on SPI Interface
Replies: 82
Views: 117382

Re: Need sample code for ILI9488 LCD on SPI Interface

To clear the screen you have to send 320*480*3*8 = 3686400 bits to the display. At 40 MHz spi clock (1 bit time is 25 ns) the theoretical minimum time is 92.16 ms. With some optimization I've got 160 ms for clear screen function, I don't think you can get much faster clear screen with any driver on ...
by loboris
Wed Apr 26, 2017 3:39 pm
Forum: ESP-IDF
Topic: Need sample code for ILI9488 LCD on SPI Interface
Replies: 82
Views: 117382

Re: Need sample code for ILI9488 LCD on SPI Interface

@Ritesh I have tested ILI9488 based display ( http://www.buydisplay.com/default/lcd-3-5-inch-320x480-tft-display-module-optl-touch-screen-w-breakout-board ) with ESP32 (SparkFun ESP32 Thing) and it is working with my non-dma spi driver. GitHub repository is updated with fully working example for ILI...
by loboris
Tue Apr 25, 2017 7:05 pm
Forum: ESP-IDF
Topic: Need sample code for ILI9488 LCD on SPI Interface
Replies: 82
Views: 117382

Re: Need sample code for ILI9488 LCD on SPI Interface

I've had ILI9488 working on STM32F4. Still no time to check it on ESP32. Basically, all you have to do is make shure the initialization sequence is correct (always include soft reset (0x01) as the first command + delay 100 ms) and replace in every function which sends 16-bit color (RGB565) with 3-by...
by loboris
Tue Apr 25, 2017 6:25 pm
Forum: Showcase
Topic: ESP32 with GSM modem - PPP over Serial (PPPoS) client example
Replies: 34
Views: 207965

Re: ESP32 with GSM modem - PPP over Serial (PPPoS) client example

PPPoS support is now included in esp-idf.
No patches are necessary. GitHub repository updated.