TW8835
3
Ordering Information ..................................................................... 10
Functional Description .................................................................. 11
Overview ............................................................................................. 11
Analog Front-end ..................................................................................... 11
Video Decoder ......................................................................................... 11
Sync Processor .................................................................................. 11
Color Decoding ................................................................................... 12
Automatic Standard Detection .......................................................... 12
Video Format Support ........................................................................ 12
Touch Screen Controller ......................................................................... 13
Digital Input Support ................................................................................ 13
Input Image Control ................................................................................. 14
Image Scaling .......................................................................................... 14
Image Enhancement Processing .......................................................... 14
Black/White Stretch ............................................................................ 14
TFT Panel Support .................................................................................. 14
Dithering .............................................................................................. 14
Gamma Table .................................................................................... 14
TCON .................................................................................................. 14
Font Based On Screen Display ............................................................. 15
On Chip OSD functions ..................................................................... 15
Basic Register Setting Flow Example for Built-in OSD Controller.. 16
OSD Window Start Location: Built-in OSD Controller ..................... 18
OSD_RAM Configuration .................................................................. 18
Alpha Blending for OSD Window ..................................................... 19
Alpha Blending Concept .................................................................... 19
SPI Flash On Screen Display ................................................................ 20
Built-in Microcontroller ........................................................................ 27
Microcontroller Interface .......................................................................... 29
Two Wire Serial Bus Interface ........................................................... 29
Pin Diagram ...................................................................................... 32
Pin Descriptions ............................................................................... 33
Parametric Information..................................................................... 39
AC/DC Electrical Parameters ................................................................. 39
Filter Curves ..................................................................................... 43
Anti-alias Filter ..................................................................................... 43
Decimation Filter ................................................................................. 43
Chroma Band Pass Filter Curves ..................................................... 44
Luma Notch Filter Curve for NTSC and PAL .................................. 44
Chrominance Low-Pass Filter Curve ............................................... 45
TW8835 Register Summary ............................................................ 46
General ................................................................................................ 46
General ................................................................................................ 46
Input Control ........................................................................................ 46
DTV ..................................................................................................... 48
GPIO.................................................................................................... 48
MBIST (Memory Built-In Test)........................................................... 49
TSC (Touch Screen Control) ............................................................ 49
LOPOR/LEDC/DC-DC/VCOM Control ........................................... 50
SSPLL ................................................................................................. 51
Decoder .............................................................................................. 52
Decoder (Cont.) .................................................................................. 53
ADC/LLPLL......................................................................................... 54
SCALER / TCON ............................................................................... 55
Image Adjustment .............................................................................. 56
Gamma & Dither ................................................................................ 56
FOSD .................................................................................................. 57
SPI OSD ............................................................................................. 60
SPI & MCU ......................................................................................... 64
MEASUREMENT .............................................................................. 65
Special Function Register .................................................................. 66
TW8835 Register Description ......................................................... 68
0x000 – Product ID Code Register (ID)........................................... 68
0x002 – IRQ ........................................................................................ 68
0x003 – IMASK .................................................................................. 68
0x004 – Status .................................................................................... 68
0x006 – SRST .................................................................................... 69
0x007 – OUTPUT CTRL I ................................................................. 69
0x008 – OUTPUT CTRL II ................................................................ 70
0x00F – INT0 WRITE PORT ............................................................ 70
0x01F – TEST .................................................................................... 70
0x040 – INPUT Control I.................................................................... 71
0x041 – INPUT Control II................................................................... 71
0x042 – INPUT CROP_HI ................................................................ 71
0x043 – INPUT V CROP Position .................................................... 71
0x044 – INPUT V CROP Length LO ............................................... 72
0x045 – IINPUT H CROP Position LO ............................................ 72
0x046 – INPUT H CROP Length LO ............................................... 72
0x047 – BT656 Decoder Control I .................................................... 72
0x048 – BT656 Decoder Control II ................................................... 72
0x049 – BT656 Status I ..................................................................... 72
0x04A – BT656 Status II .................................................................... 73
0x050 – DTV Input Control ................................................................ 74
0x051 – DTV Input Control ................................................................ 74
0x052 – DTV Input Control ................................................................ 75
0x053 – DTV Input Format ................................................................ 76
0x054 – DTV Field Detection Region ............................................... 76
0x056 – DTV Vsync Delay ................................................................ 77
0x057 – Sequential RGB ................................................................... 77
0x05F – Test Pattern Generator Control Register.......................... 77
0x080 – GPIO0_EN ........................................................................... 78
0x081 – GPIO1_EN ........................................................................... 78
0x082 – GPIO2_EN ........................................................................... 78
0x083 – GPIO3_EN ........................................................................... 78
0x084 – GPIO4_EN ........................................................................... 78
0x085 – GPIO5_EN ........................................................................... 78
0x086 – GPIO6_EN ........................................................................... 78
0x088 – GPIO0_OE .......................................................................... 78
0x089 – GPIO1_OE .......................................................................... 79
0x08A – GPIO2_OE .......................................................................... 79
0x08B – GPIO3_OE .......................................................................... 79
0x08C – GPIO4_OE .......................................................................... 79
0x08D – GPIO5_OE .......................................................................... 79
0x08E – GPIO6_OE .......................................................................... 79
0x090 – GPIO0_OD .......................................................................... 79
0x091 – GPIO1_OD .......................................................................... 79
0x092 – GPIO2_OD .......................................................................... 80
0x093 – GPIO3_OD .......................................................................... 80
0x094 – GPIO4_OD .......................................................................... 80
0x095 – GPIO5_OD .......................................................................... 80
0x096 – GPIO6_OD .......................................................................... 80
0x098 – GPIO0_ID ............................................................................ 80
0x099 – GPIO1_ID ............................................................................ 80
0x09A – GPIO2_ID ............................................................................ 80
0x09B – GPIO3_ID ............................................................................ 81
0x09C – GPIO4_ID ............................................................................ 81
0x09D – GPIO5_ID ............................................................................ 81
0x09E – GPIO6_ID ............................................................................ 81
0x0A0 – MBIST Control ..................................................................... 81
0x0A1 – MBIST I ................................................................................ 81
0x0A2 – MBIST II ............................................................................... 81
0x0A3 – MBIST III .............................................................................. 82
0x0A4 – MBIST IV ............................................................................. 82
0x0B0 – Touch Screen Control I ....................................................... 82
0x0B1 – Touch Screen Control II ...................................................... 82
0x0B2 – TSC ADC Data Output_HI ................................................. 83
0x0B3 – TSC ADC Data Output_LO ............................................... 83
0x0B4 – TSC ADC Sample and Clock ............................................ 83
0x0D4 – LOPOR Registers............................................................... 84
0x0D6 – TCLK AND PWM CNTL .................................................... 84
0x0D7 – FPWM3_LO ........................................................................ 84
0x0D8 – DPWM3 ............................................................................... 84
0x0D9 – FPWM4_LO ........................................................................ 84
0x0DA – DPWM4 .............................................................................. 84
0x0DB – FPWM_HI ........................................................................... 85
0x0DC – FPWM1_LO ....................................................................... 85
0x0DD – DPWM1 .............................................................................. 85
0x0DE – FPWM2_LO ....................................................................... 85
0x0DF – DPWM2 ............................................................................... 85
0x0E0 – LEDC Control I .................................................................... 86
0x0E1 – LEDC Sense Control .......................................................... 86
0x0E2 – LEDC Control II ................................................................... 86
0x0E3 – LEDC PWM ........................................................................ 87
0x0E4 – LEDC Dim Frequency ........................................................ 87