|
|
|
부품번호 | VRS51X540 기능 |
|
|
기능 | Versa 8051 MCU | ||
제조업체 | Ramtron | ||
로고 | |||
www.DataSheet4U.com
VRS51x540
Datasheet
Rev 1.2
Versa 8051 MCU with 4KB Flash
Overview
The VRS51x540 is a low cost 8-bit microcontroller
based on the standard 80C51 microcontroller family
architecture. It is pin compatible and is a drop-in
replacement for standard 8051 MCUs
Aimed at cost effective applications requiring small
amounts of program/data memory coupled with
streamlined peripheral support, the VRS51x540 includes
4KB of Flash memory, 128 bytes of RAM a UART, three
16-bit timers, a Watchdog timer and power down
features.
The VRS51x540 is available in 5 (VRS51C540) and 3.3
(VRS51L540) volt versions in PLCC-44, QFP-44 and
DIP-40 packages. The VRS51x540 devices operate
over the entire industrial temperature range. The Flash
memory can be programmed using programmers
available from Ramtron or other 3rd party commercial
programmers.
FIGURE 1: VRS51X540 FUNCTIONAL DIAGRAM
Feature Set
• 80C51/80C52 pin compatible
• 12 clock periods per machine cycle
• 4KB on-chip Flash memory
• 128 bytes on-chip data RAM
• 32 I/O lines: P0-P3 = 8-bit
• Full duplex serial port (UART)
• 3, 16-bit Timers/Counters
• Watchdog Timer
• 8-bit Unsigned Division / Multiply
• BCD arithmetic
• Direct and Indirect Addressing
• Two levels of interrupt priority and nested interrupts
• Power saving modes
• Code protection function
• Operates at a clock frequency of up to 40MHz
• Low EMI (inhibit ALE)
• Programming voltage: 12V
• Industrial Temperature range (-40°C to +85°C)
• 5V and 3V versions available (see ordering information.)
FIGURE 2: VRS51X540 PLCC AND QFP PINOUT DIAGRAMS
4KB
FLASH
128 Bytes of
RAM
8051
PROCESSOR
ADDRESS/
DATA BUS
PORT 0
PORT 1
UART
PORT 2
2 INTERRUPT
INPUTS
TIMER 0
TIMER 1
TIMER 2
RESET
POWER
CONTROL
WATCHDOG
TIMER
PORT 3
8
8
8
8
6 40
P1.5
7
1
39 P0.4/AD4
P1.6
P0.5/AD5
P1.7
P0.6/AD6
RESET
P0.7/AD7
RXD/P3.0
NC
TXD/P3.1
VRS51x540
PLCC -4 4
#EA
NC
ALE
#INT0/P3.2
#PSEN
#INT1/P3.3
P2.7/A15
T0/P3.4
P2.6/A14
T1/P3.5
17
18
29
28
P2.5/A13
P0.3/AD3
P0.2/AD2
P0.1/AD1
P0.0/AD0
VDD
NC
T2/P1.0
T2EX/P1.1
P1.2
P1.3
P1.4
32
3 3 32
42
VRS51x540
QFP-44
41
41
12
1
P2.4/A12
P2.3/A11
P2.2/A10
P2.1/A9
P2.0/A8
NC
VSS
XTAL1
XTAL2
#RD/P3.7
#WR/P3.6
Ramtron International Corporation ? http://www.ramtron.com
1850 Ramtron Drive Colorado Springs ? MCU customer service: 1-800-943-4625, 1-514-871-2447, ext. 208
Colorado, USA, 80921 ? 1-800-545-FRAM, 1-719-481-7000
page 1 of 40
VRS51x540
VRS51x540 DIP-40 Pin Descriptions
TABLE 3: VRS51X540 IN DESCRIPTIONS FOR DIP-40 PACKAGE
DIP40
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Name
T2
P1.0
T2EX
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
RESET
RXD
P3.0
TXD
P3.1
#INT0
P3.2
#INT1
P3.3
T0
P3.4
T1
P3.5
#WR
P3.6
#RD
P3.7
XTAL2
XTAL1
VSS
I/O Function
I Timer 2 Clock Out
I/O Bit 0 of Port 1
I Timer 2 Control
I/O Bit 1 of Port 1
I/O Bit 2 of Port 1
I/O Bit 3 of Port 1
I/O Bit 4 of Port 1
I/O Bit 5 of Port 1
I/O Bit 6 of Port 1
I/O Bit 7 of Port 1
I Reset
I Receive Data
I/O Bit 0 of Port 3
O Transmit Data &
I/O Bit 1 of Port 3
I External Interrupt 0
I/O Bit 2 of Port 3
I External Interrupt 1
I/O Bit 3 of Port 3
I Timer 0
I/O Bit 4 of Port 3
I Timer 1 & 3
I/O Bit 5 of Port
O Ext. Memory Write
I/O Bit 6 of Port 3
O Ext. Memory Read
I/O Bit 7 of Port 3
O Oscillator/Crystal Output
I Oscillator/Crystal In
- Ground
T2 / P1.0
T2EX / P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
RESET
RXD / P3.0
TXD / P3.1
#INT0 / P3.2
#INT1 / P3.3
T0 / P3.4
T1 / P3.5
#WR / P3.6
#RD / P3.7
XTAL2
XTAL1
VSS
1 40
2 39
3 38
4 37
5 36
6 35
7 34
8 33
9 32
10
VRS51x540
DIP-40
31
11 30
12 29
13 28
14 27
15 26
16 25
17 24
18 23
19 22
20 21
VDD
P0.0 / AD0
P0.1 / AD1
P0.2 / AD2
P0.3 / AD3
P0.4 / AD4
P0.5 / AD5
P0.6 / AD6
P0.7 / AD7
#EA / VPP
ALE
PSEN
P2.7 / A15
P2.6 / A14
P2.5 / A13
P2.4 / A12
P2.3 / A11
P2.2 / A10
P2.1 / A9
P2.0 / A8
DIP40
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Name
P2.0
A8
P2.1
A9
P2.2
A10
P2.3
A11
P2.4
A12
P2.5
A13
P2.6
A14
P2.7
A15
#PSEN
ALE
#EA /
VPP
P0.7
AD7
P0.6
AD6
P0.5
AD5
P0.4
AD4
P0.3
AD3
P0.2
AD2
P0. 1
AD1
P0.0
AD0
VDD
I/O
I/O
O
I/O
O
I/O
O
I/O
O
I/O
O
I/O
O
I/O
O
I/O
O
O
O
I
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
-
Function
Bit 0 of Port 2
Bit 8 of External Memory Address
Bit 1 of Port 2
Bit 9 of External Memory Address
Bit 2 of Port 2
Bit 10 of External Memory Address
Bit 3 of Port 2 &
Bit 11 of External Memory Address
Bit 4 of Port 2
Bit 12 of External Memory Address
Bit 5 of Port 2
Bit 13 of External Memory Address
Bit 6 of Port 2
Bit 14 of External Memory Address
Bit 7 of Port 2
Bit 15 of External Memory Address
Program Store Enable
Address Latch Enable
External Access
Flash programming voltage input
Bit 7 Of Port 0
Data/Address Bit 7 of External
Memory
Bit 6 of Port 0
Data/Address Bit 6 of External
Memory
Bit 5 of Port 0
Data/Address Bit 5 of External
Memory
Bit 4 of Port 0
Data/Address Bit 4 of External
Memory
Bit 3 Of Port 0
Data/Address Bit 3 of External
Memory
Bit 2 of Port 0
Data/Address Bit 2 of External
Memory
Bit 1 of Port 0 & Data
Address Bit 1 of External Memory
Bit 0 Of Port 0 & Data
Address Bit 0 of External Memory
Supply input
______________________________________________________________________________________________
www.ramtron.com
page 4 of 40
4페이지 VRS51x540
Program Memory Structure
Program Memory
The VRS51x540 includes 4k of on-chip Program Flash
memory.
FIGURE 3: VRS51X540 INTERNAL PROGRAM MEMORY
FFFh
VRS51x540
Flash Memory
(4K Bytes)
0000h
Program Status Word Register
The PSW register is a bit addressable register that
contains the status flags (CY, AC, OV, P), user flag
(F0) and register bank select bits (RS1, RS0) of the
8051 processor.
TABLE 7: PROGRAM STATUS WORD REGISTER (PSW) - SFR DOH
7 6543
2
CY AC F0 RS1 RS0 OV
1
-
0
P
Bit Mnemonic Description
7 CY
Carry Bit
6 AC
Auxiliary Carry Bit from bit 3 to 4.
5 F0
User flag
4 RS1
R0-R7 Registers bank select bit 0
3 RS0
R0-R7 Registers bank select bit 1
2 OV
Overflow flag
1-
-
0P
Parity flag
RS1 RS0
00
01
10
11
Active Bank
0
1
2
3
Address
00h-07h
08h-0Fh
10h-17h
18-1Fh
Data Pointer
The VRS51x540 has one 16-bit data pointer. The
DPTR is accessed through two SFR addresses: DPL
located at address 82h and DPH located at address
83h.
Data Memory
The VRS51x540 has a total of 128 Bytes of RAM
memory configured as the internal memory structure of
a standard 8051.
FIGURE 4: VRS51X540 DATA MEMORY
FFh
128 bytes RAM
SFR
(indirect addressing only)
(Direct addressing mode only)
80h
7Fh 128 bytes RAM
(Can be accessed in indirect and
00h direct addressing mode)
Lower 128 bytes (00h to 7Fh, Bank 0 & Bank 1)
The lower 128 bytes of data memory (from 00h to 7Fh)
is summarized as follows:
• Address range 00h to 7Fh can be accessed in
direct and indirect addressing modes.
• Address range 00h to 1Fh includes R0-R7
registers area.
• Address range 20h to 2Fh is bit addressable.
• Address range 30h to 7Fh is not bit addressable
and can be used as general-purpose storage.
.
FIGURE 5: VRS51X540 INTERNAL RAM STRUCTURE
FFh
DPH
DPL
SP
P0
SFR Area
Direct or Bit Access Only
87 86 85 84 83 82 81 80
80h
7Fh
80 Bytes of
General Purpose RAM
30h
2Fh
7F 7E 7D 7C 7B 7A 79 78
77 76 75 74 73 72 71 70
0F 0E 0D 0C 0B 0A 09 08
20h
07 06 05 04 03 02 01 00
R7
-
18h R0
R7
Registers Bank 3
-
10h R0
Registers Bank 2
R7
- Registers Bank 1
08h R0
R7
- Registers Bank 0
00h R0
______________________________________________________________________________________________
www.ramtron.com
page 7 of 40
7페이지 | |||
구 성 | 총 30 페이지수 | ||
다운로드 | [ VRS51X540.PDF 데이터시트 ] |
당사 플랫폼은 키워드, 제품 이름 또는 부품 번호를 사용하여 검색할 수 있는 |
구매 문의 | 일반 IC 문의 : 샘플 및 소량 구매 ----------------------------------------------------------------------- IGBT, TR 모듈, SCR 및 다이오드 모듈을 포함한 광범위한 전력 반도체를 판매합니다. 전력 반도체 전문업체 상호 : 아이지 인터내셔날 사이트 방문 : [ 홈페이지 ] [ 블로그 1 ] [ 블로그 2 ] |
부품번호 | 상세설명 및 기능 | 제조사 |
VRS51X540 | Versa 8051 MCU | Ramtron |
DataSheet.kr | 2020 | 연락처 | 링크모음 | 검색 | 사이트맵 |