W79E658A Datasheet PDF - nuvoton

www.Datasheet-PDF.com

W79E658A
nuvoton

Part Number W79E658A
Description 8-BIT MICROCONTROLLER
Page 30 Pages


W79E658A datasheet pdf
Download PDF
W79E658A pdf
View PDF for Mobile

No Preview Available !

W79E658A/W79L658A DATA SHEET
8-BIT MICROCONTROLLER
Table of Contents-
1. GENERAL DESCRIPTION ......................................................................................................... 4
2. FEATURES ................................................................................................................................. 4
3. PIN CONFIGURATION ............................................................................................................... 5
4. PIN DESCRIPTION..................................................................................................................... 6
4.1 Port 4 .............................................................................................................................. 7
5. MEMORY ORGANIZATION........................................................................................................ 9
5.1 Program Memory (on-chip Flash) ................................................................................... 9
5.2 Data Memory ................................................................................................................ 10
6. SPECIAL FUNCTION REGISTERS ......................................................................................... 11
7. INSTRUCTION SET.................................................................................................................. 42
7.1 Instruction Timing.......................................................................................................... 50
7.1.1 External Data Memory Access Timing............................................................................52
8. POWER MANAGEMENT.......................................................................................................... 55
8.1 Idle Mode ...................................................................................................................... 55
8.2 Power Down Mode ....................................................................................................... 55
9. RESET ...................................................................................................................................... 56
9.1 Reset Conditions........................................................................................................... 56
9.2 External Reset .............................................................................................................. 56
9.3 Power-On Reset (POR) ................................................................................................ 56
9.4 Watchdog Timer Reset ................................................................................................. 56
9.5 Reset State ................................................................................................................... 57
10. INTERRUPTS ........................................................................................................................... 58
10.1 Interrupt Sources .......................................................................................................... 58
10.2 Priority Level Structure ................................................................................................. 58
11. PROGRAMMABLE TIMERS/COUNTERS ............................................................................... 59
11.1 Timer/Counters 0 & 1.................................................................................................... 59
11.1.1 Time-Base Selection ....................................................................................................59
11.1.2 Mode 0 .........................................................................................................................59
11.1.3 Mode 1 .........................................................................................................................60
11.1.4 Mode 2 .........................................................................................................................60
11.1.5 Mode 3 .........................................................................................................................61
11.2 Timer/Counter 2 ............................................................................................................ 61
11.2.1 Capture Mode...............................................................................................................62
11.2.2 Auto-reload Mode, Counting up....................................................................................62
11.2.3 Auto-reload Mode, Counting Up/Down .........................................................................63
11.2.4 Baud Rate Generator Mode .........................................................................................64
12. WATCHDOG TIMER................................................................................................................. 65
Publication Release Date: Oct 08, 2010
- 1 - Revision A5.0



No Preview Available !

W79E658A/W79L658A
13. PULSE-WIDTH-MODULATED (PWM) OUTPUTS ................................................................... 68
14. SERIAL PORT .......................................................................................................................... 70
14.1 Mode 0 .......................................................................................................................... 70
14.2 Mode 1 .......................................................................................................................... 71
14.3 Mode 2 .......................................................................................................................... 72
14.4 Mode 3 .......................................................................................................................... 74
14.5 Framing Error Detection ............................................................................................... 75
14.6 Multiprocessor Communications................................................................................... 75
15. I2C SERIAL PORTS ................................................................................................................. 77
15.1 The I2C Control Registers ............................................................................................ 78
15.1.1 Slave Address Registers, I2ADDRxx............................................................................78
15.1.2 Data Register, I2DAT ...................................................................................................78
15.1.3 Control Register, I2CONx.............................................................................................79
15.1.4 Status Register, I2STATUSx ........................................................................................79
15.1.5 I2C Clock Baud Rate Control, I2CLKx..........................................................................80
15.1.6 I2C Time-out Counter, I2Timerx ...................................................................................80
15.2 Modes of Operation ...................................................................................................... 80
15.2.1 Master Transmitter Mode .............................................................................................80
15.2.2 Master Receiver Mode .................................................................................................81
15.2.3 Slave Receiver Mode ...................................................................................................81
15.2.4 Slave Transmitter Mode ...............................................................................................81
15.3 Data Transfer Flow in Four Operating Modes .............................................................. 81
15.3.1 Master/Transmitter Mode .............................................................................................82
15.3.2 Master/Receiver Mode .................................................................................................83
15.3.3 Slave/Transmitter Mode ...............................................................................................84
15.3.4 Slave/Receiver Mode ...................................................................................................85
15.3.5 GC Mode ......................................................................................................................86
16. ANALOG-TO-DIGITAL CONVERTER ...................................................................................... 87
16.1 Operation of ADC ......................................................................................................... 87
16.2 ADC Resolution and Analog Supply ............................................................................. 88
16.3 ADC Control Registers ................................................................................................. 89
17. TIMED ACCESS PROTECTION .............................................................................................. 91
18. PORT 4 STRUCTURE .............................................................................................................. 93
19. H/W REBOOT MODE (BOOT FROM 4K BYTES OF LDFLASH) ............................................ 96
20. IN-SYSTEM PROGRAMMING.................................................................................................. 97
20.1 The Loader Program Locates at LDFlash Memory ...................................................... 97
20.2 The Loader Program Locates at APFlash Memory ...................................................... 97
21. H/W WRITER MODE ................................................................................................................ 97
22. SECURITY BITS ....................................................................................................................... 98
23. ELECTRICAL CHARACTERISTICS....................................................................................... 100
23.1 Absolute Maximum Ratings ........................................................................................ 100
23.2 DC Characteristics ...................................................................................................... 100
23.3 AC Characteristics ...................................................................................................... 102
-2-



No Preview Available !

W79E658A/W79L658A
23.3.1 External Clock Characteristics....................................................................................102
23.3.2 AC Specification .........................................................................................................102
23.3.3 MOVX Characteristics Using Stretch Memory Cycle ..................................................103
23.4 The ADC Converter DC ELECTRICAL CHARACTERISTICS ................................... 105
23.5 Program Memory Read Cycle .................................................................................... 107
23.6 Data Memory Read Cycle........................................................................................... 107
23.7 Data Memory Write Cycle........................................................................................... 108
24. TYPICAL APPLICATION CIRCUITS ...................................................................................... 109
24.1 Expanded External Program Memory and Crystal ..................................................... 109
24.2 Expanded External Data Memory and Oscillator........................................................ 109
25. PACKAGE DIMENSIONS ....................................................................................................... 110
25.1 100L QFP(14x20x2.75mm footprint 4.8mm) .............................................................. 110
26. APPLICATION NOTE ............................................................................................................. 111
27. VERSION HISTORY ............................................................................................................... 117
Publication Release Date: Oct 08, 2010
- 3 - Revision A5.0



No Preview Available !

W79E658A/W79L658A
1. General Description
The W79E658 is a fast, 8051/52-compatible microcontroller with a redesigned processor core that
eliminates wasted clock and memory cycles. Typically, the W79E658 executes instructions 1.5 to 3
times faster than that of the traditional 8051/52, depending on the type of instruction, and the overall
performance is about 2.5 times better at the same crystal speed. As a result, with the fully-static
CMOS design, the W79E658 can accomplish the same throughput with a lower clock speed, reducing
power consumption.
The W79E658 provides 256 bytes of on-chip RAM; 1-KB of auxiliary RAM; seven 8-bit, bi-directional
and bit-addressable I/O ports; an additional 4-bit port P4; three 16-bit timer/counters; an UART serial
port, 2 channels of I2C with master/slave capability and 8 channels of 10-bit ADC. These peripherals
are all supported by ten interrupt sources with 2 levels of priority.
The W79E658 contains a 128-KB Flash EPROM whose contents may be updated in-system by a
loader program stored in an auxiliary, 4-KB Flash EPROM. Once the contents are confirmed, it can be
protected for security.
Note: If the applied VDD is not stable, especially with long transition time of power on/off, it’s
recommended to apply an external RESET IC to the RST pin for improving the stability of
system.
2. Features
Fully-static-design 8-bit Turbo 51 CMOS microcontroller up to 40MHz
128-KB of in-system-programmable Flash EPROM (AP Flash EPROM with ISP)
4-KB of Auxiliary Flash EPROM for the loader program (LD Flash EPROM)
1-KB auxiliary RAM, software-selectable, accessed by MOVX instruction
256 bytes of scratch-pad RAM
Seven 8-bit bi-directional ports
All pins with Schmitt trigger inputs
One 4-bit multipurpose I/O port4 with Chips select(CS) and boot function
Three 16-bit timers
6 channels of 8-bit PWM
One enhanced full-duplex UART with framing-error detection and automatic address recognition
2-channels of I2C with master/slave capability
10-bit ADC with 8-channel inputs
Software programmable access cycle to external RAM/peripherals
10 interrupt sources with two levels of priority
Software reset function
Optional H/L state of ALE/PSEN during power down mode
Built-in power management
Code protection
Development tool
JTAG ICE(In Circuit Emulator) tool
Packages:
Lead Free(RoHS) QFP 100:
W79E658A40FL, W79L658A25FL
-4-



W79E658A datasheet pdf
Download PDF
W79E658A pdf
View PDF for Mobile


Related : Start with W79E658 Part Numbers by
W79E658A 8-BIT MICROCONTROLLER W79E658A
nuvoton
W79E658A pdf

Index :   0   1   2   3   4   5   6   7   8   9   A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z   

This is a individually operated, non profit site. If this site is good enough to show, please introduce this site to others.
Since 2010   ::   HOME   ::   Contact