0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
W541C240

W541C240

  • 厂商:

    WINBOND(华邦)

  • 封装:

  • 描述:

    W541C240 - 4-BIT MICROCONTROLLER - Winbond

  • 数据手册
  • 价格&库存
W541C240 数据手册
W541C240 Data Sheet 4-BIT MICROCONTROLLER Table of Contents1. 2. 3. 4. 5. 6. GENERAL DESCRIPTION ......................................................................................................... 2 FEATURES ................................................................................................................................. 2 PIN CONFIGURATION ............................................................................................................... 4 BLOCK DIAGRAM ...................................................................................................................... 5 PAD 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 REVISION HISTORY ................................................................................................................ 10 -1- Publication Release Date: May 30, 2003 Revision A1 W541C240 1. GENERAL DESCRIPTION The W541C240 is a high-performance 4-bit microcontroller (µC) that provides an LCD driver.. The device contains a 4-bit ALU, a 8-bit timers, a divider, a 24 × 4 LCD driver, and three 4-bit I/O ports. There are also three interrupt sources and 8-level subroutine nesting for interrupt applications. The W541C240 operates on low voltage and very low current and has two power reduction modes, hold mode and stop mode, which help to minimize power dissipation. The W541C240 is suitable for caculators, simple watches and clocks, multiple I/O products, keyboard controllers, speech synthesis LSI controllers, and other products. 2. FEATURES • Operating voltage: 2.4V to 5.5V (LCD drive voltage: 3.0V or 4.5V) • Crystal/RC oscillation circuit selectable by code option for system clock • Crystal oscillator: 32.768 KHz only • RC oscillator: 1 MHz (maximum) − High-frequency (400 KHz to 1 MHz) or low-frequency (below 400 KHz) oscillation option must be determined by the code option. − In RC mode, attention must be paid to the high/low frequency oscillation option, because the LCD driver frequency is related to this option. • Memory − 2048 × 16 bit program ROM (shared with 2K × 4 bit look-up table) − 64 × 4 bit data RAM (shared with 16 working registers) − 24 × 4 LCD data RAM • 13 input/output pins − Ports for input only: 1 port/4 pins − Input/output ports: 2 ports/8 pins − 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) • Three types of interrupts − Two internal interrupts (Divider 0, Timer 1) − One external interrupts (Port RC) -2- W541C240 • LCD driver output − 24 segment × 4 common − Static, 1/2 duty (1/2 bias), 1/3 duty (1/2 or 1/3 bias), 1/4 duty (1/3 bias) driving mode can be selected • 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 • One built-in 8-bit programmable countdown timers − Timer 1: Offers auto-reload function and one of two internal clock frequencies (FOSC or FOSC/64) can be selected (output through MFP pin) • Built-in 18/14-bit watchdog timer selectable for system reset • Powerful instruction set: 100 instructions • 8-level subroutine (include interrupt) nesting • Up to 4 µS instruction cycle (with 1 MHz operating frequency) • Chip On Board available / Packaged in 64-pin QFP -3- Publication Release Date: May 30, 2003 Revision A1 W541C240 3. PIN CONFIGURATION VVV X OVDD DDD X I N N N U DH H D D D N CCCT D1 2 1 2 3 S E G 2 3 S E G 2 2 S E G 2 1 S S E E G G 2NNN1 0CCC9 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 RES MFP RA0 RA1 RA2 RA3 RB0 RB1 RB2 RB3 RC0 RC1 RC2 52 53 54 55 56 57 58 59 60 61 62 63 64 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 32 31 30 29 28 27 26 25 24 23 22 21 20 SEG18 SEG17 SEG16 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 SEG7 SEG6 RNNNNVCCC CCCCCSOOO 3 SMMM 321 C O M 0 S E G 0 S E G 1 S E G 2 S E G 3 SNNNS EC CCE G G 4 5 -4- W541C240 4. BLOCK DIAGRAM SEG0 to SEG23 COM0 to COM3 VDD1-3 DH1-2 RAM (64*4) LCD DRIVER PORT RA ROM (2048*16) (look_up table 2K*4) +1(+2) RA0-3 ACC ALU PORT RB RB0-3 PORT RC PC Central Control Unit IEF HEF EVF PM0 MR1 PEF SEF PR RC0-3 STACK (8 Levels) HCF PSR0 PM1 . . . . SEL MUL MFP Timer 1 (8 Bit) Modulation Frequency Pulse VDD VSS Divider 0 (14 Bit) Timing Generator RES XOUT XIN -5- Publication Release Date: May 30, 2003 Revision A1 W541C240 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. XOUT RA0−RA3 RB0−RB3 RC0−RC3 MFP RES O 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). Input/Output port. Input/output mode specified by port mode 2 register (PM2). 4-bit port for input only. Each pin has an independent interrupt capability. Output pin only. This pin can output modulating or nonmodulating frequency, or Timer 1 clock output specified by mode register 1 (MR1). System reset pin with pull-high resistor. LCD segment output pins. LCD common signal output pins. Static COM0 Used Not Used Not Used Not Used 1/2 Duty Used Used Not Used Not Used 1/3 Duty Used Used Used Not Used 1/4 Duty Used Used Used Used I/O I/O I O I O SEG0−SEG23 COM0−COM3 O COM1 COM2 COM3 The LCD alternating frequency can be selected by code option. DH1, DH2 VDD1, VDD2, VDD3 VDD VSS I I I I Connection terminals for voltage doubler (halver) capacitor. Positive (+) supply voltage terminal. Refer to Functional Description. Positive power supply (+). Negative power supply (-). -6- W541C240 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 (VDD−VSS = 3.0V, FOSC. = 32.768 KHz, TA = 25° C; unless otherwise specified) PARAMETER 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 Output Low Voltage Port RA, RB Output high Voltage LCD Supply Current SYM. VDD IOP1 IOP2 IHM1 IHM2 ISM1 ISM2 VIL VIH VML VMH VABL VABH ILCD 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 = 3.5 mA IOH = -3.5 mA IOL = 2.0 mA IOH = -2.0 mA All Seg. On MIN. 2.4 VSS 0.7 VDD 2.4 2.4 - TYP. 8 35 4 16 0.1 0.1 - MAX. 5.5 15 60 6 40 2 2 0.3 VDD VDD 0.4 0.4 6 UNIT V µA µA µA µA µA µA V V V V V V µA -7- Publication Release Date: May 30, 2003 Revision A1 W541C240 DC Characteristics, continued PARAMETER SEG0−SEG23 Sink Current (work as LCD output pins) SEG0−SEG23 Drive Current (work as LCD output pins) Input Port Pull-up Resistor RES Pull-up Resistor SYM. IOL IOH RC RRES CONDITIONS VOL = 0.4V VLCD = 0.0V VOH = 2.4V VLCD = 3.0V Port RC - MIN. 4 15 100 20 TYP. 350 100 MAX. 1000 500 UNIT µA µA KΩ KΩ 6.3 AC Characteristics (VDD−VSS = 3.0V, TA = 25° C; unless otherwise specified) PARAMETER Op. Frequency SYM. FOSC CONDITIONS RC type Crystal type (Option lowspeed type) MIN. 1 TYP. 32.768 4/FOSC - MAX. 1000 10 - UNIT KHz % mS µS Frequency Deviation by Voltage Drop for RC Oscillator Instruction Cycle Time Reset Active Width ∆f f TI TRAW f(3V) − f(2.4V) f(3V) One machine cycle FOSC = 32.768 KHz -8- W541C240 7. APPLICATION CIRCUIT Vcc VDD RA0 Output Signal RA3 RB0 RB1 RB2 RB3 RC0 RC1 RC2 RC3 COM0 COM3 SEG0 SEG23 DH1 DH2 VDD1 VDD2 VDD3 LCD PANEL (1/3 Bias 1/4 Duty) Connect to capacitor and VDD to generate LCD voltage RES Vcc XOUT or XIN VSS MFP -9- Publication Release Date: May 30, 2003 Revision A1 W541C240 8. REVISION HISTORY REVISION A1 DATE May 30, 2003 Initial Issued DESCRIPTION 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. - 10 -
W541C240 价格&库存

很抱歉,暂时无法提供与“W541C240”相匹配的价格&库存,您可以联系我们找货

免费人工找货