Registers
1059
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Liquid Crystal Display Controller (LCDC)
23.3.8.1
LCD Raster Controller Enable (RASTER_EN)
NOTE:
All other control bit-fields must be programmed before setting RASTER_EN = 1 and must
also disable the LCD controller when changing the state of any control bit within the LCD
controller.
The LCD Raster Controller enable (RASTER_EN) bit is used to enable and disable all LCD controller
operation.
•
When RASTER_EN = 0, the LCD controller is disabled.
•
When RASTER_EN = 1, the LCD controller is enabled.
You can program the LCD control register (LcdControl) last, and configure all twenty-five bit fields at the
same time via a word32 write to the register. If you clear RASTER_EN bit while the LCD controller is
enabled, you can complete transmission of the current frame before being disabled. Completion of the
current frame is signaled by the LCD controller to the DMA by setting the frame done (Done) bit within the
LCD controller status register (see LCD Controller Status Register), which generates an interrupt request.
If the LCD controller is disabled, the signals on pixel data [15:0] pins are set to 0 and the pixel clock,
frame clock(vertical clock), line clock (horizontal clock), and ac-bias signals are set to their inactive state.
This can be 0 or 1, depending on the inversions programmed in the LCD Raster Timing 2 register.
23.3.8.2
LCD Monochrome (MONO_COLOR)
The color/monochrome select (LcdBW) bit is used to determine whether the LCD controller operates in
color or monochrome mode.
•
When MONO_COLOR = 0:
–
Color mode is selected.
–
Palette entries are 12 bits wide, providing up to 4096 colors in active (TFT) mode and up to
3375 colors in passive (STN) color mode.
–
All three dither blocks are used (in passive mode only: TFT_STN = 0), one for each color
component (R, G, B).
•
When MONO_COLOR = 1:
–
Monochrome mode is selected.
–
Palette entries are 4 bits wide effective (15 levels of grayscale).
–
4 or 8 data lines are enabled, according to the mono 8-bit mode (MONO8B).
Table 23-19. LCD Controller Data Pin Utilization for Mono/Color Passive/Active Panels
Color/Mono BPP
Passive/Active Panel
Pins
Mono 1,2,4
Passive
Pixel data[3:0]
Mono 8
Passive
Pixel data[7:0]
Color 1,2,4,8,12,16 (STN_565 = 1)
Passive
Pixel data[7:0]
Color 1,2,4,8,12
Active
Pixel data[11:0] or Pixel data[15:0] according to TFT_ALT_MAP
bit in the LCD Raster Control Register (RASTER_CTRL)
Color 16
Active
Pixel data[15:0]