TW8823 – TFT FLAT PANEL CONTROLLER
TECHWELL, INC. 2 REV A
11/20/2009
Introduction.....................................................................................10
Applications............................................................................................10
Analog RGB Inputs.............................................................................10
Dual Digital Inputs Support ................................................................10
Built-in Microcontroller.........................................................................10
TFT Panel Support.............................................................................11
On Screen Display..............................................................................11
Image Processing...............................................................................11
PIP Function........................................................................................11
DDR-SDRAM.....................................................................................11
Host Interface......................................................................................11
Clock Generation................................................................................11
Power Management...........................................................................11
Miscellaneous .....................................................................................11
Order Information...........................................................................12
Functional Description ..................................................................15
Overview .................................................................................................15
Analog Front-end ..................................................................................15
Video Source Selection......................................................................16
Clamping and Automatic Gain Control.............................................16
Video Decoder.......................................................................................17
Sync processor...................................................................................17
Color Decoding...................................................................................17
Automatic standard detection............................................................18
Video Format support.........................................................................18
Analog RGB / YPbPr Processor ........................................................19
Analog Front-end................................................................................19
Sync Processor...................................................................................19
Component Processor.......................................................................19
Touch Screen Controller .....................................................................19
Digital Input Support.............................................................................19
TFT Panel Support................................................................................20
Dithering...............................................................................................20
LVDS out put format...........................................................................20
LVDS Color Mapping.........................................................................21
Image Control.........................................................................................22
Input Image Control............................................................................22
Image Scaling.....................................................................................22
Display Timing.....................................................................................25
External DDR SDRAM Interface.........................................................25
On Screen Display................................................................................26
External OSD port...............................................................................26
Microcontroller Interface.....................................................................32
Built-in Microcontroller.........................................................................48
Power Management..............................................................................48
Gamma Correction...............................................................................48
Memory configuration..........................................................................49
Memory Interface...................................................................................50
Test Modes.............................................................................................50
Pin Diagram.....................................................................................51
Pin Description ...............................................................................52
Parametric Information..................................................................62
AC/DC Electrical Parameters..............................................................62
Filter Curves....................................................................................65
Anti-alias filter.......................................................................................65
Decimation filter...................................................................................65
Chroma Band Pass Filter Curves .....................................................66
Luma Notch Filter Curve for NTSC and PAL...................................66
Chrominance Low-Pass Filter Curve................................................67
Mechanical Data 216 LQFP.........................................................68
TW8823 Register Summary ..........................................................70
General (Common for any page)......................................................70
Global Register ...................................................................................71
Status & Interrupt................................................................................73
Internal Test.........................................................................................73
Decoder...............................................................................................74
Decoder...............................................................................................75
LCDC – 3D Comb/NR Control..........................................................75
LCDC – IIRGB (Input Interface RGB)...............................................76
LCDC : ADC/LLPLL...........................................................................76
LCDC – Main Path Input Cropping .................................................. 78
LCDC – Scaling ................................................................................. 78
LCDC – Panel Display Control......................................................... 79
LCDC – Image Adjustment............................................................... 81
LCDC – Image Adjustment............................................................... 82
LCDC – PIP1 Control........................................................................ 83
LCDC – PIP2 Control........................................................................ 84
LCDC – PIP1/PIP2 common Control .............................................. 85
LCDC – DV, PIP1/PIP2 common Control....................................... 85
LCDC – PIP Alpha Blending Control ............................................... 85
LCDC – OSD ..................................................................................... 86
OSD.................................................................................................... 88
OSD Interrupt Enable, Vertical Active Status .................................. 90
Main/Sub Path OSD Selection......................................................... 90
External OSD..................................................................................... 90
LCDC – Gamma & Dither & Key (waver_top)............................... 91
LCDC – TGA & Power Management.............................................. 91
LCDC – TCON................................................................................... 92
LCDC – Input Measurement............................................................. 95
LCDC – Input Measurement............................................................. 95
LCDC – DDR Memory Control......................................................... 96
LCDC – Aux Control.......................................................................... 97
CCFL and LEDC Control.................................................................. 98
TSC (Touch Screen Control)............................................................ 98
LCDC : LVDS.................................................................................... 98
LCDC : REMOCON RX................................................................... 99
LCDC – LOPOR............................................................................... 99
LCDC – PLL (Panel Clock)............................................................. 100
LCDC – PLL (Memory Clock)......................................................... 100
LCDC – DAC...................................................................................100
MCU.................................................................................................. 100
Global Register................................................................................. 103
0x000 – PRODUCT ID & REVISION............................................103
GPIO Registers................................................................................ 104
0x040 ~ 0x049 – GPIO Registers................................................. 104
0x050 ~ 0x059 – GPIO Registers................................................. 104
0x060 ~ 0x069 – GPIO Registers................................................. 104
0x070 ~ 0x079 – GPIO Registers................................................. 105
0x080 – Test GPO........................................................................... 105
0x090 ~ 0x099 – Pull Down & Up Registers................................. 105
0x0A0 – Mode Status.....................................................................106
0x0A1 – DTV Input Mode ............................................................... 107
0x0AA - 0x0AD – CLOCK CONTROL.......................................... 107
0x0AA – Clock Control Option........................................................ 107
0x0AB – Clock Polarity...................................................................107
Status & Interrupt..............................................................................109
0x0B0 to 0x0BA – Status and Interrupt Registers ........................ 109
0x0B0 – Status Register..................................................................109
0x0B1– Status Register................................................................... 109
0x0B2– Interrupt Control Register.................................................110
0x0B3 – Interrupt Control Register.................................................110
0x0B4 – Status Register..................................................................111
0x0B5 – Status Register..................................................................111
0x0B6 – Status Register..................................................................112
0x0B7 – Status Register..................................................................112
0x0B8 – Interrupt Mask Register.................................................... 113
0x0B9 – Interrupt Mask Register.................................................... 113
0x0BA – IRQ....................................................................................113
Internal Test......................................................................................114
0x0C6 – Internal Test Control.........................................................114
0x0CE – Internal Test Mode........................................................... 115
0x0E0 – S/W Reset......................................................................... 115
Decoder............................................................................................ 116
0x0101 – Chip Status Register (CSTATUS)................................. 116
0x0102 – Input Format (INFORM)................................................. 116
0x0103 – Reserved ......................................................................... 117
0x0104 – CKHY............................................................................... 117
0x0105 – Reserved ......................................................................... 117
0x0106 – Analog Control Register (ACNTL).................................117
0x0107 – Cropping Register, High (CROP_HI)............................ 117