|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
W541C20X Data Sheet 4-BIT MICROCONTROLLER Table of Contents1. 2. 3. 4. 5. 6. GENERAL DESCRIPTION..........................................................................................................................2 FEATURES ....................................................................................................................................................2 BLOCK DIAGRAM ........................................................................................................................................4 PIN CONFIGURATIONS .............................................................................................................................5 PIN DESCRIPTION ......................................................................................................................................6 ELECTRICAL CHARACTERISTICS ..........................................................................................................7 6.1 6.2 6.3 7. 8. Absolute Maximum Ratings.............................................................................................................7 DC Characteristics ............................................................................................................................7 AC Characteristics ............................................................................................................................8 APPLICATION CIRCUIT..............................................................................................................................9 PACKAGE DIMENSIONS..........................................................................................................................10 8.1 8.2 8.3 8.4 8.5 18-Lead PDIP-300mil .....................................................................................................................10 20-Lead PDIP ..................................................................................................................................11 28-Lead P-DIP Skinny....................................................................................................................12 20-Lead SOP-300mil ......................................................................................................................13 28-Lead SOP-300mil ......................................................................................................................14 9. REVISION HISTORY .................................................................................................................................15 -1- Publication Release Date: May 29, 2003 Revision A4 W541C20X 1. GENERAL DESCRIPTION The W541C20X is fully compatible with W741C20X in the terms of pin assignment and IC functon. It is a high-performance 4-bit microcontroller (C) that operates on very low current. The device contains a 4-bit ALU, two 8-bit timers, a divider, a serial port, and five 4-bit I/O ports (including 3 output ports for LED driving). There are also seven interrupt sources and 8-level subroutine nesting for interrupt applications. The W541C20X has two power reduction modes, hold mode and stop mode, which help to minimize power dissipation. The W541C20X is suitable for remote controllers, toy controllers, keyboard controllers, speech synthesis LSI controllers, and other products. 2. FEATURES * Operating voltage: 2.4V to 5.5V * Single system clock - Oscillation frequency up to 4 MHz , Crystal or RC oscillator is selected by mask code option - High-frequency (400 KHz to 4 MHz) or low-frequency (32.768 KHz) oscillation is delected by mask code option * Memory -2048 x 16 bit program ROM (including 2K x 4 bit look-up table) -128 x 4 bit data RAM (including 16 working registers) * 21 input/output pins -Input/output ports: 4 ports/16 pins - Serial input/output port: 1 port /4 pins (high sink current for LED driving) - MFP output pin: 1 pin (MFP) -Do not be floating when it is as input or output open-drain (NMOS type). * Power-down mode -Hold function: no operation (except for oscillator) -Stop function: no operation (including oscillator) * Seven types of interrupts -Five internal interrupts (Divider 0, Timer 0, Timer 1, and Serial I/O) -Two external interrupts (Port RC and INT pin) * MFP output pin -Output is software selectable as modulating or nonmodulating frequency -Works as frequency output specified by Timer 1 * Built-in 14-bit clock frequency divider circuit -2- W541C20X * 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: Offers auto-reload function, and one of two internal clock frequencies (FOSC or FOSC/64) can be selected, or falling edge of pin RC.0 can be selected (output through MFP pin) * Built-in 18/14-bit watchdog timer selectable for system reset * Powerful instruction set: 118 instructions * 8-level subroutine (include interrupt) nesting * One serial transmission/receiver port specified by software * Up to 1 S instruction cycle (with 4 MHz operating frequency) * Packaged in 18-pin, 20-pin, 28-pin PDIP and 20-pin, 28-pin SOP -3- Publication Release Date: May 29, 2003 Revision A4 W541C20X 3. BLOCK DIAGRAM RAM (128*4) RA0 to 3 PORT RA ROM (2048*16) (look_up table 2K*4) +1(+2) ACC ALU PORT RB RB0 to 3 PORT RC PC Central Control Unit IEF HEF EVF MR0 PEF SEF PM0 HCF PR RC0 to 3 PORT RD RD0 to 3 STACK (8 Levels) PSR0 PSR1 PSR2 PORT RT SEL . . . RE0 to 3 (RE0/DOUT, RE1/CLKO, RE2/DIN, RE3/CLKI) Serial I/O MUX Timer 0 (8-bit) Timer 1 (8-bit) Modulation Frequency Pulse SEL MUX MFP Watchdog Timer (4-bit) Divider 0 (14-bit) VDD VSS Timing Generator INT RES XIN XOUT -4- W541C20X 4. PIN CONFIGURATIONS W541C202/C205 RA2 RA3 INT RES RA1 RA0 XIN XOUT VDD RC3 RC2 RC1 RC0 VSS RE0 RE1 RE2 RE3 RB0 RB1 RB2 RB3 NC 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 15 RA1 RA0 XIN XOUT VDD RD3 RD2 RD1 RD0 RC3 RC2 RC1 RC0 MFP W541C201 RA2 RA3 INT RES VSS RB0 RB1 RB2 RB3 1 2 3 4 5 6 7 8 9 18 17 16 15 14 13 12 11 10 18-PDIP(300 mil) 28 SKINNY(300 mil), 28 SOP W541C203 RA2 RA3 INT RES VSS VSS RB0 RB1 RB2 RB3 1 2 3 4 5 6 7 8 9 10 20 19 18 17 16 15 14 13 12 11 RA1 RA0 XIN XOUT VDD VDD RC3 RC2 RC1 RC0 RA2 RA3 INT RES VSS VSS RB0 RB1 RB2 RB3 W541C204 1 2 3 4 5 6 7 8 9 10 20 19 18 17 16 15 14 13 12 11 RA1 RA0 XIN XOUT VDD VDD RC3 RC2 RC1 RC0 20-PDIP(300 mil) 20 SOP -5- Publication Release Date: May 29, 2003 Revision A4 W541C20X 5. PIN DESCRIPTION SYMBOL XIN I/O I FUNCTION Input pin for oscillator. Connected to crystal or resistor to generate system clock by code option. External 10~20pF capacitor uses to get accurate freq in crystal mode. Output pin for oscillator. Connected to crystal or resistor to generate system clock by code option. 20pF capacitor is built in internal for crystal mode. Input/Output port. Input/output mode specified by port mode 1 register (PM1). When used as output port, can provide high sink current for driving LED. Input/Output port. Input/output mode specified by port mode 2 register (PM2). When used as output port, can provide high sink current for driving LED. Input/Output port. Input/output mode specified by port mode 4 register (PM4). Each pin has an independent interrupt capability in input mode. And build-in schmitt trigger. Input/Output port. Input/output mode specified by port mode 5 register (PM5). Special input/output port. This port can be configured by software to act as the output of internal port RT or the serial I/O port. When used as output port, can provide high sink current for driving LED. Output pin only. This pin can output modulating or nonmodulating frequency, or Timer 1 clock output specified by mode register 1 (MR1). External interrupt pin with pull-high resistor. System reset pin with pull-high resistor. Positive power supply (+). Negative power supply (-). XOUT O RA0-RA3 I/O RB0-RB3 I/O RC0-RC3 RD0-RD3 RE0/DOUT RE1/CLKO RE2/DIN RE3/CLKI MFP INT RES I/O I/O I/O O I I I I VDD VSS -6- W541C20X 6. ELECTRICAL CHARACTERISTICS 6.1 Absolute Maximum Ratings PARAMETER Supply Voltage to Ground Potential Applied Input/Output Voltage Power Dissipation Ambient Operating Temperature Storage Temperature RATING -0.3 to +7.0 -0.3 to +7.0 120 0 to +70 -55 to +150 UNIT V V mW C C Note: Exposure to conditions beyond those listed under Absolute Maximum Ratings may adversely affect the life and reliability of the device. 6.2 DC Characteristics PARAMETER SYM. VDD IOP1 IOP2 IHM1 IHM2 ISM1 ISM2 VIL VIH VML VMH IABL IABH VCDL VCDH CONDITIONS No load (Ext-V) No load (Ext-V) Hold mode No load (Ext-V) Hold mode No load (Ext-V) Stop mode No load (Ext-V) Stop mode No load (Ext-V) IOL = 2.7 mA IOH = -3.5 mA VOL = 0.9V VOH = 2.4V IOL = 2.0 mA IOH = -2.0 mA MIN. 2.4 VSS 0.7 VDD 2.4 7.5 0.4 2.4 TYP. 8 35 4 16 0.1 0.1 1.2 MAX. 5.5 20 65 6 40 2 2 0.3 VDD VDD 0.4 0.4 UNIT V A A A A A A V V V V mA mA V V (VDD-VSS = 3.0V, Fosc. = 32.768 KHz, Ta = 25 C; unless otherwise specified) Op. Voltage Op. Current (Crystal type) Op. Current (RC type) Hold Current (Crystal type) Hold Current (RC type) Stop Current (Crystal type) Stop Current (RC type) Input Low Voltage Input High Voltage MFP Output Low Voltage MFP Output High Voltage Port RA, RB Sink Current Port RA, RB Source Current Port RC, RD Output Low Voltage Port RC, RD Output High Voltage -7- Publication Release Date: May 29, 2003 Revision A4 W541C20X 6.2 DC Characteristics, continued PARAMETER Port RE Sink Current Port RE Source Current INT Pull-up Resistor SYM. IEL IEH RINT RDIN RRES CONDITIONS VOL = 0.9V VOH = 2.4V RE.2 used as serial input pin - MIN. 7.5 0.4 50 50 20 TYP. 1.2 250 250 100 MAX. 1000 1000 500 UNIT mA mA K K K DIN Pin Pull-up Resistor RES Pull-up Resistor 6.3 AC Characteristics PARAMETER SYM. FOSC CONDITIONS RC type Crystal type 1 (Option low speed type) Crystal type 2 (Option high speed type) f(3V) - f(2.4V) f(3V) One machine cycle FOSC = 32.768 KHz FOSC = 32.768 KHz 200 200 1 1 4/FOSC mS nS nS S S MIN. 400 TYP. 32.768 MAX. 4000 3580 10 % UNIT KHz (VDD-VSS = 3.0 V, Ta = 25 C; unless otherwise specified) Op. Frequency Frequency Deviation by Voltage drop for RC Oscillator Instruction Cycle Time Serial Port Data Ready Time Serial Port Data Hold Time Reset Active Width Interrupt Active Width f f TI TDR TDH TRAW TIAW -8- W541C20X 7. APPLICATION CIRCUIT Vcc VDD RA0 Output Signal RA3 Vcc RB0 RB1 RB2 RB3 RC0 RC1 RC2 RC3 Vcc RD0 RD1 RD2 RD3 Vcc INT RES XOUT or XIN *1(option) VSS RE0 RE1 RE2 RE3 MFP Vcc Note : *1 is for accuracy -9- Publication Release Date: May 29, 2003 Revision A4 W541C20X 8. PACKAGE DIMENSIONS 8.1 18-Lead PDIP-300mil D 18 10 E 1 1 9 S AA L B B1 e1 2 E c A 1 Base Plane Seating Plane eA Dimension in inches Symbol Dimension in mm Min. Nom 0.010 0.125 0.016 0.058 0.008 0.130 0.018 0.060 0.010 0.900 0.290 0.245 0.090 0.120 0 0.335 0.355 0.300 0.250 0.100 0.130 Max. 0.175 Min. Nom 0.25 Max. 4.45 A A1 A2 B B1 c D E E1 e1 L eA S 0.135 0.022 0.064 0.014 0.910 0.310 0.255 0.110 0.140 15 0.375 0.055 3.18 0.41 1.47 0.20 3.30 0.46 1.52 0.25 22.86 3.43 0.56 1.63 0.36 23.11 7.87 6.48 2.79 3.56 15 7.37 6.22 2.29 3.05 0 8.51 7.62 6.35 2.54 3.30 9.02 9.53 1.40 - 10 - W541C20X 8.2 20-Lead PDIP D 20 11 E 1 1 10 S AA L B B1 e1 2 E c A 1 Base Plane Seating Plane eA Symbol Dimension in inches Dimension in mm Min. 0.010 0.125 0.016 0.058 0.008 Nom Max. 0.175 Min. Nom 0.25 Max. 4.45 A A1 A2 B B1 c D E E1 e1 L 0.130 0.018 0.060 0.010 1.026 0.135 0.022 0.064 0.014 1.040 0.310 0.255 0.110 0.140 15 3.18 0.41 1.47 0.20 3.30 0.46 1.52 0.25 20.06 3.43 0.56 1.63 0.36 26.42 7.87 6.48 2.79 3.56 15 0.290 0.245 0.090 0.120 0 0.335 0.300 0.250 0.100 0.130 7.37 6.22 2.29 3.05 0 8.51 7.62 6.35 2.54 3.30 eA S 0.355 0.375 0.075 9.02 9.53 1.91 - 11 - Publication Release Date: May 29, 2003 Revision A4 W541C20X 8.3 28-Lead P-DIP Skinny D 28 15 E1 1 14 S E Base Plane A A2 L B B1 e1 A1 c Mounting Plane a eA Symbol Dimension in Inches Dimension in mm Min. Nom Max. 0.175 Min. Nom Max. 4.45 A A1 A2 B B1 c D E E1 e1 L a 0.010 0.125 0.016 0.058 0.008 0.130 0.018 0.060 0.010 1.388 0.300 0.310 0.25 0.135 0.022 0.064 0.014 1.400 0.320 7.62 3.18 0.41 1.47 0.20 3.30 0.46 1.52 0.25 35.26 7.87 3.43 0.56 1.63 0.36 35.56 8.13 0.283 0.090 0.288 0.100 0.293 0.110 7.19 2.29 7.32 2.54 7.44 2.79 0.120 0 0.330 0.130 0.140 15 3.05 0 8.38 3.30 3.56 15 eA S 0.350 0.370 0.055 8.89 9.40 1.40 - 12 - W541C20X 8.4 20-Lead SOP-300mil 20 11 c E HE L 1 D 10 0.25 O A Y SEATING PLANE b e A1 GAUGE PLANE Control demensions are in milmeters . Symbol A A1 b c E D e HE Y L q Dimension in mm Min. 2.35 0.10 0.33 0.23 Max. 2.65 0.30 0.51 Dimension in inches Min. 0.093 0.004 0.013 0.009 0.291 0.496 Max. 0.104 0.012 0.020 0.32 7.40 7.60 13.00 12.60 1.27 BSC 10.65 10.00 0.10 1.27 0.40 0 8 0.013 0.299 0.512 0.050 BSC 0.419 0.394 0.004 0.016 0.050 0 8 - 13 - Publication Release Date: May 29, 2003 Revision A4 W541C20X 8.5 28-Lead SOP-300mil 28 15 c E HE L 1 D 14 0.25 O A Y SEATING PLANE b e A1 GAUGE PLANE Control demensions are in milmeters . Symbol A A1 b c E D e HE Y L q Dimension in mm Min. 2.35 0.10 0.33 0.23 Max. 2.65 0.30 0.51 Dimension in inches Min. Max. 0.093 0.104 0.012 0.004 0.013 0.020 0.009 0.013 0.291 0.299 0.697 0.713 0.050 BSC 0.394 0.419 0.004 0.016 0.050 0 8 0.32 7.40 7.60 17.70 18.10 1.27 BSC 10.65 10.00 0.10 1.27 0.40 0 8 - 14 - W541C20X 9. REVISION HISTORY VERSION A2 A3 A4 DATE May 29, 2003 DESCRIPTION Note: Update Hi freq range from 4.19 3.58MHz (C200) Note: RC is built-in schmitt trigger Note: Do not be floating when it is as input or output open-drain (NMOS type) Headquarters No. 4, Creation Rd. III, Science-Based Industrial Park, Hsinchu, Taiwan TEL: 886-3-5770066 FAX: 886-3-5665577 http://www.winbond.com.tw/ Winbond Electronics Corporation America 2727 North First Street, San Jose, CA 95134, U.S.A. TEL: 1-408-9436666 FAX: 1-408-5441798 Winbond Electronics (Shanghai) Ltd. 27F, 2299 Yan An W. Rd. Shanghai, 200336 China TEL: 86-21-62365999 FAX: 86-21-62365998 Taipei Office 9F, No.480, Rueiguang Rd., Neihu District, Taipei, 114, Taiwan, R.O.C. TEL: 886-2-8177-7168 FAX: 886-2-8751-3579 Winbond Electronics Corporation Japan 7F Daini-ueno BLDG, 3-7-18 Shinyokohama Kohoku-ku, Yokohama, 222-0033 TEL: 81-45-4781881 FAX: 81-45-4781800 Winbond Electronics (H.K.) Ltd. Unit 9-15, 22F, Millennium City, No. 378 Kwun Tong Rd., Kowloon, Hong Kong TEL: 852-27513100 FAX: 852-27552064 Please note that all data and specifications are subject to change without notice. All the trade marks of products and companies mentioned in this data sheet belong to their respective owners. - 15 - Publication Release Date: May 29, 2003 Revision A4 |
Price & Availability of W541C200 |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |