![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
W541C240 data sheet 4-bit microcontroller publication release date: may 30, 2003 - 1 - revision a1 table of contents- 1. general des cription ......................................................................................................... 2 2. features ....................................................................................................................... .......... 2 3. pin configurati on .............................................................................................................. .4 4. block di agram .................................................................................................................. .... 5 5. pad descri ption ................................................................................................................... 6 6. electrical chara cteristics ........................................................................................... 7 6.1 absolute maxi mum rati ngs .......................................................................................... 7 6.2 dc characteri stics ........................................................................................................ 7 6.3 ac characte ristics ......................................................................................................... 8 7. application circui t ............................................................................................................ .9 8. revision history ............................................................................................................... .10
W541C240 - 2 - 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-leve l subroutine nesting for interrupt applications. the W541C240 operates on low voltage and very low cu rrent and has two power reduction modes, hold mode and stop mode, which help to minimize pow er dissipation. the W541C240 is suitable for caculators, simple watches and clocks, multiple i/o products, keyboard cont rollers, 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 i nput 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) W541C240 publication release date: may 30, 2003 - 3 - revision a1 ? 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 (f osc or f osc /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 W541C240 - 4 - 3. pin configuration 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 123 45 678 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 52 53 54 55 56 57 58 59 60 61 rc2 rc1 rc0 rb3 rb2 rb1 rb0 ra2 v d i n d d h 1 d h 2 seg18 seg17 seg16 seg15 seg14 seg13 seg12 seg11 seg10 v s s c o m c o m c o m c o m s e g s e g s e g s e g s e g s e g 3 2 1 00 1 2 3 4 5 v d d 1 seg9 seg8 seg7 seg6 ra1 ra3 62 63 64 n c n c x o u t x s e g s e g s e g s e g s e g 2 2 22 1 9 0 1 2 3 3 n c n c n c n c r c v d d 3 v d d 2 mfp ra0 n c n c n c n c n c n c n c res W541C240 publ i c at i on rel e ase dat e : may 30, 2003 - 5 - revi si on a1 4. block diagram lcd driver pc stack (8 levels) ram (64*4) alu timing generator port ra port rc modulation frequency pulse seg0 to seg23 com0 to com3 ra0-3 rc0-3 mfp xin xout vdd vss vdd1-3 dh1-2 rom (2048*16) (look_up table 2k*4) timer 1 (8 bit) acc res divider 0 (14 bit) hcf pef hef ief central control unit evf sef psr0 pr mr1 . . mul sel +1(+2) pm0 pm1 . . port rb rb0-3 W541C240 - 6 - 5. pin description s y m b o l i / o f u n c t i o n x i n i input pin for oscillator. connected to crystal or resistor to generate system clo ck by code option. external 10~20pf capacitor uses to get accurate freq in crystal mode.. x o u t o output pin for oscillator. connected to crystal or resistor to generate system clo ck by code option. 20pf capacitor is built in internal for crystal mode.. 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 register (pm2). rc0 rc3 i 4-bit port for input only. each pin has an independent interrupt capability. mfp o output pin only. this pin can output modulating or nonmodulating frequency, or timer 1 clock output specified by mode register 1 (mr1). res i system reset pin with pull-high resistor. seg0 seg23 o lcd segment output pins. com0 com3 o lcd common signal output pins. static com0 com1 com2 com3 used not used 1/2 duty not used not used not used not used 1/3 duty not used 1/4 duty used used used used used used used used used the lcd alternating frequency can be selected by code option. dh1, dh2 i connection terminals for voltage doubler (halver) capacitor. v dd1 , v dd2 , v dd3 i positive (+) supply voltage terminal. refer to functional description. v dd i positive power supply (+). v ss i negative power supply (-). W541C240 publication release date: may 30, 2003 - 7 - revision a1 6. electrical characteristics 6.1 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 power dissipation 120 mw ambient operating temperature 0 to +70 c storage temperature -55 to +150 c note: exposure to conditions beyond those lis ted under absolute maximum ratings may adversely affect the life and reliability of the device. 6.2 dc characteristics (v dd ? v ss = 3.0v, f osc . = 32.768 khz, t a = 25 c; unless otherwise specified) parameter sym. conditions min. typ. max. unit op. voltage v dd - 2.4 - 5.5 v op. current (crystal type) i op1 no load (ext-v) - 8 15 a op. current (rc type) i op2 no load (ext-v) - 35 60 a hold current (crystal type) i hm1 hold mode no load (ext-v) - 4 6 a hold current (rc type) i hm2 hold mode no load (ext-v) - 16 40 a stop current (crystal type) i sm1 stop mode no load (ext-v) - 0.1 2 a stop current (rc type) i sm2 stop mode no load (ext-v) - 0.1 2 a input low voltage v il - v ss - 0.3 v dd v input high voltage v ih - 0.7 v dd - v dd v mfp output low voltage v ml i ol = 3.5 ma - - 0.4 v mfp output high voltage v mh i oh = -3.5 ma 2.4 - - v port ra, rb output low voltage v abl i ol = 2.0 ma - - 0.4 v port ra, rb output high voltage v abh i oh = -2.0 ma 2.4 - - v lcd supply current i lcd all seg. on - - 6 a W541C240 - 8 - dc characteristics, continued p a r a m e t e r s y m . c o n d i t i o n s m i n . t y p . m a x . u n i t seg0 seg23 sink current (work as lcd output pins) i ol v ol = 0.4v v lcd = 0.0v 4 - - p a seg0 seg23 drive current (work as lcd output pins) i oh v oh = 2.4v v lcd = 3.0v 1 5 - - p a input port pull-up resistor r c port rc 100 350 1000 k : res pull-up resistor r res - 2 0 1 0 0 5 0 0 k : 6.3 ac characteristics (v dd v ss = 3.0v, t a = 25 q c; unless otherw i se specified) parameter sym. conditions min. typ. max. unit op. frequency f os c rc type - - 1000 crystal type (option low- speed type) - 3 2 . 7 6 8 - k h z frequency deviation by voltage drop for rc oscillator ' f f f(3v) f (2.4v) f(3v ) - - 1 0 % i n st ruct ion cy cle time t i one machine cycle - 4/f os c - m s res e t ac tive width t raw f os c = 32.768 khz 1 - - p s W541C240 publ i c at i on rel e ase dat e : may 30, 2003 - 9 - revi si on a1 7. application circuit mfp res xout xin dh1 dh2 rc2 rc3 ra0 ra3 output signal rb0 rb1 rb2 com0 com3 rb3 rc0 rc1 seg0 seg23 or lcd panel (1/3 bias 1/4 duty) connect to capacitor and vdd to generate lcd voltage vcc vcc v dd v dd1 v dd2 v dd3 v ss W541C240 - 10 - 8. revision history r e v i s i o n d a t e d e s c r i p t i o n a1 may 30, 2003 initial issued 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/ taipei office tel: 886-2-8177-7168 fax: 886-2-8751-3579 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 (h.k.) ltd. no. 378 kwun tong rd., kowloon, hong kong fax: 852-27552064 unit 9-15, 22f, millennium city, tel: 852-27513100 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. winbond electronics (shanghai) ltd. 200336 china fax: 86-21-62365998 27f, 2299 yan an w. rd. shanghai, tel: 86-21-62365999 winbond electronics corporation japan shinyokohama kohoku-ku, yokohama, 222-0033 fax: 81-45-4781800 7f daini-ueno bldg, 3-7-18 tel: 81-45-4781881 9f, no.480, rueiguang rd., neihu district, taipei, 114, taiwan, r.o.c. |
Price & Availability of W541C240
![]() |
|
|
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] |