8051 Microcontroller

For every PC there are at least 20 embedded systems, and the number is increasing. 8051 is one of the most widely used microcontrollers in embedded system design, and its internal architecture, instruction set and interfacing techniques are presented in this book through simple language, excellent g...

Descripción completa

Detalles Bibliográficos
Autor principal: Subrata, Ghoshal (-)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Noida : Pearson India 2002.
Edición:[First edition]
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009819038306719
Tabla de Contenidos:
  • Cover
  • 8051 Microcontroller
  • Copyright
  • Contents
  • Preface
  • Acknowledgements
  • Introduction
  • Chapter Objectives
  • Introduction
  • Microprocessor
  • Microprocessor-Based System
  • Microcontroller
  • General Architecture
  • Software Protection in Microcontrollers
  • Brief History of Intel Microcontrollers
  • MCS-51 Family
  • Princeton and Harvard Architectures
  • Comparison Between 8085 and MCS-51
  • Power Management
  • Microcontroller Packaging
  • Plastic Dual-Inline Package
  • Quad Flat Package
  • Plastic-Leaded Chip Carrier
  • Plastic Quad Flat Pack
  • Thin Quad Flat Pack
  • Future Trend
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • General Architecture
  • External Features
  • Pins and Signals
  • Internal Architecture
  • Program Memory Organization
  • Pipeline Architecture
  • Program Lock Bits
  • Data Memory Organization
  • Register Banks
  • Bit-Addressable Area
  • Scratch-Pad Area
  • System Clock
  • Reset
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • I/o Ports and Special Function Registers
  • Introduction
  • Sfr Map
  • Sfr Functions
  • Processor Status Word
  • Comparison with 8085 Flags
  • Accumulator
  • Register B
  • Stack Pointer
  • Port Registers
  • Comparing 8255 Ppi with MCS-51 Ports
  • Architecture of Mcs-51 Ports
  • Dc Characteristics of Mcs-51 Ports
  • Power Management
  • Solved Examples
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • Addressing Modes and Data Move Operations
  • Instructions and Instruction Groups of Mcs-51
  • Addressing Modes
  • Immediate Addressing Mode
  • Direct Addressing Mode
  • Register Direct Addressing Mode
  • Register Indirect Addressing Mode
  • Data Transfer Mnemonics.
  • Forms of Mov Instruction
  • 16-Bit Data Load
  • 8-Bit Data Load
  • Precautions in Hexadecimal Representations
  • Format of Mov Instruction
  • Comparison with 8085 Mnemonics
  • Operand Expressions
  • Restrictions in Addressing Modes
  • Reading from I/o Ports
  • Solved Examples
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • Arithmetic Operations
  • Introduction
  • Add Instruction
  • Addc Instruction
  • Subb Instruction
  • Inc Instruction
  • Dec Instruction
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • Program Branching
  • Program Branching Instructions
  • Unconditional Jumps
  • Ljmp Instruction
  • Ajmp Instruction
  • Sjmp Instruction
  • Application of Ajmp and Sjmp
  • Conditional Branching
  • Jz Instruction
  • Jnz Instruction
  • Cjne Instruction
  • Djnz Instruction
  • Labels in Program Listing
  • Nop Instruction
  • Solved Examples
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • Programming Examples-I
  • Introduction
  • Copy Block
  • Shift Block
  • Count No. of Nulls
  • Find Checksum
  • Sum of Natural Numbers
  • Sum of a Series
  • Fibonacci Series
  • Generate a Series
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • Subroutines And Stack
  • Need of Subroutines
  • Lcall Instruction
  • Ret Instruction
  • Acall Instruction
  • Mechanism of Subroutines
  • Nesting of Subroutines
  • Stack
  • Push Instruction
  • Pop Instruction
  • Other Applications of Subroutine
  • Comparison with 8085
  • Solved Examples
  • Parameter Passing in Subroutines
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • Logical Operations.
  • Chapter Objectives
  • Introduction
  • ANL Instruction
  • ORL Instruction
  • XRL Instruction
  • CLR Instruction
  • CPL Instruction
  • RL Instruction
  • RLC Instruction
  • RR Instruction
  • RRC Instruction
  • Solved Examples
  • Summary
  • Points t o Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • Boolean Variable Manipulation
  • Introduction
  • Source and Destination of Boolean Operations
  • Boolean Data Loading and Movement
  • Clr Instruction
  • Setb Instruction
  • Mov Instruction
  • Bit-Oriented Program Branching
  • Jc Instruction
  • Jnc Instruction
  • Jb Instruction
  • Jnb Instruction
  • Bit-Oriented Logical Operations
  • Anl Instruction
  • Orl Instruction
  • Cpl Instruction
  • Solved Examples
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • Programming Examples-II
  • Introduction
  • Count 1s in a Byte
  • Unpack a Bcd Number
  • Pack Bcd Digits
  • Pack Array of Unpacked Bcd Digits
  • Find Largest and Smallest Integers of an Array
  • Bubble Sorting
  • Find the Sum of Factorials
  • Sort Out Numbers Divisible by 4
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • Advanced Instructions
  • Introduction
  • Movc Instruction
  • Movx Instruction
  • Xch Instruction
  • Xchd Instruction
  • Mul Instruction
  • Div Instruction
  • Da a Instruction
  • Jmp Instruction
  • Swap Instruction
  • JBC Instruction
  • Reti Instruction
  • Solved Examples
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • Programming Examples-III
  • Compare with External Array
  • Find Sum of a Series
  • Reverse an Array
  • Hex to Bcd Conversion
  • Update Clock Display
  • Display Shift for Right Entry
  • Count Number of Words
  • Generate Prime Numbers.
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • External Interrupts
  • Introduction
  • What is an Interrupt?
  • Vectored Interrupt
  • External Interrupts of 8051
  • Sfrs for External Interrupt
  • Tcon
  • Ie
  • Interrupt Service Routine
  • Checklist for Into
  • Checklist for Int1
  • Software Interrupts
  • Benefits of Interrupt
  • Solved Examples
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • Timer/Counter Interrupts
  • Purpose of a Timer
  • Differences Between a Timer and a Counter
  • 8051/52 Timers
  • Serial Communication and Serial Interrupts
  • Introduction
  • Serial and Parallel Communications
  • Simplex, Full-Duplex and Half-Duplex Communications
  • Synchronous and Asynchronous Communications
  • Overview of Serial Communication
  • How Serial Communication Works
  • Serial Data Format
  • Baud Rate
  • Serial Communication Sfrs
  • Sbuf
  • Scon
  • Pcon
  • Modes of Serial Communication
  • Mode 0
  • Mode 1
  • Mode 2
  • Mode 3
  • Serial Communication Issues
  • Multiprocessor Communication
  • Role of Timer in Baud-Rate Generation
  • Why 11.0592 MHz?
  • Initiation of Data Transmission and Reception
  • Signal Boosting for Long Distance Transmission
  • Serial Communication Routines
  • Initialization Steps for Serial Communication
  • Serial Communication Interrupt Service Routine
  • Solved Examples
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • Interfacing: External Memory
  • Introduction
  • Need of External Memory
  • Interfacing Signals
  • Program Memory Interfacing
  • Data Memory Interfacing
  • Software Security Features
  • One Lock Bit
  • Two Lock Bits
  • Three Lock Bits
  • Solved Example
  • Summary
  • Points to Remember
  • Review Questions.
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • Interfacing: Keyboards
  • Introduction
  • Contact Type Keys
  • Interfacing a Key
  • Solved Example
  • Example 18.1
  • Bouncing of Keys
  • Hardware Debouncing
  • Software Debouncing
  • Key Matrix
  • Scanning Keyboard Matrix
  • Debouncing Keyboard Matrix
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • Interfacing:Display Devices
  • Introduction
  • Led Interfacing
  • Solved Examples
  • Seven-Segment Display Interfacing
  • Multiplexed Display
  • Multiplexed Keyboard Display Interface
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • Interfacing: Dac/Adc
  • Introduction
  • How a Dac Works
  • How an Adc Works
  • Sample and Hold
  • Interfacing Dac
  • Interfacing Adc
  • Solved Examples
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • Interfacing: Dc Motor
  • Introduction
  • How Dc Motor Works
  • Direction Control
  • H-Bridge
  • H-Bridge Using Transistors
  • L293D
  • Speed Control
  • Through Dac
  • Changing Duty Cycle of Square Wave
  • Relay and Optocoupler
  • Solved Examples
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • Interfacing: Stepper Motor
  • Introduction
  • How Stepper Motor Functions
  • Full-Step Rotation
  • How Step Angle is Controlled
  • Generation of 3.6° Step Angle
  • Generation of Half-Step
  • Stepper Motor Interfacing
  • Using Transistors
  • Using Dedicated Ics
  • Direction Control
  • Speed Control
  • Solved Examples
  • Summary
  • Points to Remember
  • Review Questions
  • Evaluate Yourself
  • Search for Answers
  • Think and Solve
  • Interfacing: Steppermotor
  • Introduction
  • How a Servomotor Works.
  • Inside a Servo.