ES4228/ES4227 Internet Set-Top Box Solution Product Brief DESCRIPTION The ES4228 MPEG video/audio decoder works as the central processing unit for Internet set-top box applications, while the ES4227 companion chip integrates all of the necessary discrete components for Internet set-top boxes. The high level of flexibility and versatility provided by the ES4228/ES4227 chipset makes it the most cost-effective, high-performance solution for the Internet set-top box market. The ES4228 includes a programmable internal RISC processor core that makes it adaptable for use in embedded systems applications such as set-top boxes. The ES4227 companion chip supplies proper video sync capabilities and performs NTSC- and PAL-based video encoding and decoding as necessary to provide broadcast quality video to the television screen. The ES4227 is a mixed-signal chip that includes a high quality NTSC/PAL encoder, two programmable 16-bit sigma-delta audio DACs, a PLL clock synthesizer, two microphone A/D converters, an I/O expansion port, and an echo/surround sound circuit. The ES4228 controls the ES4227 through a proprietary bus, the Device Serial Communication (DSC) bus. The ES4227 gets video input and audio input from the ES4228. Video format is 8bit YUV, and audio format is I2S. Command and register accesses are issued through the DSC interface from the ES4228 to the ES4227 through the DSC interface for accessing the internal registers of the ES4227. The DSC interface port is comprised of three interface signals, the strobe (DSC_S), data (DSC_D), and clock (DSC_C). ES4228 FEATURES • Single-chip MPEG-2 video/audio decoder and system parser in 208-pin PQFP package. • 640 x 480 NTSC and 640 x 576 PAL television video resolutions supported. • Software-configurable for Internet e-mail and web browser functions. • Karaoke, On-Screen Display (OSD), Playback Control (PBC) for Video CD 2.0 and 3.0 and trick mode functions supported. • VideoCD 1.1, 2.0, Interactive 3.0, Super VCD and Audio CD compatible (SVCD and DVD configurations only). • SmartScale™ video scaling supports both X-axis and Y-axis • • ES4227 FEATURES • Multi-standard TV encoder in 100-pin PQFP package supports CCIR601 non-square operation, NTSC/PAL formats, • • The DSC port is selected when the DSC strobe goes high and latches the data at the rising edge of the clock. Each 16-bit DSC transfer is comprised of an address followed by data. • The digital video encoder of the ES4227 uses three 9-bit video DACs to generate composite and S-video analog signals. One video DAC handles the composite video output, while the other two handle the S-video outputs. Color space conversions are provided to match the input data to the required output format, then the data is filtered to meet the selected video standards. • The programmable audio DACs of the ES4227 offer differential audio outputs. These outputs ensure further noise reduction while providing a dual audio output with a signal-to-noise ratio better than 90 dB. The expansion I/O port is address-mapped to the ES4228. Four pins of the port can be configured as edgetriggered interrupts, supporting critical functions such as handling remote control and modem interrupt requests, DVD/ SVCD loader resets and modem board resets. The ES4228 is available in an industry-standard 208-pin Plastic Quad Flat Pack (PQFP) package, while the ES4227 is available in an industry-standard 100-pin PQFP package. • simultaneous composite and S-video output, and interlaced operation. Two programmable 16-bit sigma-delta audio DACs accept I2S format data, and provide dual audio output with SNR better than 90 dB. Dual microphone input and vocal assist hardware support provided. PLL clock synthesizer based on 27 MHz crystal input generates required clocks for video encoder, audio DAC, echo and surround sound, and video processor. Device Serial Communication (DSC) port for command issued/ register access. Digitally controlled echo with up to 130 ms delay. SOFTWARE SUPPORT • Software stack support for the POP3, SMTP and SNMP Internet e-mail protocols defined by RFC 821, RFC 1157and RFC 2449. • Software stack support provided for the HTTP Web browsing protocol defined by RFC 1945, RFC 2068 and RFC 2616. • Software stack support provided for the TCP/IP Internet protocols defined by RFC 791 and RFC 793. • Software stack support provided for RTP payload format for • • ESS Technology, Inc. interpolationa and bidirectional NTSC to PAL and PAL to NTSC conversion. SmartZoom ™supports 4X picture enlargement and reduction SmartStream™ supports video bit stream error concealment. MPEG-1/2 and H.261 video streaming protocols defined by RFC 2032, RFC 2038 and RFC 2250. Character generation and software support for English, Big 5/GB Chinese and Japanese fonts. Software support for infrared remote control and wireless keyboard. SAM0378-053001 1 ES4228/ES4227 PRODUCT BRIEF ES4228 PINOUT 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 VSS NC NC NC NC NC NC NC VCC VSS NC NC NC NC NC HD15 HD14 VCC VSS HD13 HD12 HD11 HD10 HD9 HD8 HD7 VCC VSS HD6 HD5 HD4 HD3 HD2 HD1 HD0 VCC VSS HSYNC# VSYNC# PCLKQSCN PCLK2XSCN YUV7 YUV6 YUV5 VSS VCC YUV4 YUV3 YUV2 YUV1 YUV0 DCLK Figure 1 shows the ES4228 device pinout. 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 ES4228 208-Pin PQFP Package 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 VCC VSS DSCK DQM DCS0# VCC VSS DCS1# DB15 DB14 DB13 DB12 VCC VSS DB11 DB10 DB9 DB8 DB7 DB6 VSS VCC DB5 DB4 DB3 DB2 DB1 DB0 VSS VCC DRAS2# DRAS1# DRAS0# DWE# DOE#/DSCK_EN DCAS# VCC VSS DMA11 DMA10 DMA9 DMA8 DMA7 DMA6 VSS VCC DMA5 DMA4 DMA3 DMA2 DMA1 DMA0 VCC LA4 LA5 LA6 LA7 LA8 LA9 VSS VCC LA10 LA11 LA12 LA13 LA14 LA15 LA16 VSS VCC LA17 LA18 LA19 LA20 LA21 RESET# TDMDX/RSEL VSS VCC TDMDR TDMCLK TDMFS TDMTSC# TWS/SEL_PLL1 TSD/SEL_PLL0 VSS VCC SEL_PLL2 NC NC MCLK TBCK NC NC VSS VCC RSD RWS RBCK APLLCAP XIN XOUT VCC VSS 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 VCC NC VPP AUX0 AUX1 AUX2 VSS VCC AUX3 AUX4 AUX5 AUX6 AUX7 LOE# VSS VCC LCS0# LCS1# LCS2# LCS3# VSS LD0 LD1 LD2 LD3 LD4 VCC VSS LD5 LD6 LD7 LD8 LD9 LD10 LD11 VSS VCC LD12 LD13 LD14 LD15 LWRLL# LWRHL# VSS VCC NC NC LA0 LA1 LA2 LA3 VSS Figure 1 ES4228 Device Pinout 2 SAM0378-053001 ESS Technology, Inc. ES4228/ES4227 PRODUCT BRIEF ES4228 PIN DESCRIPTION Table 1 lists the pin descriptions for the ES4228. Table 1 ES4228 Pin Descriptions List Name VCC LA[21:0] VSS Number I/O 1, 9, 18, 27, 35, 44, 51, 59, 68, 75, 83, 92, 99, 104, 111, 121, 130, 139, 148, 157, 164, 172, 183, 193, 201 I 23:19, 16:10, 7:2, 207:204 O 8, 17, 26, 34, 43, 52, 60, 67, 76, 84, 91, 98, 103, 112, 120, 129, 138, 147, 156, 163, 171, 177, 184, 192, 200, 208 I 24 I Reset input, active low. O TDM transmit data. I ROM Select. RESET# TDMDX RSEL Description 3.45 V power supply. Device address output. Ground. 25 RSEL Selection 0 1 8-bit ROM 16-bit ROM TDMDR 28 I TDM receive data. TDMCLK 29 I TDM clock input. TDMFS 30 I TDM frame sync. TDMTSC# 31 O TDM output enable, active low. TWS 32 O Audio transmit frame sync. SEL_PLL1 I Refer to the description and matrix for SEL_PLL0 pin 33. TSD O Audio transmit serial data port. I System and DSCK output clock frequency selection at reset time. The matrix below lists the available clock frequencies and their respecitve PLL bit settings. SEL_PLL2 SEL_PLL1 SEL_PLL0 Clock Output 0 0 0 0 1 1 1 1 33 SEL_PLL0 0 0 1 1 0 0 1 1 SEL_PLL2 36 I MCLK 39 I/O Audio master clock for audio DAC. TBCK 40 I/O Audio transmit bit clock. RSD 45 I Audio receive serial data. RWS 46 I Audio receive frame sync. RBCK 47 I Audio receive bit clock. APLLCAP 48 I Analog PLL Capacitor. XIN 49 I Crystal input. XOUT 50 O Crystal output. ESS Technology, Inc. 0 1 0 1 0 1 0 1 VCO doesn’t work. 27 MHz Bypass mode 54 MHz 121.5 MHz 81 MHz 94.5 MHz 108 MHz Refer to the description and matrix for SEL_PLL0 pin 33. SAM0378-053001 3 ES4228/ES4227 PRODUCT BRIEF Table 1 ES4228 Pin Descriptions List (Continued) Name DMA[11:0] Number I/O Description 66:61, 58:53 O DRAM address bus. DCAS# 69 O DRAM column address strobe. DOE# 70 O DRAM output enable. O DRAM system clock enable. DSCK_EN DWE# 71 O DRAM write enable. 74:72 O DRAM row address strobe. 96:93, 90:85 ,82:77 I/O DRAM data bus. 97, 100 O SDRAM chip select [1:0]. DQM 101 O Data input/output mask. DSCK 102 O DRAM system clock to SDRAM. DRAS[2:0]# DB[15:0] DCS[1:0]# DCLK 105 I Clock input (bypass/test mode). 115:113, 110:106 O 8-bit YUV output. PCLK2XSCN 116 I/O 2X pixel clock. PCLKQSCN 117 I/O Pixel clock. VSYNC# 118 I/O Vertical sync. HSYNC# 119 I/O Horizontal sync. HD[15:0] 141:140, 137:131, 128:122 I/O Host data bus 159 I 169:165, 162:160 I/O Auxiliary ports. 170 O EPROM device output enable. 176:173 O EPROM chip select [3:0]. LD[15:0] 197:194,191:185,182:178 I/O EPROM device data bus. LWRLL# 198 O EPROM device low byte write enable. LWRHL# 199 O EPROM device high byte write enable. 37, 38, 41, 42, 146:142, 155:149, 158, 203:202 — YUV[7:0] VPP AUX[7:0] LOE# LCS[3:0]# NC 4 SAM0378-053001 5 V power supply. No connect. ESS Technology, Inc. ES4228/ES4227 PRODUCT BRIEF ES4227 PINOUT DSC_D7 81 HSYNC# 82 DSC_D6 83 VSYNC# 84 DSC_D5 85 YUV7 86 YUV6 87 YUV5 VSSAA VREF VREFM RSET COMP VSSAV VSSAV CDAC VCCAV VCCAV YDAC VSSAV VSSAV VDAC ACAP VCC AUX6 AUX5 AUX4 AUX3 XOUT VSS VCC XIN VSS NC VSS VCC PCLK 2XPCLK Figure 2 shows the ES4227 device pinout. 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 MIC1 49 48 MIC2 47 46 AOLAOR+ 88 45 44 43 YUV4 89 42 VCM VCC 90 VSSAA VSS YUV3 91 92 DSC_D4 93 41 40 39 38 YUV2 YUV1 96 DSC_D2 YUV0 97 98 DSC_D1 99 37 36 35 34 33 32 31 RBCK/SER_IN DSC_D3 94 95 100-pin PQFP AORVCCAA VREFP AUX15/IR AUX14 AUX13 AUX12/C2PO AUX11/IRQ AUX10 RSD/SEL_PLL0 VCC VSS NC NC NC NC VSS VSS RSTOUT# RWS/SEL_PLL1 TBCK TSD AUX9 TWS/SPLL_OUT AUX8 MCLK VCC MUTE AUX7 RESET# DCLK/EXT_CLK AUX2 DSC_S AUX1 DSC_D0 AUX0 DSC_C VCC NC NC NC 100 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 VSS VSS ES4227 AOL+ Figure 2 ES4227 Device Pinout ESS Technology, Inc. SAM0378-053001 5 ES4228/ES4227 PRODUCT BRIEF ES4227 PIN DESCRIPTION Table 2 lists the pin descriptions for the ES4227. Table 2 ES4227 Pin Descriptions List Name Number I/O VSS 1, 25:26, 31, 72, 75, 77, 91, 100 I VCC 5, 16, 32, 66, 73, 78, 90 I Definition Ground. 5.0V power supply. DSC_C 6 I AUX0 7 I/O General purpose I/O. Clock for programming to access internal registers. AUX1 9 I/O General purpose I/O. AUX2 11 I/O General purpose I/O. AUX3 70 I/O CD loader reset. AUX4 69 I/O Modem DSP reset. AUX5 68 I/O General purpose I/O. AUX6 67 I/O General purpose I/O. AUX7 14 I/O General purpose I/O. AUX8 18 I/O General purpose I/O. AUX9 20 I/O General purpose I/O. AUX10 34 I/O General purpose I/O. AUX11 35 I/O Interrupt output to ES4228. AUX12 36 I/O CD loader C2PO. AUX13 38 I/O General purpose I/O. AUX14 39 I/O Interrupt input from Modem DSP. 40 I/O IR interrupt Input. 8, 81, 83, 85, 93, 95, 97, 99 I/O AUX15 DSC_D[7:0] Data for programming to access internal registers. DSC_S 10 I Strobe for programming to access internal registers. DCLK 12 O Dual-purpose pin DCLK is the ES4228 clock. I External clock input during bypass PLL mode. RESET# 13 I Reset. MUTE 15 O Audio mute. MCLK 17 I Audio master clock. TWS 19 I Dual-purpose pin TWS is the transmit audio frame sync. O SPLL_OUT is the select PLL output. EXT_CLK SPLL_OUT TSD 21 I Transmit audio data input. TBCK 22 I Transmit audio bit clock. RWS 23 O Dual-purpose pin RWS is the receive audio frame sync. I Pins SEL_PLL[1:0] select the PLL clock frequency for the DCLK output. SEL_PLL1 0 0 1 1 SEL_PLL1 RSTOUT# NC 6 24 2:4,27:30,76 SAM0378-053001 O SEL_PLL0 DCLK 0 1 0 1 Bypass PLL (input mode) 27 MHz (output mode) Default 32.4 MHz (output mode) 40.5 MHz (output mode) Reset output (active-low). No connect. Do not connect to these pins. ESS Technology, Inc. ES4228/ES4227 PRODUCT BRIEF Table 2 ES4227 Pin Descriptions List (Continued) Name Number RSD 33 SEL_PLL0 RBCK I/O Definition O Dual-purpose pin. RSD is the receive audio data input. I SEL_PLL0 along with SEL_PLL1 select the PLL clock frequency for the DCLK output. See the table for pin number 23. O Dual-purpose pin. RBCK is the receive audio bit clock. I SER_IN is the serial input DSC mode. 0 - Parallel DSC mode. 1 - Serial DSC mode. SER_IN 37 VSSAA 41,51 I Audio Analog Ground. 42 I ADC Common Mode Reference (CMR) buffer output. CMR is approximately 2.25 V. Bypass to analog ground with 47 µF electrolytic in parallel with 0.1 µF. 43 I DAC and ADC maximum reference. Bypass to VCMR with 10 µF in parallel with 0.1 µF. Analog VCC, 5 V. VCM VREFP VCCAA 44 I AOR+, AOR- 45, 46 O AOL-, AOL+ Right channel output. 47, 48 O Left channel output. MIC2 49 I Microphone input 2. MIC1 50 I Microphone input 1. 52 I Internal resistor divider generates Common Mode Reference (CMR) voltage. Bypass to analog ground with 0.1 µF. 53 I DAC and ADC minimum reference. Bypass to VCMR with 10 µF in parallel with 0.1 µF. VREF VREFM RSET 54 I Full scale DAC current adjustment. COMP 55 I Compensation pin. VSSAV 56:57, 62:63 I Video analog ground CDAC 58 O Modulated chrominance output. VCCAV 59, 60 I 5.0V video power supply. YDAC 61 O Y luminance data bus for screen video port. VDAC 64 O Composite video output. ACAP 65 I Audio CAP XOUT 71 O 27 MHz crystal output. XIN 74 I 27 MHz crystal input. PCLK 79 I/O 13.5 MHz pixel clock. 2XPCLK 80 I/O Doubled 27 MHz pixel clock. HSYNC# 82 O Horizontal sync. VSYNC# 84 O Vertical sync. YUV[7:0] 86:89, 92, 94, 96, 98 I ESS Technology, Inc. YUV data bus for screen video port. SAM0378-053001 7 ES4228/ES4227 PRODUCT BRIEF SYSTEM BLOCK DIAGRAM Figure 3 shows the ES4228/ES4227 chipset implemented in a sample system block diagram. ROM or Flash ROM ES4227 Companion Chip Video ES2898 Modem ES4228 MPEG Processor ES2828 MC’97 Audio Audio DACs DSC PLL Interrupt Port SDRAM DAA/Telephone Line Interface Video Encoder CD Loader Front Panel / Keypad IR Input I/O Expansion Echo/Surround VCD/SVCD Option Remote Control Mic Inputs Figure 3 ES4228/ES4227 System Block Diagram ORDERING INFORMATION Part Number Description Package ES4228 MPEG Processor 208-pin PQFP ES4227 Video Encoder Companion Chip 100-pin PQFP No part of this publication may be reproduced, stored in a retrieval system, transmitted, or translated in any form or by any means, electronic, mechanical, manual, optical, or otherwise, without the prior written permission of ESS Technology, Inc. 8 MPEG is the Moving Picture Experts Group of the ISO/ IEC. References to MPEG in this document refer to the ISO/IEC JTC1 SC29 committee draft ISO 11172 dated January 9, 1992. ESS Technology, Inc. makes no representations or warranties regarding the content of this document. VideoDrive™, SmartScale™, SmartZoom™ and SmartStream™ are trademarks of ESS Technology, Inc. Dolby is a trademark of Dolby Laboratories, Inc. All specifications are subject to change without prior notice. H.261 refers to the International Standard described in recommendation H.261 of the CCITT Working Party 15-1. ESS Technology, Inc. assumes no responsibility for any errors contained herein. All other trademarks are trademarks of their respective companies and are used for identification purposes only. (P) U.S. Patent 4,384,169 and others, other patents pending. All other trademarks are owned by their respective holders and are used for identification purposes only. © 2000—2001 ESS Technology, Inc. All rights reserved. SAM0378-053001