Rainbow-electronics AT89C4051 User Manual

Browse online or download User Manual for Sensors Rainbow-electronics AT89C4051. Rainbow Electronics AT89C4051 User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 18
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
1
Features
Compatible with MCS
®
51 Products
4K Bytes of Reprogrammable Flash Memory
Endurance: 1,000 Write/Erase Cycles
2.7V to 6V Operating Range
Fully Static Operation: 0 Hz to 24 MHz
Two-level Program Memory Lock
128 x 8-bit Internal RAM
15 Programmable I/O Lines
Two 16-bit Timer/Counters
Six Interrupt Sources
Programmable Serial UART Channel
Direct LED Drive Outputs
On-chip Analog Comparator
Low-power Idle and Power-down Modes
Brown-out Detection
Description
The AT89C4051 is a low-voltage, high-performance CMOS 8-bit microcomputer with
4K bytes of Flash programmable and erasable read-only memory (PEROM). The
device is manufactured using Atmel’s high-density nonvolatile memory technology and
is compatible with the industry-standard MCS-51 instruction set. By combining a ver-
satile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C4051 is a powerful
microcomputer which provides a highly-flexible and cost-effective solution to many
embedded control applications.
The AT89C4051 provides the following standard features: 4K bytes of Flash,
128 bytes of RAM, 15 I/O lines, two 16-bit timer/counters, a five-vector, two-level inter-
rupt architecture, a full duplex serial port, a precision analog comparator, on-chip
oscillator and clock circuitry. In addition, the AT89C4051 is designed with static logic
for operation down to zero frequency and supports two software-selectable power sav-
ing modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters,
serial port and interrupt system to continue functioning. The power-down mode saves
the RAM contents but freezes the oscillator disabling all other chip functions until the
next hardware reset.
Pin Configuration
PDIP/SOIC
1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
RST/VPP
(RXD) P3.0
(TXD) P3.1
XTAL2
XTAL1
(INT0) P3.2
(INT1) P3.3
(TO) P3.4
(T1) P3.5
GND
VCC
P1.7
P1.6
P1.5
P1.4
P1.3
P1.2
P1.1 (AIN1)
P1.0 (AIN0)
P3.7
Rev. 1001D–06/01
8-bit
Microcontroller
with 4K Bytes
Flash
AT89C4051
Page view 0
1 2 3 4 5 6 ... 17 18

Summary of Contents

Page 1 - AT89C4051

1Features• Compatible with MCS®51 Products• 4K Bytes of Reprogrammable Flash Memory• Endurance: 1,000 Write/Erase Cycles• 2.7V to 6V Operating Range•

Page 2

10AT89C40511001D–06/01Figure 3. Programming the Flash MemoryFigure 4. Verifying the Flash MemoryPPAT89C4051P3.1RDY/BSYAT89C4051

Page 3

AT89C405111Note: 1. Only used in 12-volt programming mode.Flash Programming and Verification WaveformsFlash Programming and Verification Characteristi

Page 4

12AT89C40511001D–06/01Notes: 1. Under steady state (non-transient) conditions, IOL must be externally limited as follows:Maximum IOL per port pin: 20

Page 5

13AT89C40511001D–06/01External Clock Drive WaveformsExternal Clock DriveSymbol ParameterVCC = 2.7V to 6.0V VCC = 4.0V to 6.0VUnitsMin Max Min Max1/tCL

Page 6

14AT89C40511001D–06/01Shift Register Mode Timing WaveformsAC Testing Input/Output Waveforms(1)Note: 1. AC Inputs during testing are driven at VCC - 0.

Page 7

15AT89C40511001D–06/01Power-Down Mode Notes: 1. XTAL1 tied to GND for ICC (power-down)2. P.1.0 and P1.1 = VCC or GND3. Lock bits programmedAT89C4051TY

Page 8

16AT89C40511001D–06/01Ordering InformationSpeed(MHz)PowerSupply Ordering Code Package Operation Range12 2.7V to 6.0V AT89C4051-12PCAT89C4051-12SC20P32

Page 9

17Packaging InformationAT89C40511001D–06/011.060(26.9).980(24.9)PIN1.280(7.11).240(6.10).090(2.29)MAX.005(.127)MIN.015(.381) MIN.022(.559).014(.356).0

Page 10

© Atmel Corporation 2001.Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company’s standa

Page 11

2AT89C40511001D–06/01Block Diagram

Page 12

3AT89C40511001D–06/01Pin DescriptionVCC Supply voltage.GND Ground.Port 1 Port 1 is an 8-bit bi-directional I/O port. Port pins P1.2 to P1.7 provide in

Page 13

4AT89C40511001D–06/01Oscillator CharacteristicsXTAL1 and XTAL2 are the input and output, respectively, of an inverting amplifier whichcan be configure

Page 14

5AT89C40511001D–06/01Special Function RegistersA map of the on-chip memory area called the Special Function Register (SFR) space isshown in the table

Page 15

6AT89C40511001D–06/01Restrictions on Certain InstructionsThe AT89C4051 is an economical and cost-effective member of Atmel’s growing familyof microcon

Page 16

7AT89C40511001D–06/01Idle Mode In idle mode, the CPU puts itself to sleep while all the on-chip peripherals remain active.The mode is invoked by softw

Page 17

8AT89C40511001D–06/01Programming The FlashThe AT89C4051 is shipped with the 4K bytes of on-chip PEROM code memory array inthe erased state (i.e., cont

Page 18 - 1001D–06/01/xM

9AT89C40511001D–06/013. Pulse pin XTAL1 once to advance the internal address counter.4. Read the next code data byte at the port P1 pins.5. Repeat ste

Comments to this Manuals

No comments