VRS51C1000-40-LG Ramtron, VRS51C1000-40-LG Datasheet

Microcontrollers (MCU) 64K+1K 40MHz 5V

VRS51C1000-40-LG

Manufacturer Part Number
VRS51C1000-40-LG
Description
Microcontrollers (MCU) 64K+1K 40MHz 5V
Manufacturer
Ramtron
Datasheet

Specifications of VRS51C1000-40-LG

Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
64 KB
Data Ram Size
1 KB
Interface Type
UART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
36
Number Of Timers
3
Operating Supply Voltage
4.5 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Package / Case
PLCC-44
Minimum Operating Temperature
- 40 C
Lead Free Status / Rohs Status
 Details
F
Overview
The VRS51C1000 is based on the standard 8051
microcontroller family architecture and is pin compatible
and a drop-in replacement for most 8051 MCUs.
The VRS51C1000 is ideal for a range of applications
requiring a large amount of program/data memory with
non-volatile data storage and/or code/field based
firmware
comprehensive peripheral support. It features 64KB of
In-System/In-Application Programmable Flash memory,
IKB of SRAM, 5 PWM output channels, a UART, three
16-bit timers, a Watchdog timer and power down
features.
The VRS51C1000 is available with firmware that
enables In-System Programming (firmware based boot-
loader) of the Flash memory via the UART interface
(ISPVx version). General Flash memory programming
is supported by device programmers available from
Ramtron or other 3rd party suppliers.
The device also includes a fifth, 4-bit, I/O port mapped
into the “no connect” pins of the standard 8051/52
package, providing a total of 36 I/Os while maintaining
compatibility with standard 8051/82 pin outs.
The VRS51C1000 is available in PLCC-44, QFP-44
and DIP-40 packages and function over the industrial
temperature range.
IGURE
VRS51C1000
Datasheet
1: VRS51C1000 F
1024 Bytes of
2 INTERRUPT
TIMER 0
TIMER 1
TIMER 2
Versa 8051 MCU with 64KB of IAP/ISP Flash
INPUTS
FLASH
RESET
SRAM
UART
64KB
upgrade
UNCTIONAL
PROCESSOR
WATCHDOG
D
CONTROL
POWER
IAGRAM
TIMER
1850 Ramtron Drive Colorado Springs
8051
capability
Ramtron International Corporation
ADDRESS/
DATA BUS
Colorado, USA, 80921
PORT 0
PORT 1
PORT 2
PORT 3
PORT 4
PWM
coupled
8
8
4
5
8
8
with
W
W
W
http://www.ramtron.com
MCU customer service: 1-800-943-4625, 1-514-871-2447 x 208
1-800-545-FRAM, 1-719-481-7000
Feature Set
F
IGURE
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
PWM0/P1.3
PWM1/P1.4
PWM2/P1.5
PWM3/P1.6
PWM4/P1.7
#INT0/P3.2
#INT1/P3.3
T2EX/P1.1
RXD/P3.0
TXD/P3.1
P0.3/AD3
P0.2/AD2
P0.1/AD1
P0.0/AD0
2: VRS51C1000 QFP-44
T0/P3.4
T1/P3.5
T2/P1.0
8051/8052 pin compatible
64KB Flash memory
In-System / In-Application Flash Programming (ISP/IAP)
Program voltage: 5V
1024 Bytes on chip data SRAM
Four 8-bit I/Os + one 4-bit I/O
5 PWM outputs on P1.3 to P1.7
One Full Duplex UART serial port
Three 16-bit Timers/Counters
Watchdog Timer
Bit operation instruction
8-bit Unsigned Multiply and Division instructions
BCD arithmetic
Direct and Indirect Addressing
Two Levels of Interrupt Priority and Nested Interrupts
Power saving modes
Code protection function
Low EMI (inhibit ALE)
Operating Temperature Range -40ºC to +85ºC
VDD
RES
P4.3
P4.2
P1.2
17
7
34
44
18
6
33
1
VRS51C1000
VRS51C1000
PLCC-44
QFP-44
1
AND
PLCC-44 P
40
28
23
11
39
29
22
12
P2.6/A14
P2.5/A13
P0.4/AD4
P0.5/AD5
P0.6/AD6
P0.7/AD7
#EA
P4.1
ALE
#PSEN
P2.7/A15
P2.4/A12
P2.3/A11
P2.2/A10
P2.1/A9
P2.0/A8
P4.0
VSS
XTAL1
XTAL2
#RD/P3.7
#WR/P3.6
IN OUT
D
IAGRAMS
page 1 of 48
Rev 1.9

Related parts for VRS51C1000-40-LG

VRS51C1000-40-LG Summary of contents

Page 1

... Versa 8051 MCU with 64KB of IAP/ISP Flash Overview The VRS51C1000 is based on the standard 8051 microcontroller family architecture and is pin compatible and a drop-in replacement for most 8051 MCUs. The VRS51C1000 is ideal for a range of applications requiring a large amount of program/data memory with non-volatile data storage and/or code/field based firmware upgrade capability comprehensive peripheral support ...

Page 2

... PWM Channel 0 P1.3 I/O Bit 3 of Port 1 PWM1 O PWM Channel 1 P1.4 I/O Bit 4 of Port PWM2/P1 P0.4/AD4 PWM3/P1.6 P0.5/AD5 8 38 PWM4/P1.7 9 P0.6/AD6 37 RES P0.7/AD7 36 10 VRS51C1000 35 RXD/P3.0 11 #EA P4.3 PLCC-44 34 P4.1 12 TXD/P3 ALE 32 #INT0/P3.2 14 #PSEN #INT1/P3.3 15 P2.7/A15 31 T0/P3 P2.6/A14 T1/P3.5 P2.5/A13 ...

Page 3

... VRS51C1000 VRS51C1000 DIP-40 Pin Descriptions T 2: VRS51C1000 P D DIP40 ABLE IN ESCRIPTIONS FOR PACKAGE DIP40 Name I/O Function T2 I Timer 2 Clock Out 1 P1.0 I/O Bit 0 of Port 1 T2EX I Timer 2 Control 2 P1.1 I/O Bit 1 of Port 1 3 P1.2 I/O Bit 2 of Port 1 PWM0 ...

Page 4

... Two's complement offset byte bit Direct bit address #data 8-bit constant #data 16 16-bit constant addr 16 16-bit destination address addr 11 11-bit destination address T 4: VRS51C1000 I S ABLE NSTRUCTION ET Mnemonic Description Arithmetic instructions ADD A, Rn Add register to A ADD A, direct Add direct byte to A ...

Page 5

... VRS51C1000 Special Function Registers (SFR) Addresses 80h to FFh of the SFR address space can be accessed in direct addressing mode only. The following table lists the VRS51C1000 Special Function Registers (SFR) ABLE PECIAL UNCTION EGISTERS SFR SFR Bit 7 Register Adrs P0 80h - SP 81h - DPL 82h ...

Page 6

... In- Application Programming feature (IAP). ISP Boot Program Memory Zone The upper portion of the VRS51C1000 Flash memory can be reserved to store an ISP (In-System Programmable) boot loader program. This boot program can be used to program the Flash ...

Page 7

... See Ramtron’s website in order to download the “Versa Ware ISP” Window’s™ application which allows communication with the ISPVx firmware. The VRS51C1000 can be ordered with or without the ISPVx bootloader firmware (see Ordering information section of this Datasheet for part number information). ...

Page 8

... IAP Page Erase Function By using the IAP feature possible to perform a Page erase of the VRS51C1000 Flash memory (note that the memory area occupied by the ISP boot program cannot be page erased). Each page is 512 Bytes in size. To perform a flash page erase, the page address is ...

Page 9

... Data Memory The VRS51C1000 has total of 1KB of on-chip SRAM with a 256 byte subset of this block mapped as the internal memory structure of a standard 8052. The remaining 768 byte sub-block can be accessed using external memory addressing via the MOVX instruction. ...

Page 10

... The 768 bytes of expanded VRS51C1000 can also be accessed using the MOVX @Rn instruction (where 1). This instruction can only access data in a range of 256 bytes. The internal SRAM Control Register, RCON, allows users to select which part of the expanded SRAM will be accessed by this instruction by configuring the value of the RAMS0 and RAMS1 bits ...

Page 11

... VRS51C1000 Windowed access to all the 1KB on-chip SRAM in the range of 40h-7Fh is described in the following table. T 15: B ABLE ANK MAPPING DIRECT ADDRESSING MODE 040h~07fh BS3 BS2 BS1 BSO mapping address 000h-03Fh 040h-07Fh 080h-0BFh 0C0h-0FFh 0000h-003Fh 0040h-007Fh 0080h-00BFh 00C0h-00FFh 0100h-013Fh 0140h-017Fh 0180h-01BFh 01C0h-01FFh ...

Page 12

... Power Down mode is via a hardware Reset (note that the Watchdog Timer is stopped in Power Down). When the VRS51C1000 is in power down, its current consumption drops to about 150uA. The SMOD bit of the PCON register controls the oscillator divisor applied to the Timer 1 when used as a baud rate generator for the UART. Setting this bit to 1 doubles the UART’ ...

Page 13

... Port 2 Port P2 is similar to Port 1 and Port 3, the difference being that P2 is used to drive the A8-A15 lines of the address bus when the EA line of the VRS51C1000 is held low at reset time or when a MOVX instruction is executed. Like the P0, P1 and P3 registers, the P2 register is bit addressable ...

Page 14

... VRS51C1000 Port P0 and P2 as Address and Data Bus The output stage may receive data from two sources: The outputs of register P0 or the bus address o itself multiplexed with the data bus for P0. The outputs of the P2 register or the high byte o (A8 through A15) of the bus address for the P2 port ...

Page 15

... P4.2 1 P4.1 0 P4.0 On the VRS51C1000, the Port 4 output buffers can sink up to 20mA, which allow direct drive of LED displays. Software Port Control Some instructions allow the user to read the logic state of the output pin, while others allow the user to read the content of the associated port register. These instructions are called read-modify-write instructions ...

Page 16

... Doing so is likely to make the low-level output voltage exceed the device’s specification and it is likely to affect the device’s reliability. The VRS51C1000 I/O ports are not designed to source current. VRS51C1000 Timers The VRS51C1000 includes three 16-bit timers: Timer 0, Timer 1 and Timer 2 ...

Page 17

... VRS51C1000 Timer 0 and Timer 1 Timers 0 and 1 have four Modes of operation. These Modes allow the user to change the size of the counting register or to authorize an automatic reload when provided with a specific value. Timer 1 can also be used as a baud rate generator to generate communication frequencies for the serial interface. ...

Page 18

... VRS51C1000 T 27 (TCON) –SFR 88 ABLE IMER AND ONTROL EGISTER TF1 TR1 TF0 TR0 IE1 Bit Mnemonic Description 7 TF1 Timer 1 Overflow Flag. Set by hardware on Timer/Counter overflow. Cleared by hardware on Timer/Counter overflow. Cleared by hardware when processor vectors to interrupt routine. 6 TR1 Timer 1 Run Control Bit. Set/cleared by software to turn Timer/Counter on or off ...

Page 19

... T0PIN TR0 GATE INT0 PIN Timer 2 Timer 2 of the VRS51C1000 is a 16-bit Timer/Counter and is similar to Timers 0 and 1 in that it can operate either as an event counter timer. This is controlled by the C/T2 bit in the T2CON special function register. Timer 2 has three operating modes - Auto-Load, Capture and Baud Rate Generator ...

Page 20

... VRS51C1000 Timer 2 Capture Mode In Capture Mode, the EXEN2 bit of the T2CON register controls whether an external transition on the T2EX pin will trigger capture of the timer value. When EXEN2 = 0, Timer 2 acts as a 16-bit timer or counter, which, upon overflowing, will set the TF2 bit (Timer 2 overflow bit) ...

Page 21

... The VRS51C1000 serial port includes a double buffer for the reciever, which allows reception of a byte even if the previously received one has not been retrieved from the receive register by the processor. However, if ...

Page 22

... UART UART Operating Modes The VRS51C1000’s serial port can operate in four different Modes. In all four Modes, a transmission is initiated by an instruction that uses the SBUF register as a destination register. In Mode 0, reception is initiated by setting and REN incoming start bit initiates reception in the other modes, provided that REN is set to 1 ...

Page 23

... VRS51C1000 UART Operation in Mode 1 In Mode 1 operation, 10 bits are transmitted (through TXD) or received (through RXD). The transactions are composed of: a Start bit (Low); 8 data bits (LSB first) and one Stop bit (high). The reception is completed once the Stop bit sets the RB8 flag in the SCON register ...

Page 24

... VRS51C1000 bit register), it causes the UART’s receive controller block to perform one last shift operation: to set RI and to load SBUF and RB8. The signal to load SBUF and RB8, and to set RI, will be generated if, and only if, the following conditions are met at the time the final shift ...

Page 25

... VRS51C1000 UART Operation in Mode 3 In Mode 3, 11 bits are transmitted (through TXD) or received (through RXD). The composed of: a Start bit (Low), 8 data bits (LSB first programmable 9 data bit, and one Stop bit (High). Mode 3 is identical to Mode 2 in all respects but one: the baud rate ...

Page 26

... VRS51C1000 UART Reception in Mode 2 and Mode 3 One to zero transitions on the RXD pin initiate reception for this reason that RXD is sampled at a rate of 16 multiplied by the baud rate that has been established. When a transition is detected, the 1FFh is written into the input shift register and the divide-by-16 counter is immediately reset ...

Page 27

... VRS51C1000 The value to write into the TH1 register is defined by the following formula: SMOD TH1 = 256 - 2 x Fosc 32 x 12x (Baud Rate) Generating UART Baud Rates with Timer 2 Timer 2 is often preferred to generate the baud rate can be easily configured to operate as a 16-bit timer with auto-reload ...

Page 28

... D0h 1200bps A0h 300bps - Timer 2 Reload Value in Modes 1 & 3 for UART Baud Rate The following are examples of [RCAP2H, RCAP2L] reload values for Timer 2 when it is used as baud rate generator for the VRS51C1000 UART 22.184MHz 16.000MHz 230400bps FFFDh 115200bps FFFAh 57600bps ...

Page 29

... VRS51C1000 Interrupts The VRS51C1000 has 8 interrupt sources ( include the WDT) and 7 interrupt vectors (including reset) for handling. The interrupts are enabled via the IE register shown below –SFR A8 ABLE NTERRUPT NABLE EGISTER ET2 ES ET1 Bit Mnemonic Description 7 EA Disables All Interrupts ...

Page 30

... Interrupt Enable and Interrupt Priority When the VRS51C1000 is initialized, all interrupt sources are inhibited by the bits of the IE register being reset necessary to start by enabling the interrupt sources that the application requires. This is achieved by setting bits in the IE register, as discussed previously ...

Page 31

... VRS51C1000 Modifying the Order of Priority The VRS51C1000 allows the user to modify the natural priority of the interrupts. One may modify the order by programming the bits in the IP (Interrupt Priority) register. When any bit in this register is set gives the corresponding source a greater priority than interrupts coming from sources that don’ ...

Page 32

... WDR bit whenever an unpredicted reset has taken place. Reduced EMI Function The VRS51C1000 can also be set up for reduced EMI (electromagnetic interference) by setting bit 0 (ALEI) of the SYSCON register to 1. This function will inhibit the Fosc/6Hz clock signal output to the ALE pin. ...

Page 33

... VRS51C1000 PWM Registers - Port1 Configuration Register T 39 (PWME, $9B) ABLE ORT ONFIGURATION EGISTER 7 6 PWM4E PWM3E PWM2E 3 2 PWM0E Unused Bit Mnemonic Description 7 PWM4E When bit is set to one, the 6 PWM3E corresponding PWM pin is active as 5 PWM2E a PWM function. When the bit is 4 PWM1E ...

Page 34

... VRS51C1000 T 44: PWM (PWMD1) – SFR A7 ABLE ATA EGISTER 7 6 PWMD3.4 PWMD3.3 PWMD3 PWMD3.0 NP3.2 NP3.1 Bit Mnemonic Description 7 PWMD3.4 Contents of PWM Data Register 3 Bit 4 6 PWMD3.3 Contents of PWM Data Register 3 Bit 3 5 PWMD3.2 Contents of PWM Data Register 3 Bit 2 4 PWMD3.1 ...

Page 35

... VRS51C1000 Example of PWM Timing Diagram MOV PWMD0 #83H MOV PWME, #08H F 21: PWM T D IGURE IMING IAGRAM 1st Cycle 2nd Cycle frame frame 32T 32T 16 1T (Narrow pulse inserted by NP0[2:0]=3) PWM clock= 1/T= Fosc / 2^(PDIV+1) The SPWM output cycle frame frequency = SPWM clock/32 = [Fosc/2^(PDIV+1)]/32 If Fosc = 20MHz, PDCK[1:0] of PWMC = #03H, then PWM clock = 20MHz/2^4 = 20MHz/ ...

Page 36

... VRS51C1000 Crystal consideration The crystal connected to the VRS51C1000 oscillator input should parallel type, operating in fundamental mode. The following table provides suggested capacitor and resistor feedback values for different operating frequencies. Valid for VRS51C1000 XTAL 3MHz 6MHz open open XTAL 16MHz 25MHz ...

Page 37

... Active mode, 40MHz 15 mA Active mode 25MHz 10 mA Active mode 16MHz 10 mA Idle mode, 40MHz 7.5 mA Idle mode 25MHz 6 mA Idle mode, 16MHz 150 uA Power down mode T C ODE EST IRCUIT Vcc Vcc Icc VCC 8 PO RST EA VRS51C1000 XTAL2 (NC) XTAL1 VSS page ° C ...

Page 38

... VRS51C1000 AC Characteristics T 48 ABLE HARACTERISTICS Symbol Parameter T LHLL ALE Pulse Width T AVLL Address Valid to ALE Low T LLAX Address Hold after ALE Low T LLIV ALE Low to Valid Instruction In T LLPL ALE Low to #PSEN low T PLPH #PSEN Pulse Width T PLIV #PSEN Low to Valid Instruction In ...

Page 39

... VRS51C1000 Data Memory Read Cycle Timing The following timing diagram provides Data Memory Read Cycle timing information IGURE ATA EMORY EAD YCLE IMING T12 OSC 1 ALE #PSEN #RD PORT2 INST in Float PORT0 ______________________________________________________________________________________________ www.ramtron.com ADDRESS A15- A7-A0 Float Data in T10 T11 ...

Page 40

... VRS51C1000 Program Memory Read Cycle Timing The following timing diagram provides Program Memory Read Cycle timing information F 25 IGURE ROGRAM EMORY EAD YCLE T12 T1 OSC 1 ALE #PSEN #RD,#WR PORT2 PORT0 ______________________________________________________________________________________________ www.ramtron.com ADDRESS A15- Float A7-A0 Float INST in T9 T10 T11 ...

Page 41

... VRS51C1000 Data Memory Write Cycle Timing The following timing diagram provides Data Memory Write Cycle timing information IGURE ATA EMORY RITE YCLE IMING T12 OSC 1 ALE #PSEN #WR PORT2 INST in Float PORT0 ______________________________________________________________________________________________ www.ramtron.com ADDRESS A15- A7-A0 T10 T11 T12 T1 T2 ...

Page 42

... VRS51C1000 I/O Ports Timing The following timing diagram provides I/O Port Timing information. F 27: I IGURE ORTS IMING T7 X1 Inputs P0,P1 Inputs P2,P3 Output by Mov Current Data Px, Src RxD at Serial Port Shift Clock Mode 0 ______________________________________________________________________________________________ www.ramtron.com T8 T9 T10 T11 T12 T1 Sampled Sampled ...

Page 43

... VRS51C1000 Timing Requirement of the External Clock (VSS = 0v is assumed IGURE IMING EQUIREMENT OF XTERNAL LOCK Vdd - 0.5V 70% Vdd 20% Vdd-0.1V 0.45V External Program Memory Read Cycle The following timing diagram provides External Program Memory Read Cycle timing information IGURE XTERNAL ROGRAM ...

Page 44

... VRS51C1000 External Data Memory Read Cycle The following timing diagram provides External Data Memory Read Cycle timing information IGURE XTERNAL ATA EMORY EAD YCLE #PSEN ALE #RD TAVLL PORT 0 From Ri or DPL PORT 2 ______________________________________________________________________________________________ www.ramtron.com TLLDV TRLRH TLLYL TRLDV TLLAX TRLAZ ...

Page 45

... VRS51C1000 External Data Memory Write Cycle The following timing diagram provides External Data Memory Write Cycle timing information IGURE XTERNAL ATA EMORY RITE YCLE #PSEN ALE TLHLL #WR TAVLL A0-A7 PORT 0 From Ri or DPL PORT 2 . ______________________________________________________________________________________________ www.ramtron.com TLLYL TWLWH TQVWX TLLAX ...

Page 46

... VRS51C1000 Plastic Chip Carrier (PLCC-44) VRS51C1000 PLCC- Note: 1. Dimensions D & not include interlead Flash. 2. Dimension B1 does not include dambar protrusion/intrusion. 3. Controlling dimension: Inch 4. General appearance spec should be based on final visual inspection spec. ______________________________________________________________________________________________ www.ramtron.com 49: D PLCC- ABLE IMENSIONS OF HIP ARRIER Dimension in inch ...

Page 47

... VRS51C1000 Plastic Quad Flat Package (QFP-44) VRS51C1000 QFP- Note: 1. Dimensions D1 and E1 do not include mold protrusion. 2. Allowance protrusion is 0.25mm per side. 3. Dimensions D1 and E1 do not include mold mismatch and are determined datum plane. 4. Dimension b does not include dambar protrusion. 5. Allowance dambar protrusion shall be 0.08 mm total in excess of the b dimension at maximum material condition ...

Page 48

... VRS51C1000 Ordering Options (With ISPV2 Firmware preprogrammed) Device Number VRS51C1000-40-L-ISPV2 VRS51C1000-40-Q-ISPV2 VRS51C1000-40-P-ISPV2 VRS51C1000-40-LG-ISPV2 VRS51C1000-40-QG-ISPV2 VRS51C1000-40-PG-ISPV2 Disclaimers Right to make change - Ramtron reserves the right to make changes to its products - including circuitry, software and services - without notice at any time. Customers should obtain the most current and relevant information before placing orders. ...

Related keywords