Tool/software: TI-RTOS
In the datasheet, Figure 26-4 shows the structure of the color palette followed by the picture data. What is the format of this picture data?
How does data get from the EPI to the LCD input FIFO shown in figure 26-1?
Is the palette RAM depicted in this figure the same as the palette RAM in figure 26-4? Asked another way, is the palette RAM stored with the picture data continuously referenced or does it get copied?
I am interested in using the TM4C129X to drive a 800x480 color TFT LCD screen. I would like to use 4 bits per pixel. My plan is to use 2 Mbits of external SRAM. The SRAM has a parallel interface. It uses 18 address lines to output 8 bits at a time.
I picked this SRAM because it suits the EPI interface.
How the EPI interacts with the LCD DMA is unclear. My understanding is the EPI is configured to "pretend" to be at address 0x1000.0000. The frame buffer LCDDMABAFB0 is set to this address. The following "imaginary" addresses translate to SRAM. For example, address 0x10000008 is actually address 0x0008 of the SRAM. I do not understand the format of the 4 bit values; hence the above questions.
Section 26.3.2 encourages doubling my SRAM to allow a second frame buffer. The LCD controller would output from one buffer while I am free to update the other. My application does not have to update the screen quickly. Thoughts on this? How would the EPI balance reads with writes? The SRAM buss can only do one thing at a time. Can the EPI FIFOs handle this balancing act?