DATASHEET FN7796 TW2868 Rev. 3.00 May 22, 2013 8-Channel Video Decoders and Audio Codecs and Video Encoder for Security Applications Automatic white peak control The TW2868 includes eight high quality Programmable hue, saturation, contrast, NTSC/PAL/SECAM video decoders that convert brightness and sharpness analog composite video signal to digital component YCbCr data for security applications. Proprietary fast video locking system Each channel contains 10-bit ADC and proprietary Supports ITU-R BT.656 type time multiplexed clamp and gain controllers and utilizes 4H comb output with 54/108MHz filter for separating luminance and chrominance Provides simultaneous 2x four channel Full D1 to reduce cross noise artifacts. The TW2868 with 108MHz and 2x CIF with 54MHz by time- adopts image enhancement techniques, such as multiplexed output format IF compensation filter, CTI and programmable Integrated ten audio ADC processing and one peaking. TW2868 also includes one NTSC/PAL audio DAC video encoder with two 10-bit DACs to support Provides multi-channel audio mixed analog CVBS and YC output. The TW2868 also includes output audio CODEC, which has ten audio Analog-to- Digital converter processing and one Digital-to- Supports I2S/DSP Master/Slave interface for Analog converter. A built-in audio controller can record output and playback input generate digital outputs for recording/mixing and PCM 8/16-bit and -Law/A-Law 8-bit for audio it also accepts digital input for playback. word length Programmable audio sample rate, which covers Features popular frequencies of 8/16/32/44.1/48kHz Supports two-wire serial host interface Accepts all NTSC(M/4.43) / PAL(B/D/G/H/I/K/L/M/N/60)/SECAM Integrated one video encoder and two10-bit standards with auto detection video CMOS DACs Integrated eight video analog anti-aliasing Integrated clock PLL for 108MHz clock output filters and 10 bit CMOS ADCs Ultra low power consumption (Typical High performance adaptive 4H comb filters for 867.36mW) all NTSC/PAL standards 128 pin LQFP package IF compensation filter for improvement of color demodulation Color Transient Improvement (CTI) FN7796 Rev. 3.00 Page 1 of 199 May 22, 2013 TW2868 Table of Contents Block Diagram ................................................................................................................................................................... 4 Pin Diagram ............................................................................................................................................................. 6 Pin Description .......................................................................................................................................................... 7 Functional Description .................................................................................................................................................... 11 Video Input Formats ................................................................................................................................................ 11 Analog Frontend ...................................................................................................................................................... 12 Decimation Filter ........................................................................................................................................... 13 Automatic Gain Control and Clamping ................................................................................................................. 14 Sync Processing ....................................................................................................................................................... 14 Y/C Separation ........................................................................................................................................................ 15 Color Decoding ......................................................................................................................................................... 16 Chrominance Demodulation ........................................................................................................................ 16 ACC (Automatic Color gain control)............................................................................................................. 17 Chrominance Processing ........................................................................................................................................ 17 Chrominance Gain, Offset and Hue Adjustment ....................................................................................... 17 CTI (Color Transient Improvement) ............................................................................................................. 17 Luminance Processing ............................................................................................................................................ 18 Video Cropping ......................................................................................................................................................... 19 Video Scaler ........................................................................................................................................................... 20 Output Format ......................................................................................................................................................... 23 Channel ID ..................................................................................................................................................... 23 Video Loss Output ......................................................................................................................................... 24 Two Channel ITU-R BT.656 Time-multiplexed Format with 54MHz ........................................................ 24 Four Channel CIF Time-multiplexed Format with 54MHz ......................................................................... 25 Four Channel D1 Time-division-multiplexed Format with 108MHz ......................................................... 26 Output Enabling Act ...................................................................................................................................... 27 MPPn Output .................................................................................................................................................. 27 Video Output Format/Channel Selection ................................................................................................... 30 Video Output Interface .................................................................................................................................. 30 Video Encoder .......................................................................................................................................................... 33 Audio Codec ........................................................................................................................................................... 36 Audio Clock Master/Slave mode ................................................................................................................. 38 Audio Detection ............................................................................................................................................. 38 Multi-Chip Operation ..................................................................................................................................... 39 Serial Audio Interface ................................................................................................................................... 44 Audio Clock Slave Mode Data Output Timing ............................................................................................ 47 ACLKP/ASYNP Slave Mode Data Input Timing .......................................................................................... 49 Audio Clock Generation ................................................................................................................................ 51 Audio Clock Auto Setup ................................................................................................................................ 53 Host Interface .................................................................................................................................................................. 54 Serial Interface ........................................................................................................................................................ 54 Interrupt Interface ................................................................................................................................................... 55 Squared Pixel mode operation .............................................................................................................................. 56 Clock PLL ........................................................................................................................................................... 56 Control Register ....................................................................................................................................................... 57 Page Mode Register Map ............................................................................................................................. 57 Page0 Register Map...................................................................................................................................... 57 Page1 Register Map...................................................................................................................................... 63 Page Access ................................................................................................................................................... 66 Page0 Register Description ......................................................................................................................... 66 Page1 Register Description .......................................................................................................................147 Electrical Information ...................................................................................................................................................188 Absolute Maximum Ratings .................................................................................................................................188 FN7796 Rev. 3.00 Page 2 of 199 May 22, 2013