EasyManua.ls Logo

Intel MCS 51 User Manual

Intel MCS 51
334 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #149 background imageLoading...
Page #149 background image
8XC52/54/58 HARDWARE DESCRIPTION
INTRODUCTION
The 8XC52/54/58 is a highly integrated 8-bit rnicro-
controlkx bed ontheMCSQ-51architecture.The key
featuresare an enhanced serialpOrtfor multi-processor
communications and an up/down timer/counter. As
this product is CHMOS, it has two software selectable
reduced power modes: Idle Mode and Power Down
Mode. Being a member of the MCS-51 family, the
8XC52/54/58 is optimized for control applications.
This document presentsa comprehensivedescriptionof
the on-chip hardwarefeatures of the 8XC52/54/58 as
they ditTerfrom the 80C51BH. It begins by describing
how the 1/0 functions are different and then discusses
each of the peripheralsas follows:
256 Bytes on-chip RAM
Special Function Registers (SFR)
Timer 2
CaptureTimer/Counter
Up/Down Timer/Counter
Baud Rate Generator
ble Serial Interface with
Full-Duplex Programma
Framing ErrorDetection
Automatic Address Recognition
6 InterruptSources
. Enhanced Power Down Mode
Power Off Flag
ONCE Mode
The 8XC52/54/58 uses the standard 8051 instruction
set and is pin-for-pin mmpatible with the existing
MCS-51 family of products. Table 1 summarks the
product names and memory differences of the various
8XC52/54/58 products currently available. Through-
out this documentj the products will generally be re-
ferredto as the 8XC5X.
Table1.8XC52/54/58Microcontrollers
~ ROM IEPROMIROMlessl ROM/EPROM I RAM 1
DeviceVersion
Version
Bytes Bytes
80C52
87C52
80C32
8K 256
80C54
87C54
80C32
16K 256
80C58 87C56
80C32 32K 256
For a description of the features that are the same as
the 80C51, the readershould referto the MCS-51 Ar-
chitectural Overview, MCS-51
ProgrammersGuide/
Instruction Set, and the Hardware Description of the
80C51 in the Embedded Microcontrollers ~d pr~
sors Handbook (Order #270645).
PIN DESCRIPTION
The
8XC5X pin-out is the same as the 80C51. The only
dit%renceis the rdternatefunction of pins P1.O and
P1.1. P1.Ois the externalclock input for Timer 2. P1.1
is the Reload/Capture/Direction Control for Timer 2.
DATA MEMORY
The
8XC5X implements 256 bytes of on-chip RAM.
The upper 128bytes occupy a parallel addressspaceto
the Special Function Registers. That means they have
the same addresses, but they are physically separate
from SFR space.
When an instructionacceaaes
an internallocation above
address 7FH, the CPU knows whether the access is to
the upper 128 bytes of RAM or the SFR space by the
addressing mode used in the instruction. Instructions
that use direct addressingaccess
SFR space. For exam-
ple,
MOV OAOH,#data (Direct Addressing)
accesses the SFR at location OAOH(which is P2). In-
structions that use indirect addressing
access the upper
128bytes of W. For example,
MOV @RO,#data (Indirect Addressing)
where ROcontains OAOH,
accesses the data byte at ad-
dress OAOH,ratherthan P2 (whose address is OAOH).
Note that stack operationsare examples of indirect ad-
dressing,so the upper 128byteaof data RAM areavail-
able as stack space.
SPECIAL FUNCTION REGISTERS
A map of the on-chip memory area called the Special
Function Register (SFR) space is shown in Table 2.
Notethst notalloftheaddreaaesareoccupied,Unoc-
cupied addressesmay not be implemented on the chip.
Read accesses
to these addresses will in general return
randomdam and write
amesses will have an indetermi-
nate effect.
User software should not write 1s to these unlisted lo-
cations, since they may be used in future MCS-51 prod-
ucts to invoke new features. In that case the reset or
inactive values of the new bits will always be O.
4-3
OrdarNumbeR27078S-W4

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Intel MCS 51 and is the answer not in the manual?

Intel MCS 51 Specifications

General IconGeneral
Architecture8-bit
Number of Instructions111
Clock Speed12 MHz
Register Size8-bit
Internal RAM128 bytes
Internal ROM4 KB
External Memory64 KB
I/O Pins32
Timers2
Serial Port1
Interrupts5
Operating Voltage5V
UARTYes
Program Memory4 KB
RAM128 bytes
Instruction SetCISC

Summary

MCS® 51 Family of Microcontrollers Architectural Overview

THE MCS®-51 INSTRUCTION SET

Provides an overview of the MCS®-51 instruction set, optimized for 8-bit control applications.

Interrupt Structure

Overview of the 8051 interrupt structure, sources, and vectoring.

MCS® 51 Programmer’s Guide and Instruction Set

MCS®-51 INSTRUCTION SET

Provides a summary of the 8051 instruction set, including mnemonics and operands.

8051, 8052 and 80C51 Hardware Description

TIMER/COUNTERS

Describes Timer 0 and Timer 1, including operating modes and control registers.

8XC52/54/58 Hardware Description

8XC51FX Hardware Description

PORT STRUCTURES AND OPERATION

Details port structures, I/O configurations, and external memory access.

SERIAL INTERFACE

Covers serial port modes, framing error detection, and baud rate generation.

87C51GB Hardware Description

SPECIAL FUNCTION REGISTERS

Provides a map of the SFR space and their reset values.

SERIAL PORT

Details the serial port's modes, framing error detection, and baud rates.

INTERRUPTS

Covers interrupt sources, enable registers, and priority levels.

83C152 HARDWARE DESCRIPTION

Related product manuals