MCS51 - lecture 6. Lecture 6 1/32 Extending MCS51 system Built-in peripherals MCS51 family.

Slides:



Advertisements
Similar presentations
MICROPROCESSORS AND MICROCONTROLLERS
Advertisements

INPUT-OUTPUT ORGANIZATION
Parul Polytechnic Institute
PROGRAMMABLE PERIPHERAL INTERFACE -8255
Dr A Sahu Dept of Computer Science & Engineering IIT Guwahati.
Programmable Interval Timer
The 8051 Microcontroller Chapter 5 SERIAL PORT OPERATION.
8253/54 Timer Section /54 Timer Description and Initialization
TK2633 Introduction to Parallel Data Interfacing DR MASRI AYOB.
Chapter 2 HARDWARE SUMMARY
The 8085 Microprocessor Architecture
Introduction of Holtek HT-46 series MCU
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
Micro-controller or embedded controller
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
9/20/6Lecture 3 - Instruction Set - Al Hardware interface (part 2)
INPUT-OUTPUT ORGANIZATION
Microcontroller Intel 8051 [Architecture]. The Microcontroller Microcontrollers can be considered as self-contained systems with a processor, memory and.
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Clock Generator.
created by :Gaurav Shrivastava
System Clocks.
The 8051 Microcontroller and Embedded Systems
16F877A. Timer 0 The Timer0 module timer/counter has the following features: –8-bit timer/counter –Readable and writable –8-bit software programmable.
MICROPROCESSOR INPUT/OUTPUT
CoE3DJ4 Digital Systems Design Hardware summary. Microprocessors vs. Microcontrollers Microprocessors are single-chip CPU used in microcomputers Microcontrollers.
(More) Interfacing concepts. Introduction Overview of I/O operations Programmed I/O – Standard I/O – Memory Mapped I/O Device synchronization Readings:
Timers.
CHAPTER HARDWARE CONNECTION. Pin Description 8051 family members ◦ e.g., 8751, 89C51, 89C52, DS89C4x0) ◦ Have 40 pins dedicated for various functions.
Atmel Atmega128 Overview ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register.
Chapter 2 Introducing the PIC Mid-Range Family and the 16F84A The aims of this chapter are to introduce: The PIC mid-range family, in overview The overall.
MCS51 - lecture 5. Lecture 5 2/28 Interrupts in MCS51 Step work Power consumption reducing.
8254 Timer.
Intel 8051 Another family of microcontroller is the Intel 8051 family. The basic 8051 microcontroller has four parallel input/output ports, port 0, 1,
INTRODUCTION TO PIC MICROCONTROLLER. Overview and Features The term PIC stands for Peripheral Interface Controller. Microchip Technology, USA. Basically.
Microcontroller Intel 8051 [I/O Ports]. Pin out of the 8051 –40 pin package –32 pins are used for the 4 ports. –V CC / V SS –ALE Address Latch Enable.
Programmable Interrupt Controller (PIC)
CIT 673 Created by Suriyong1 Micro controller hardware architechture.
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
EE365 - Microprocessors period 26 10/23/00 D. R. Schertz # Parallel Ports.
Presented by Sadhish Prabhu
Features of the PIC18 microcontroller - 8-bit CPU - 2 MB program memory space (internal 32KB to 128KB) bytes to 1KB of data EEPROM - Up to 4096 bytes.
ECE 371 Microprocessor Interfacing
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
بسم الله الرحمن الرحيم MEMORY AND I/O.
The 8085 Microprocessor Architecture. What 8085 meant for? 80 - year of invention bit processor 5 - uses +5V for power.
Chapter Microcontroller
8255:Programmable Peripheral Interface
8085 Microprocessor: Architecture & Support Components.
Components of a typical full-featured microcontroller.
Gandhinagar Institute of Technology
DEPARTMENT OF ELECTRONICS ENGINEERING V-SEMESTER MICROPROCESSOR & MICROCONTROLLER 1 CHAPTER NO microcontroller & programming.
Intel 8255A PPI EEE 365 [FALL 2014] LECTURE ATANU K SAHA BRAC UNIVERSITY.
Memory Interface EEE 365 [FALL 2014] LECTURER 12 ATANU K SAHA BRAC UNIVERSITY.
8255 Programmable Peripheral Interface
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
E3165 DIGITAL ELECTRONIC SYSTEM
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Microcontroller Intel 8051
Architecture & Support Components
Programmable Interval timer 8253 / 8254
Introducing the PIC Mid-Range Family and the 16F84A
Programmable Interval timer 8253 / 8254
Programmable Peripheral Interface
8051 Micro Controller.
Compiled by Dr. N.Shanmugasundaram, HOD, ECE Dept, SECE.
CHAPTER HARDWARE CONNECTION.
Programmable Interval Timer
Presentation transcript:

MCS51 - lecture 6

Lecture 6 1/32 Extending MCS51 system Built-in peripherals MCS51 family

MCS51 - system extending 2/32 Designer of MCS51 system should remember about: multiplexed data D0..D7 bus and address lines A0..A7 on P0 port, so external 8-bit latch for lower address byte is needed; load capacity of port outputs; the absence dedicated control signal for external devices (it means common external peripherals and data memory address space); separate address spaces of external programme and data memories; big number of MCS51 family members, which differentiate in capacity of built-in memories and devices.

MCS51 - system extending 3/32 Connecting with external memories:

MCS51 - system extending 4/32 Connecting with peripherals of 8085 series :

MCS51 - system extending 5/32 Connecting with peripherals of 8080 series:

MCS51 - system extending 6/32 Connecting with peripherals of 8080 series (another solution):

MCS51 - built-in peripherals 7/32 Synchronized bidirectional parallel port: additional port with 4 hand-shake signals can work without handshake (like standard P0..P3).

MCS51 - built-in peripherals 8/32 Synchronized port - basic timings data input data output

MCS51 - built-in peripherals 9/32 UPI - Universal Peripheral Interface: based on P0 with additional registers; microcontroller acts as programmable control unit of peripheral device; supervising system considers P0 as double bidirectional port; additional signals: /RD, /WR, /CS (P2.5) i A0 (P2.4); /CS=0 enables UPI for data exchange; A0=0 selects data buffer/register, A0=1 selects control/status register.

Virtual parallel ports: up-to over ten parallel ports; accessible like standard built-in ports; some of ports have directly-addressed bits. MCS51 - built-in peripherals 10/32

MCS51 - built-in peripherals 11/32 PWM outputs f PWM = f OSC : 2 : 255 : (1+PWMP)

MCS51 - built-in peripherals 12/32 Analog comparators Atmel 89C1051, 89C2051:

MCS51 - built-in peripherals 13/32 Analog comparators Philips

MCS51 - built-in peripherals 14/32 Intel A/D converters

MCS51 - built-in peripherals 15/32 Philips A/D converters: 8/10b successive approximation; t CONW = m.c.; conversion start by hardware else software; possible interrupt request; latches for conversion results.

MCS51 - built-in peripherals 16/32 Siemens A/D converters: programmable upper and lower conversion range limits.

MCS51 - built-in peripherals 17/32 Arithmetic units Siemens MDU: shifting, normalization, division and multiplication 16b i 32b NB numbers; calculation time reduced several times (to 4..6 m.c.); accessible via 6 data registers (MD0..MD5) and control register (ARCON); type of operation depends on the sequence of writings to MDx registers. Philips arithmetic units: hardware division 24b / 8b numbers in 8 m.c.; hardware division or multiplication 24b by 16b numbers in 4 m.c.

MCS51 - built-in peripherals 18/32 XRAM memory: from hundreds to thousands bytes; accessible like true external RAM; usage MOVX operation with R0 i R1 addressing depends on implementation; active all the time after reset either activated by special control bit;

MCS51 - built-in peripherals 19/32 EEPROM memory: from hundreds to thousands bytes; accessible via special registers: address, data & control/state; reading immediate; writing time up to several ms; initialisation of writing needs special control sequence.

MCS51 - built-in peripherals 20/32 Watchdogs: overflowing watchdog counter causes microcontroller reset; counter reset needs special software sequence. Siemens watchdog

MCS51 - built-in peripherals 21/32 Watchdogs - cont. Philips watchdog

MCS51 - built-in peripherals 22/32 Oscillator watchdogs: supervise the main clock generator; own, separate oscillator; when main clock frequency falls, they resets microcontroller. Supply voltage supervisors: detect supply voltage falls below any limit value (exmp. below 4,5V from 5V); detected falls cause set special flag in SFR; can cause interrupt request of highest priority else reset.

MCS51 - built-in peripherals 23/32 RTC units: additional oscillator 32768Hz; set of dividers and registers for: seconds, minutes, hours, week days, days (also months, years); possible alert functions and interrupt requests. Seconds timer: counts pulses of frequency f=32768Hz; interrupt request period T=1s; can run also in power down mode of microcontroller.

MCS51 - family 24/32

MCS51 - zestawienie 25/32

MCS51 - zestawienie 26/32

MCS51 - zestawienie 27/32

MCS51 - zestawienie 28/32

MCS51 - zestawienie 29/32

MCS51 - zestawienie 30/32

MCS51 - zestawienie 31/32

MCS51 - zestawienie 32/32