Sign In
Upload
Download
Table of Contents
Contents
Add to my manuals
Delete from my manuals
Share
URL of this page:
HTML Link:
Bookmark this page
Add
Manual will be automatically added to "My Manuals"
Print this page
×
Bookmark added
×
Added to my manuals
Manuals
Brands
Intel Manuals
Microcontrollers
MCS 51
User manual
Intel MCS 51 User Manual
Hide thumbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
Table Of Contents
335
page
of
335
Go
/
335
Contents
Table of Contents
Bookmarks
Table of Contents
Contents
Table of Contents
Architectural Overview
Introduction
Block Diagram
Program Memo
CHMOS Devices
Logical Separation of Program and Data Memory
Data Memory
Program Memory
SFR Space
The Mc951 Instruction Set
Program Status Word
Direct Addressing
Register Instructions
Addressing Modes
Arithmetic Instructions
Logical Instructions
Data Transfers
Internal RAM
External RAM
Lookup Tables
Boolean Instructions
Relative Offset
Jump
Using an External Clock
Using the on Chip Oscillator
CPU Timing
State Sequences
Machine Cycles
Interrupt Enables
Interrupt Priorities
Interrupt Structure
Simulating a Third Priority Level in Software
Additional References
Memory Organization
Program Memory
Data Memory
Direct and Indirect Address Area
Special Function Registers
What Do the Sfrs Contain Just
Sfr Memory Map
Not Bit Addressable
Psw: Program Status Word. Bit Addressable
Interrupts
Assigning Higher Priority to One or more Interrupts
Bit Addressable
Priority Within Level
Addressable
Tcon: Timefvcounter Control Register. Bit Addressable
Timer/Counter Control Register
Timer Set-Up
Timer/Counter
T2Con: Timewcounter 2 Control Register. Bit Addressable
Generating Baud Rates
Scon: Serial Port Control Register Bit Addressable
Serial Port in Mode 1
Serial Port in Mode O
Serial Port Set-Up
Serial Port in Mode 3
Using Timer/Counter 1 to Generate Baud Rates
Flag Settings
Instruction Set Summary
Instruction Definitions
Hardware Description
Introduction
Specialfunctionregisters
Accumulator
B Register
Data Pointer
Stack Pointer
Port Structures and Operation
PSW Program Status Word Register
I/O Configurations
Writing to a Port
Port Loading and Interfacing
Accessing External Memory
Read-Modify-Write Feature
Timer Oand Timer 1
Timer2
Serial Interface
Multiprocessor Communications
Serial Port Control Register
Baud Rates
Scon
Using Timer 1 to Generator Baud Rates
Using Timer 2 to Generator Baud Rates
More about Mode 0
More about Mode 1
More about Modes 2 and 3
Interrupt Enable Register
How Interrupts Are Handled
Interrupt Response Timing Diagram
IP Interrupt Priority Register
Priority Level Structure
External Interrupts
Response Time
Reset
Reset Timing
Single-Step Operation
CHMOS Power Reduction Modes
Operatfon
Power-On Reset
Power-Saving Modes of
Idle and Power down Hardware
Idle Mode
Power Control Register
Power down Mode
Eprom Versions
Exposure to Light
One Lock Bit Scheme
Two Program Memory Lock Schemes
HMOS Versions
ONCE Mode
ROM Protection
The On-Chip Oscillators
ESR Vs Frequency
Using the HMOS On-Chip Oscillator
CHMOS Versions
Internal Timing
Using the CHMOS On-Chip Oscillator
External Data Memory Read Cycle
External Program Memory Fetches
External Data Memory Write Cycle
Port Operation
Datamemory
Pin Description
Special Function Registers
Serial Port Registers
Timer Registers
AUTO-RELOAD (up or down Counter)
Capture Mode
Timer 2 in Capture Mode
Baud Rate Generator
Automatic Address Recognitino
Framing Error Detection
Programmable Clock out
Uart
Interrupt Priority Structure
Interrupt Sources
Power down Mode
Power off Flag
Program Memory Lock
Additional References
ONCE Mode
Data Memory
Introduction
Program Memory
Special Function Registers
Port Structures and Operation
Writing to a Port
Accessing External Memory
Port Loading and Interfacing
Read-Modify-Write Feature
Timer Oand Timer 1
Timerwcounters
Timer 2
Auto Reload Mode
Counter
T2Mod
Timer 2 Auto Reload Mode
Baud Rate Generator Mode
Programmable Counter Array
PCA 16-Bit Timer/Counter
Cmod
Capture/Compare Modules
Ccon
PCA Module Modes
16-Bit Capture Mode
16-Bit Software Timer Mode
PCA 16-Bit Capture Mode
High Speed Output Mode
Watchdog Tmer Mode
PCA 8-Bit PWM Mode
Pulse Width Modulator Mode
Watchdog Timer Mode
Serial Interface
Automatic Address Recognition
Multiprocessor Communications
Baud Rates
Rates
Using Llmer 1 to Generate Baud
Using Timer 2 to Generate Baud
Interrupts
External Interrupts
Interrupt Enable
PCA Interrupt
Priority Level Structure
Serial Porl Interrupt
Timer Interrupts
Reset
Response Time
Operation
Power-On Reset
Power-Saving Modes of
87C51GB Hardware Description
Idlemode
Powerdownmode
Poweroff Flag
On-Chip Oscillator
Once Mode
Programmemorylock
Cpu Timing
Comparison of 80C152 and 80C51Bh Features
Memoryspace
Interruptstructure
Globalserialchannel
Introduction
Localserialchannel
Power Downand Idle
CSMA/CD Operation
SDLC Operation
Userdefinedprotocols
Usingthe GSC
Registerdescriptions
Dma Operation
DMA Withthe 80C152
Serial Backplanevs Network Environment
Hold/Holdacknowledge
Timingdiagrams
Dmaarbitration
Summaryof DMA Controlbits
Interruptstructure
GSC Transmittererror Conditions
GSC Receivererrorconditions
Glossary
Advertisement
Quick Links
1
Program Memo
Download this manual
MCS@51 MICROCONTROLLER
FAMILY USER'S MANUAL
ORDER
NO.: 272383-002
FEBRUARY
1994
Table of
Contents
Previous
Page
Next
Page
1
2
3
4
5
Advertisement
Table of Contents
Related Manuals for Intel MCS 51
Microcontrollers Intel MAX 10 JTAG User Manual
Boundary-scan testing (14 pages)
Microcontrollers Intel Edison Kit for Arduino Hardware Manual
(32 pages)
Microcontrollers Intel Agilex Configuration User Manual
(108 pages)
Microcontrollers Intel Stratix 10 GX User Manual
(92 pages)
Microcontrollers Intel Agilex 7 FPGA I-Series User Manual
Transceiver (6 × f-tile) development (58 pages)
Microcontrollers Intel Agilex User Manual
General purpose i/o and lvds serdes (56 pages)
Microcontrollers Intel Agilex User Manual
Clocking and pll (29 pages)
Microcontrollers Intel Agilex 7 FPGA I Series User Manual
Transceiver-soc development kit (67 pages)
Microcontrollers Intel 80C196KB Series User Manual
(98 pages)
Microcontrollers Intel Atom N270 User Manual
(36 pages)
Microcontrollers Intel Agilex Configuration User Manual
(196 pages)
Microcontrollers intel Stratix 10 Configuration User Manual
Gx fpga development kit (113 pages)
Microcontrollers Intel Arria 10 User Manual
Soc development kit (121 pages)
Microcontrollers Intel Agilex User Manual
Logic array blocks and adaptive logic modules (20 pages)
Microcontrollers Intel Agilex User Manual
Power management (28 pages)
Related Products for Intel MCS 51
Intel MAX 10 JTAG
Intel MCS48
Intel MFSYS25V2
Intel M570TU
Intel MI935
Intel MI910F
Intel MI810
Intel MS-6112
Intel MB960
Intel MFS5520VIBR
Intel MFS5520VIR
Intel EtherExpress PRO/100 MBLA1656
Intel MAX 10 FPGA
Intel MB966-NB
Intel M20MYP1UR
Intel MX4305UE
Table of Contents
Print
Rename the bookmark
Delete bookmark?
Delete from my manuals?
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL