|
|
|
부품번호 | W79E659A 기능 |
|
|
기능 | 8-BIT MICROCONTROLLER | ||
제조업체 | nuvoton | ||
로고 | |||
전체 30 페이지수
W79E659A/W79L659A 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 .................................................................................................................. 9
6. SPECIAL FUNCTION REGISTERS ......................................................................................... 10
7. INSTRUCTION SET.................................................................................................................. 41
7.1 Instruction Timing.......................................................................................................... 49
7.1.1 External Data Memory Access Timing............................................................................51
8. POWER MANAGEMENT.......................................................................................................... 54
8.1 Idle Mode ...................................................................................................................... 54
8.2 Power Down Mode ....................................................................................................... 54
9. RESET ...................................................................................................................................... 55
9.1 Reset Conditions........................................................................................................... 55
9.2 External Reset .............................................................................................................. 55
9.3 Power-On Reset (POR) ................................................................................................ 55
9.4 Watchdog Timer Reset ................................................................................................. 55
9.5 Reset State ................................................................................................................... 56
10. INTERRUPTS ........................................................................................................................... 57
10.1 Interrupt Sources .......................................................................................................... 57
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
W79E659A/W79L659A
1. General Description
The W79E659 is a fast, 8051/52-compatible microcontroller with a redesigned processor core that
eliminates wasted clock and memory cycles. Typically, the W79E659 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 W79E659 can accomplish the same throughput with a lower clock speed, reducing
power consumption.
The W79E659 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 W79E659 contains a 32-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
• 32-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:
W79E659A40FL, W79L659A25FL
-4-
4페이지 W79E659A/W79L659A
PIN DESCRIPTION, continued
SYMBOL TYPE
DESCRIPTIONS
P4.0−P4.3
I/O
SH
PORT 4: 4-bit bi-directional I/O port. The P4.3 also provides the alternate
function REBOOT which is H/W reboot from LD flash.
P5.0-P5.7
I/O H
PORT 5: A bi-directional I/O port with internal pull-ups. This port is not bit-
addressable. The alternate functions of P5.0 to P5.3 are inputs of ADC4 to
ADC7.
P6.0-P6.7
I/O
DH
PORT 6: A bi-directional I/O port with internal pull-ups. This port is not bit-
addressable. Pins P6.4 to P6.7 are open drain type and can be software
configured as the I2C ports.
P7.0-P7.7
TCK2
TMS2
TDI2
TDO2
TRST2
I/O H
IH
IH
IH
OL
IH
PORT 7: A bi-directional I/O port with internal pull-ups. This port is not bit-
addressable.
Used in debug mode with internal pull-up
Used in debug mode with internal pull-up
Used in debug mode with internal pull-up
Used in debug mode with internal weakly pull-low
Used in debug mode with internal pull-up
Note:
1. TYPE I : input, O: output, I/O: bi-directional, H: pull-high, L: pull-low, D: open drain S: Schmitt Trigger
2. Keep debug pins in NC(no connection) if chip is not in debug mode.
4.1 Port 4
SFR P4 at address A5H, is a 4-bit multipurpose programmable I/O port which functions are I/O, insert
wait function and chip-select function. The Port 4 has four different operation modes:
In mode 0, P4.0 ~ P4.3 is a 4-bit bi-directional I/O port which is the same as port 1. The default Port 4
is a general I/O function.
In mode1, P4.0 ~ P4.3 are read data strobe signals which are synchronized with RD signal at specified
addresses. These read data strobe signals can be used as chip-select signals for external peripherals.
In mode2, P4.0 ~ P4.3 are write data strobe signals which are synchronized with WR signal at
specified addresses. These write data strobe signals can be used as chip-select signals for external
peripherals.
In mode3, P4.0 ~ P4.3 are read/write data strobe signals which are synchronized with RD
or WR signal at specified addresses. These read/write data strobe signals can be used as chip-select
signals for external peripherals.
In mode1~mode3, Port 4 is configured with the feature of chip-select signals, the address range for
chip-select signals depends on the contents of registers P4xAH and P4xAL, which contain the high-
order byte and low-order byte, respectively, of the 16-bit address comparator for P4.x. The registers
P4CONA and P4CONB contain the control bits to configure the Port 4 operation mode. This is
illustrated in the following schematic.
Publication Release Date: Oct 08, 2010
- 7 - Revision A5.0
7페이지 | |||
구 성 | 총 30 페이지수 | ||
다운로드 | [ W79E659A.PDF 데이터시트 ] |
당사 플랫폼은 키워드, 제품 이름 또는 부품 번호를 사용하여 검색할 수 있는 |
구매 문의 | 일반 IC 문의 : 샘플 및 소량 구매 ----------------------------------------------------------------------- IGBT, TR 모듈, SCR 및 다이오드 모듈을 포함한 광범위한 전력 반도체를 판매합니다. 전력 반도체 전문업체 상호 : 아이지 인터내셔날 사이트 방문 : [ 홈페이지 ] [ 블로그 1 ] [ 블로그 2 ] |
부품번호 | 상세설명 및 기능 | 제조사 |
W79E659A | 8-BIT MICROCONTROLLER | nuvoton |
DataSheet.kr | 2020 | 연락처 | 링크모음 | 검색 | 사이트맵 |