W742S82A DATA SHEET 4-BIT TELEPHONE CONTROLLER Table of Contents1. GENERAL DESCRIPTION ......................................................................................................... 2 2. FEATURES ................................................................................................................................. 3 3. PIN CONFIGURATION ............................................................................................................... 5 4. PIN DESCRIPTION..................................................................................................................... 6 5. BLOCK DIAGRAM ...................................................................................................................... 7 6. ABSOLUTE MAXIMUM RATINGS ............................................................................................. 8 7. DC CHARACTERISTICS............................................................................................................ 9 8. AC CHARACTERISTICS .......................................................................................................... 11 9. VERSION HISTORY ................................................................................................................. 11 -1- Publication Release Date: December 2006 Revision A2 W742S82A DATA SHEET 1. GENERAL DESCRIPTION The W742S82A is a high-performance 4-bit micro controller (C) that provides an LCD driver. The device contains a 4-bit ALU, two 8-bit timers, two dividers (for two oscillators) in dual-clock operation, a 40 x 4 LCD driver, six 4-bit I/O ports (including 1 output port for LED driving), and one channel DTMF generator. There are also five interrupt sources and 16-levels of subroutine nesting for interrupt applications. The W742S82A operates on very low current and has two power reduction modes, are the dual-clock slow operation and STOP mode, which help to minimize power dissipation. -2- W742S82A DATA SHEET 2. FEATURES * Operating voltage: 2.4V - 5.5V * Dual-clock operation or single-clock operation (By option) * Main-oscillator - Connect to 3.58 MHz crystal or 400 KHz that can be selected by option code - Crystal or RC oscillator can be selected by code option * Sub-oscillator - Connect to 32768 Hz crystal only * Memory - 16384 x 16 bits program MASK ROM (including 64K x 4 bit look-up table) - 2048 x 4 bits data RAM (including 16 nibbles x 16 pages working registers) - 40 x 4 LCD data RAM * 24 input/output pins - Port for input only: 1 ports/4 pins (RC) - Input/output ports: 3 ports/12 pins (RA, RB & RD) - High sink current output port for LED driving: 1 port /4 pins (RE) - Port for output only: 1 port/ 4 pins (RF) * Power-down mode - Hold function: no operation (main-oscillator and sub-oscillator still operate) - Stop function: no operation (main-oscillator and sub-oscillator are stopped) - Dual-clock slow operation mode: the system will operate by the sub-oscillator (FOSC = Fs and Fm is stopped) * Five types of interrupts - Four internal interrupts (Divider0, Divider1, Timer 0, Timer 1) - One external interrupts (RC Port) -3- Publication Release Date: December 2006 Revision A2 W742S82A DATA SHEET * LCD driver output - 40 segments x 4 commons - 1/4 duty 1/3 bias driving mode - Clock source should be the sub-oscillator clock in the dual-clock operation mode * MFP output pin - Output is software selectable as modulating or non-modulating frequency - Works as frequency output specified by Timer 1 * DTMF output pin - Output is one channel Dual Tone Multi-Frequency signal for dialing * Two built-in 14-bit frequency dividers - Divider0: the clock source is the output of the main-oscillator - Divider1: the clock source is the output of the sub-oscillator (dual-clock mode) or the Fosc/128 (single-clock mode) * Two built-in 8-bit programmable countdown timers - Timer 0: one of two internal clock frequencies (FOSC/4 or FOSC/1024) can be selected - Timer 1: with auto-reload function and one of three internal clock frequencies (FOSC, FOSC/64 or Fs) can be selected by MR1 register; and the specified frequency can be delivered to MFP pin * Built-in 18/15-bit watchdog timer selectable for system reset; enable the watchdog timer or not is determined by code option * Powerful instruction set * 16-levels subroutine (include interrupt) nesting -4- W742S82A DATA SHEET 3. PIN CONFIGURATION -5- Publication Release Date: December 2006 Revision A2 W742S82A DATA SHEET 4. PIN DESCRIPTION SYMBOL I/O FUNCTION XIN2 I Input pin for sub-oscillator. Connected to 32.768KHz crystal only. XOUT2 O Output pin for sub-oscillator with internal oscillation capacitor. Connected to 32.768KHz crystal only. XIN1 I Input pin for main-oscillator. Connected to 3.58MHz or 400KHz crystal or RC to generate system clock. XOUT1 O Output pin for main-oscillator. Connected to 3.58MHz or 400KHz crystal or RC to generate system clock. RA0-RA3 I/O Input/Output port. Input/output mode specified by port mode 1 register (PM1). RB0-RB3 I/O Input/Output port. Input/output mode specified by port mode 2 registers (PM2). RC0-RC3 I RD0-RD3 I/O Input/Output port. Input/output mode specified by port mode 5 registers (PM5). RE0-RE3 O Output port only. With high sink current capacity for the LED application. RF0-RF3 O Output port only. 4-bit port for input only. Each pin has an independent interrupt capability. Output pin only. This pin can output modulating or non-modulating frequency, or Timer 1 specified frequency. It can be selected by bit 0 of BUZCR (BUZCR.0). MFP O DTMF O This pin can output dual-tone multi-frequency signal for dialing. RES I System reset pin with pull-high resistor. SEG0SEG39 O LCD segment output pins. COM0COM3 O LCD common signal output pins. The LCD alternating frequency can be selected by code option. DH1, DH2 I Connection terminals for voltage double (halve) capacitor. VDD1 VDD2 I VDD I Positive power supply (+). VSS I Negative power supply (-). VPP I This pin has the built-in pull-low resistor. MODE I This pin has the built-in pull-low resistor. DATA I/O This pin has the built-in pull-low resistor. Positive (+) supply voltage terminal. Refer to Functional Description. -6- W742S82A DATA SHEET 5. BLOCK DIAGRAM -7- Publication Release Date: December 2006 Revision A2 W742S82A DATA SHEET 6. ABSOLUTE MAXIMUM RATINGS PARAMETER RATING UNIT Supply Voltage to Ground Potential -0.3 to +7.0 V Applied Input/Output Voltage -0.3 to +7.0 V 120 mW 0 to +70 C -55 to +150 C Power Dissipation Ambient Operating Temperature Storage Temperature Note: Exposure to conditions beyond those listed under Absolute Maximum Ratings may adversely affect the life and reliability of the device. -8- W742S82A DATA SHEET 7. DC CHARACTERISTICS (VDD-VSS = 3.0 V, Fm = 3.58MHz, Fs = 32.768 KHz, Ta = 25 C, LCD on; unless otherwise specified) PARAMETER Op. Voltage SYM. VDD CONDITIONS - MIN . TYP. 2.4 - MAX. UNIT 5.5 V 2.5 mA A No load (Ext-V) Op. Current (Crystal type) IOP1 In dual-clock normal operation 0.9 - No load (Ext-V) Op. Current (Crystal type) IOP3 In dual-clock slow operation and Fm is stopped - 10 20 - - 450 - 5 10 A - - 1 A Hold mode No load (Ext-V) Hold Current (Crystal type) Hold Current (Crystal type) Stop Current (Crystal type) IHM1 In dual-clock normal operation A Hold mode No load (Ext-V) IHM3 In dual-clock slow operation and Fm is stopped Stop mode No load (Ext-V) ISM1 In dual-clock normal operation Input Low Voltage VIL - VSS - 0.3 VDD V Input High Voltage VIH - 0.7 VDD - VDD V MFP Output Low Voltage VML IOL = 3.5 mA - - 0.4 V MFP Output High Voltage VMH IOH = 3.5 mA 2.4 - - V Port RA, RB, RD and RF Output Low Voltage VABL IOL = 2.0 mA - - 0.4 V Port RA, RB, RD and RF Output high Voltage VABH IOH = 2.0 mA 2.4 - - V LCD Supply Current ILCD - - 6 A SEG0-SEG39 Sink Current IOL1 VOL = 0.4V VLCD = 0.0V 90 - - A IOH1 VOH = 2.4V VLCD = 3.0V 90 - - A (Used as LCD output) SEG0-SEG39 Drive Current (Used as LCD output) All Seg. ON -9- Publication Release Date: December 2006 Revision A2 W742S82A DATA SHEET DC Characteristics, continued PARAMETER SYM. CONDITIONS MIN. TYP. MAX. UNIT Port RE Sink Current IEL VOL = 0.9V 10 - - mA Port RE Source Current IEH VOH = 2.4V 0.4 1.2 - mA DTMF Output DC level VTDC RL = 5K, VDD = 2.5 to 3.8V 1.1 - 2.8 V DTMF Distortion THD RL = 5K, VDD = 2.5 to 3.8V - -30 -23 dB DTMF Output Voltage VTO Low group, RL = 5K 130 150 170 mVr ms 1 2 3 dB Pre-emphasis Col/Row DTMF Output Sink Current ITL VTO = 0.5V 0.2 - - mA Pull-up Resistor RC Port RC 150 250 350 K 20 100 500 K RES Pull-up Resistor RRES - - 10 - W742S82A DATA SHEET 8. AC CHARACTERISTICS (VDD-VSS = 3.0 V, Fm = 3.58MHz, Fs = 32.768 KHz, Ta = 25 C, LCD on; unless otherwise specified) PARAMETER SYM. CONDITIONS MIN. TYP. MAX. UNIT Op. Frequency FOSC Crystal type - 3.58 - MHz Instruction Cycle Time TI One machine cycle - 4/FOSC - S Reset Active Width TRAW FOSC = 32.768 KHz 1 - - S Interrupt Active Width TIAW FOSC = 32.768 KHz 1 - - S 9. VERSION HISTORY VERSION DATE DESCRIPTION A1 Sep. 19, 2006 Preliminary Release A2 Dec. 25, 2006 Formal Release - 11 - Publication Release Date: December 2006 Revision A2 W742S82A DATA SHEET Important Notice Winbond products are not designed, intended, authorized or warranted for use as components in systems or equipment intended for surgical implantation, atomic energy control instruments, airplane or spaceship instruments, transportation instruments, traffic signal instruments, combustion control instruments, or for other applications intended to support or sustain life. Further more, Winbond products are not intended for applications wherein failure of Winbond products could result or lead to a situation wherein personal injury, death or severe property or environmental damage could occur. Winbond customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Winbond for any damages resulting from such improper use or sales. - 12 -