English
Language : 

TW9903 Datasheet, PDF (27/74 Pages) List of Unclassifed Manufacturers – TW9903-Multi-standard Video Decoder With High Quality Down Scaler
TW9903
and even field Closed Captioning are enabled, it must be shorter than 4 times write per 1 frame
cycle. Otherwise, FIFO will be in overflow condition theoretically.
Typical FIFO Read flows are as follows. These flows are written similar to C language type.
Case 1 : typical I2C Master with normal read cycle speed
CONT1: Write CC_STATUS register bits 0x1A[6:5]=00
Read 16 times CC_DATA register 0x1B
Write CC_STATUS register bits 0x1A[6:5] for the application
CONT2: Read CC_STATUS register 0x1A
If(FF_OVF bit==1) goto CONT1
else if(FF_EMP bit ==0) goto CONT2 or goto CONT3
else {
if(PARITY bit==1) {
read CC_DATA register 0x1B
Abandon this CC_DATA
goto CONT2 or goto CONT3
}
else {
Check CC_EDS bit and store field information
read CC_DATA register 0x1B(store 1 data)
}
}
CONT3: execute another program routine
goto CONT2
Case2 : Too slow speed I2C Master or program with too big waiting time to cause overflow often.
CC_STATUS Register bits 0x1A[6:5]=01 or10.
CONT4: Write CC_STATUS register bits 0x1A[6:5]=00
Read 16 times CC_DATA register 0x1B
Write CC_STATUS register bits 0x1A[6:5] for the application
CONT5: Read CSTATUS register 0x01
If(CCVALID bit==0) goto CONT5 or goto CONT6
Read CC_STATUS register
If(FF_OVF bit ==1) goto CONT4
Read 8times CC_DATA register 0x1B(Store 8 data)
while (1) {
Read CC_STATUS Register 0x1A
If(FF_EMP bit==0) break or goto CONT6
else Read 0x1B (store1 data)
continue
}
CONT6: execute another program routine
goto CONT5
Two Wire Serial Bus Interface
TECHWELL, INC.
27
REV. 0.92 ( B )
06/02/2002