AT89C2051-12SU Atmel, AT89C2051-12SU Datasheet - Page 6

IC 8051 MCU FLASH 2K 20SOIC

AT89C2051-12SU

Manufacturer Part Number
AT89C2051-12SU
Description
IC 8051 MCU FLASH 2K 20SOIC
Manufacturer
Atmel
Series
89Cr
Datasheet

Specifications of AT89C2051-12SU

Core Processor
8051
Core Size
8-Bit
Speed
12MHz
Connectivity
UART/USART
Peripherals
LED
Number Of I /o
15
Program Memory Size
2KB (2K x 8)
Program Memory Type
FLASH
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 6 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SOIC (7.5mm Width)
Package
20SOIC
Device Core
8051
Family Name
89C
Maximum Speed
12 MHz
Operating Supply Voltage
3.3|5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
15
Interface Type
UART
Number Of Timers
2
Processor Series
AT89x
Core
8051
Data Ram Size
128 B
Maximum Clock Frequency
12 MHz
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
PK51, CA51, A51, ULINK2
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C2051-12SU
Manufacturer:
ATMEL
Quantity:
54 406
Part Number:
AT89C2051-12SU
Manufacturer:
ATMEL
Quantity:
91
Part Number:
AT89C2051-12SU
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
7. Restrictions on Certain Instructions
7.1
7.2
8. Program Memory Lock Bits
6
Branching Instructions
MOVX-related Instructions, Data Memory
AT89C2051
The AT89C2051 and is an economical and cost-effective member of Atmel’s growing family of
microcontrollers. It contains 2K bytes of Flash program memory. It is fully compatible with the
MCS-51 architecture, and can be programmed using the MCS-51 instruction set. However,
there are a few considerations one must keep in mind when utilizing certain instructions to pro-
gram this device.
All the instructions related to jumping or branching should be restricted such that the destination
address falls within the physical program memory space of the device, which is 2K for the
AT89C2051. This should be the responsibility of the software programmer. For example, LJMP
7E0H would be a valid instruction for the AT89C2051 (with 2K of memory), whereas LJMP 900H
would not.
LCALL, LJMP, ACALL, AJMP, SJMP, JMP @A+DPTR – These unconditional branching
instructions will execute correctly as long as the programmer keeps in mind that the destination
branching address must fall within the physical boundaries of the program memory size (loca-
tions 00H to 7FFH for the 89C2051). Violating the physical space limits may cause unknown
program behavior.
CJNE [...], DJNZ [...], JB, JNB, JC, JNC, JBC, JZ, JNZ – With these conditional branching
instructions the same rule above applies. Again, violating the memory boundaries may cause
erratic execution.
For applications involving interrupts the normal interrupt service routine address locations of the
80C51 family architecture have been preserved.
The AT89C2051 contains 128 bytes of internal data memory. Thus, in the AT89C2051 the stack
depth is limited to 128 bytes, the amount of available RAM. External DATA memory access is
not supported in this device, nor is external PROGRAM memory execution. Therefore, no MOVX
[...] instructions should be included in the program.
A typical 80C51 assembler will still assemble instructions, even if they are written in violation of
the restrictions mentioned above. It is the responsibility of the controller user to know the physi-
cal features and limitations of the device being used and adjust the instructions used
correspondingly.
On the chip are two lock bits which can be left unprogrammed (U) or can be programmed (P) to
obtain the additional features listed in the
Table 8-1.
Note:
1
2
3
1. The Lock Bits can only be erased with the Chip Erase operation.
Program Lock Bits
Lock Bit Protection Modes
LB1
U
P
P
LB2
U
U
P
Protection Type
No program lock features
Further programming of the Flash is disabled
Same as mode 2, also verify is disabled
(1)
Table
8-1.
0368H–MICRO–6/08

Related parts for AT89C2051-12SU