Reading display memory

Comments

2 comments

  • Michael_L

    I believe for this display the way the pixel data is stored in the controller's RAM will be 24bpp format, regardless of the format that is chosen for the writes.  Changing the color depth to 16bpp reduces the amount of time it takes to write an image to the display, which is its primary benefit.  However, the data is still arranged in the RAM as 24-bit, so when reading from the RAM this should be taken into consideration.

    0
  • durian

    Thanks. It's nice to know I'm not crazy.

    I've been over the ILI9340 manual from your site a few times, but I can't find anything that would suggest this sort of behavior is possible. Can you point me to some documentation that shows how the 16-bit input data is expanded to 24-bits before being stored in memory? Maybe there is a similar setting that will instruct the controller to squeeze the pixel data back down to 16-bits when read.

    mike

    0

Please sign in to leave a comment.