Author Topic: ILI9341 Reading Display RAM  (Read 1929 times)

JRBrown

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
ILI9341 Reading Display RAM
« on: April 25, 2015, 08:03:07 PM »
Does anyone have an example of reading the display ram with the ILI9341 controller?

I am using command 0x2E and cannot undertstand the data I read.

For example, I set the page and column to 0.
Then, using command 2C I write a red pixel.  So i write a 0x001F  (I'm using 16bpp)
Then I set the page and column back to 0.
When I issue the 0x2E command and then read 2 bytes, I get 0x00FC.

The reason I need to read the display RAM is that I'm trying to create bitmaps with "transparent" background.  My bitmaps will have a predefined transparent color. For every pixel I write, I would first see if it a transparent pixel.  If so, I need to read the display RAM and write the value of the current
pixel.

Any help is appreciated.

Michael_L

  • Administrator
  • Hero Member
  • *****
  • Posts: 356
  • Karma: 33
    • View Profile
Re: ILI9341 Reading Display RAM
« Reply #1 on: May 04, 2015, 01:36:09 PM »
We unfortunately don't have any code examples to read from the display's RAM, however all relevant information pertaining to the read cycle is available in the ILI9341 controller datasheet.  (See pages 30 - 32, 116)  Please also take note of the attached image below (from page 10).

 

Blank Display on NHD‐C0220BiZ‐FS(RGB)‐FBW‐3VM

Started by SteveCBoard Character LCDs

Replies: 3
Views: 4566
Last post May 13, 2014, 12:04:36 AM
by SteveC
NHD‐C12864A1Z‐FSW‐FBW‐HTT display clears after draw

Started by EdAverillBoard Graphic LCDs

Replies: 6
Views: 5700
Last post November 07, 2014, 08:25:20 AM
by Michael_L
NHD‐4.3‐480272EF‐ATXL#‐CTP | FAN5333 | BBB | Nothing on the Display

Started by Alias_AliasBoard TFTs

Replies: 2
Views: 3411
Last post Today at 12:22:09 PM
by Jimmytoobe
Arduino LCD library not working with newhaven display NHD‐0420H1Z‐FL‐GWB-3V3

Started by c2hollowBoard Character LCDs

Replies: 9
Views: 8819
Last post July 10, 2014, 08:46:06 AM
by Michael_L
NHD-0420DZW-AG5 - Display "sometimes" shows only 2 lines

Started by stylonurusBoard OLEDs

Replies: 5
Views: 5577
Last post June 18, 2014, 10:09:49 AM
by Michael_L