8-BIT MICROCONTROLLER



Part  Number W79E648
Manufacturer Winbond
Semiconductor DataSheet

DataSheet View

www.DataSheet4U.com Preliminary W79E648 Data Sheet 8-BIT MICROCONTROLLER Table of Contents1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. GENERAL DESCRIPTION .................................................................................................................... 2 FEATURES............................................................................................................................................ 2 PIN CONFIGURATION.......................................................................................................................... 3 PIN DESCRIPTION ............................................................................................................................... 4 BLOCK DIAGRAM ................................................................................................................................. 6 FUNCTIONAL DESCRIPTION .............................................................................................................. 7 MEMORY ORGANIZATION .................................................................................................................. 8 INSTRUCTION .................................................................................................................................... 28 8.1 Instruction Timing .......................................................................................................... 28 POWER MANAGEMENT..................................................................................................................... 34 INTERRUPTS...................................................................................................................................... 37 PROGRAMMABLE TIMERS/COUNTERS .......................................................................................... 39 11.1 11.2 11.3 12. Timer/Counters 0 & 1..................................................................................................... 39 Timer/Counter 2 ............................................................................................................. 42 Watchdog Timer ............................................................................................................ 45 Framing Error Detection ................................................................................................ 58 Multiprocessor Communications ................................................................................... 58 SERIAL PORT ..................................................................................................................................... 52 12.1 12.2 13. 14. 15. TIMED ACCESS PROTECTION ......................................................................................................... 59 H/W REBOOT MODE (BOOT FROM 4K BYTES OF LDFLASH) ....................................................... 61 IN-SYSTEM PROGRAMMING ............................................................................................................ 62 15.1 15.2 16. 17. 18. The Loader Program Locates at LDFlash Memory ....................................................... 62 The Loader Program Locates at APFlash Memory ....................................................... 62 H/W WRITER MODE........................................................................................................................... 62 SECURITY BITS.................................................................................................................................. 63 ELECTRICAL CHARACTERISTICS.................................................................................................... 65 18.1 18.2 18.3 19. 20. 21. 22. Absolute Maximum Ratings ........................................................................................... 65 DC Characteristics......................................................................................................... 66 AC Characteristics ......................................................................................................... 67 TYPICAL APPLICATION CIRCUITS ................................................................................................... 72 PACKAGE DIMENSIONS.................................................................................................................... 73 APPLICATION NOTE .......................................................................................................................... 75 REVISION HISTORY........................................................................................................................... 80 -1- Publication Release Date: 05/31/2004 Revision A1 Preliminary W79E648 1. GENERAL DESCRIPTION The W79E648 is a fast 8051 compatible microcontroller with a redesigned processor core without wasted clock and memory cycles. As a result, it executes every 8051 instruction faster than the original 8051 for the same crystal speed. Typically, the instruction executing time of W79E648 is 1.5 to 3 times faster than that of traditional 8051, depending on the type of instruction. In general, the overall performance is about 2.5 times better than the original for the same crystal speed. Giving the same throughput with lower clock speed, power consumption has been improved. Consequently, the W79E648 is a fully static CMOS design; it can also be operated at a lower crystal clock. The W79E648 contains In-System Programmable (ISP) 128 KB bank-addressed Flash EPROM; 4KB auxiliary Flash EPROM for loader program; on-chip 1 KB MOVX SRAM; power saving modes. 2. FEATURES • • • • • • • • • 8-bit CMOS microcontroller High speed architecture of 4 clocks/machine cycle runs up to 40 MHz Instruction-set compatible with MCS-51 Seven 8-bit I/O Ports One extra 4-bit I/O ports, chip select, reboot fuction Three 16-bit Timers 7 interrupt sources with two levels of priority On-chip oscillator and clock circuitry One enhanced full duplex serial port • Dual 64KB In-System Programmable Flash EPROM banks (AP Flash EPROM 0 and AP Flash EPROM 1) • • • • • • • • • 4KB Auxiliary Flash EPROM for loader program (LD Flash EPROM) 256 bytes scratch-pad RAM 1 KB on-chip SRAM for MOVX instruction Programmable Watchdog Timer 6 channels of 8 bit PWM Software Reset Software programmable access cycle to external RAM/peripherals Code protection Packages: − PLCC 68: W79E648X40PX -2- Preliminary W79E648 PIN CONFIGURATION -3- Publication Release Date: 05/31/2004 Revision A1 Preliminary W79E648 3. PIN DESCRIPTION SYMBOL TYPE DESCRIPTIONS EA I EXTERNAL ACCESS ENABLE: This pin forces the processor to execute out of external ROM. It should be kept high to access internal ROM. The ROM address and data will not be present on the bus if EA pin is high and the program counter is within 128 KB area. Otherwise they will be present on the bus. PROGRAM STORE ENABLE: PSEN enables the external ROM data onto the Port 0 address/data bus during fetch and MOVC operations. When internal ROM access is performed, no PSEN strobe signal outputs from this pin. ADDRESS LATCH ENABLE: ALE is used to enable the address latch that separates the address from the data on Port 0. RESET: A high on this pin for two machine cycles while the oscillator is running resets the device. CRYSTAL1: This is the crystal oscillator input. This pin may be driven by an external clock. CRYSTAL2: This is the crystal oscillator output. It is the inversion of XTAL1. GROUND: Ground potential POWER SUPPLY: Supply voltage for operation. PORT 0: Port 0 is an open-drain bi-directional I/O port. This port also provides a multiplexed low order address/data bus during accesses to external memory. PORT 1: Port 1 is a bi-directional I/O port with internal pull-ups. The bits have alternate functions which are described below: PSEN O ALE RST XTAL1 XTAL2 VSS VDD P0.0 − P0.7 O I I O I I I/O P1.0 − P1.7 I/O T2(P1.0): Timer/Counter 2 external count input T2EX(P1.1): Timer/Counter 2 Reload/Capture/Direction control PORT 2: Port 2 is a bi-directional I/O port with internal pull-ups. This port also provides the upper address bits for accesses to external memory. P2.0 − P2.7 I/O -4- Preliminary W79E648 Pin Description, continued SYMBOL TYPE DESCRIPTIONS PORT 3: Port 3 is a bi-directional I/O port with internal pull-ups. All bits have alternate functions, which are described below: RXD(P3.0) : Serial Port 0 input TXD(P3.1) : Serial Port 0 output INT0 (P3.2) : External Interrupt 0 P3.0 − P3.7 I/O INT1 (P3.3) : External Interrupt 1 T0(P3.4) T1(P3.5) : Timer 0 External Input : Timer 1 External Input WR (P3.6) : External Data Memory Write Strobe RD (P3.7) : External Data Memory Read Strobe P4.0 − P4.3 P5.0 – P5.7 P6.0 – P6.7 P7.0 – P7.7 I/O I/O I/O I/O PORT 4: Port 4 is a 4-bit bi-directional I/O port. The P4.3 also provide the alternate function REBOOT which is H/W reboot from LD flash. PORT 5: Port 5 is a bi-directional I/O port with internal pull-ups. PORT6: Port 6 is a bi-directional I/O port with internal pull-ups. PORT 7: Port 7 is a bi-directional I/O port with internal pull-ups. * Note: TYPE I : input, O: output, I/O: bi-directional. -5- Publication Release Date: 05/31/2004 Revision A1 Preliminary W79E648 4. BLOCK DIAGRAM 5. -6- Preliminary W79E648 FUNCTIONAL DESCRIPTION The W79E648 is 8052 pin compatible and instruction set compatible. It includes the resources of the standard 8052 such as four 8-bit I/O Ports, three 16-bit timer/counters, full duplex serial port and interrupt sources. The W79E648 features a faster running and better performance 8-bit CPU with a redesigned core processor without wasted clock and memory cycles. it improves the performance not just by running at high frequency but also by reducing the machine cycle duration from the standard 8052 period of twelve clocks to four clock cycles for the majority of instructions. This improves performance by an average of 1.5 to 3 times. I



Parts Cross Reference
See crosses for CROSS REFERENCE - No Registering Required.


English     |     日本語     |     漢語     |     한국어     |     Netherlands     |     La France     |     L'Italia     |     Deutschland     |     Россия
This is a individually operated, non profit site.
If this site is good enough to show, please introduce this site to others...

It welcomes all helping each other.     Tool Bar     |    Contact us     |     Link Exchange     |     Buy Components ?     |     Parts Cross Reference