EGRE 6311 Midsize Microcontrollers and Microprocessors The 8051 is an example of a small inexpensive microcontroller intended for simple applications.

Slides:



Advertisements
Similar presentations
MICROPROCESSORS AND MICROCONTROLLERS
Advertisements

Processor : Rabbit 4000 series
Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
4-1 Timers Timers can be used for  timing  event counting  pulse width measurement  pulse generation  frequency multiplication There are 8 Timers.
MICROPROCESSORS TWO TYPES OF MODELS ARE USED :  PROGRAMMER’S MODEL :- THIS MODEL SHOWS FEATURES, SUCH AS INTERNAL REGISTERS, ADDRESS,DATA & CONTROL BUSES.
Chapter 2 HARDWARE SUMMARY
Computing Machinery Chapter 10: Microcontrollers.
Processor System Architecture
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
Microcontroller – PIC – 4 PIC types PIC architecture
Slide 1 Freescale Semiconductor. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are.
Introduction of Holtek HT-46 series MCU
1-1 Microprocessor Engineering Microprocessor Systems Microcontrollers Infineon 16-bit Processor Family  specifically 167CS microcontroller C Programming.
Read Chapter 3 (David E. Simon, An Embedded Software Primer)
HT46 A/D Type MCU Series Data Memory (Byte) Program Memory HT46R22 (OTP) HT46C22 (Mask) 2Kx Kx16 4Kx HT46R23 (OTP) HT46C23 (Mask) HT46R24.
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
The 8051 Microcontroller Architecture
ASPPRATECH.
Microcontroller 8051.
The 8086 Microprocessor The 8086, announced in 1978, was the first 16-bit microprocessor introduced by Intel Corporation 8086 is 16-bit MPU. Externally.
Microcontroller Architecture PIC18F Family
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
The domestic refrigerator-An example A car door mechanism.
Microcontrollers, Basics Fundamentals of Designing with Microcontrollers 16 January 2012 Jonathan A. Titus.
MSP432™ MCUs Training Part 5: Digital Peripherals
ECE/CS-352: Embedded Microcontroller Systems Embedded Microcontroller Systems.
ECE 447: Lecture 1 Microcontroller Concepts. ECE 447: Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device.
NetBurner MOD 5282 Network Development Kit MCF 5282 Integrated ColdFire 32 bit Microcontoller 2 DB-9 connectors for serial I/O supports: RS-232, RS-485,
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
ECE 493T9 Real Time Embedded System Tutorial Set 3 June 10, Spring 2008.
0 - 1 Digital Signal Controller TMS320F2812 Texas Instruments Incorporated European Customer Training Center University of Applied Sciences Zwickau (FH)
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 8.
1 AVR Session 2 Master : Dr.jafari Authors: M.H Edrisi, hadi.edrisi yyyy aaaa hhhh oooo oooo.... cccc oooo mmmm.
PS - 87C51Mx2 - SLS-1 Philips Semiconductors 87C51Mx2 Microcontroller.
AT91 Embedded Peripherals
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
Microprocessor-based Systems
MICROPROCESSOR AND MICRO CONTROLLER
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
8085. Microcomputer Major components of the computer - the processor, the control unit, one or more memory ICs, one or more I/O ICs, and the clock Major.
8254 Timer.
Architecture and instruction set. Microcontroller Core Features:  Operating speed: DC - 20 MHz clock input DC ns instruction cycle Up to 8K x.
INTRODUCTION TO PIC MICROCONTROLLER. Overview and Features The term PIC stands for Peripheral Interface Controller. Microchip Technology, USA. Basically.
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.
S4525A Peripherals & Enhanced FLASH 1 © 1999 Microchip Technology Incorporated. All Rights Reserved. S4525A Peripherals & Enhanced FLASH 1 Peripherals.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
NAM S.B MDLAB. Electronic Engineering, Kangwon National University 1.
MICROPROCESSOR INTEL 8086/8088 BY: SERA SYARMILA SAMEON.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
DEPARTMENT OF ELECTRONICS ENGINEERING V-SEMESTER MICROPROCESSOR & MICROCONTROLLER 1 CHAPTER NO microcontroller & programming.
MICROCONTROLLER AND INTERFACING Presented by: Shefali Jethva ( ) Shivali Panchal ( ) Komal Soni ( ) Roll no. :- 14EC308.
The 8085A is a general-purpose microprocessor with low hardware overhead requirements. Within the 8085A are contained the functions of clock generation,
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
Introduction to Microcontroller Technology
Popular Microcontrollers and their Selection by Lachit Dutta
HISTORY OF MICROPROCESSORS
Microprocessor Systems Design I
UNIT – Microcontroller.
Microprocessor Systems Design I
BITS EDU. CAMPUS , VARNAMA
AVR Addressing Modes Subject: Microcontoller & Interfacing
Project Title EVM IN PIC Under the Guidance of Submitted by.
The Arduino Microcontroller: Atmel AVR Atmega 328
Introduction to Microprocessors and Microcontrollers
8051 Micro Controller.
8253 – PROGRAMMABLE INTERVAL TIMER (PIT). What is a Timer? Timer is a specialized type of device that is used to measure timing intervals. Timers can.
EECE.3170 Microprocessor Systems Design I
ADSP 21065L.
Presentation transcript:

EGRE 6311 Midsize Microcontrollers and Microprocessors The 8051 is an example of a small inexpensive microcontroller intended for simple applications. Other examples are the PIC and the Atmel AVR. There are also a large number of more powerful “midsize” microcontrollers available. These include embedded X86 processors. These typically provide more memory, more I/O and faster performance. We will consider an interesting example, the Rabbit 3000 developed by Z-world. The Rabbit processors are enhancements of the Z80 processor.

EGRE 6312 The 3200 Core module Rabbit Semiconductor sells the 3000 as a module. For modest volume applications using this module is more viable than building a system form scratch.

EGRE 6313 Rabbit 3000 Processor 8-bit data bus 20-bit address bus Internal peripherals use 8 bit address bus Static design - DC to 54 MHz Clock Programmable chip select outputs Clock Spreader results in Ultra-Low EMI Communication Features Hardware and/or software support for TCP/IP, IrDA, SDLC/HDLC, Async, SPI, I2C 56+ Digital I/O 6 Serial Ports V (5 V tolerant I/O) Watchdog Timer Extended Low-Power "Sleepy" Modes Dynamic, software-enabled low-power modes

EGRE 6314

5 Processor Registers Multiple Accumulators A – 8 Bit HL – 16 Bit Memory Mapping IX,IY – Index Registers XPC – Extension of PC Two Register Banks A, F, HL, DE, BC all have alternate registers. EX AF, AF’ swaps AF and A’F’ EXX swaps HL, DE, and BC with H’L’, D’E’, and B’C’.

EGRE 6316 Parallel I/O ports Seven 8-bit I/O ports. (A-F) I/O pins are shared with other on-chip peripherals.

EGRE 6317 Other ports Six Serial Ports Maximum baud rate of system clock divided by 8 Several enhancements over standard asynchronous communications. The serial ports can be used for processor to processor communication. A parallel slave ports are also provided for processor to processor communication.

EGRE 6318 Slave port example

EGRE 6319 Quadrature Decoder Two channels for encoder input (IQ) 8-bit counter is incremented or decremented to keep track of encoder’s position.

EGRE 63110

EGRE 63111

EGRE Pulse width modulation (PWM) channels. PWM is useful in many applications from audio generation to motor control. Four independent channels are provided. The Rabbit PWM module is straightforward—a single 10-bit free-running counter counts from 0x000 to 0x3FF (0 to 1023) and rolls over. The application program loads a PWM “width” register with a value “n.” Out of 1024 counts, the PWM’s output pulse is high for n+1 counts. This gives the application the ability to vary the duty cycle from about 0.1% to 100% ticks from timer A9 define the overall period.

EGRE 63113

EGRE Timers – two timer modules A and B

EGRE Memory - MMU and MIU MMU – memory management unit MIU – memory interface unit Combination allow for addressing 6 MB 20-bit physical address for 1 MB Internally 16 bit address are used (64 KB) MMU uses special segment registers to map 16 bit address to 20 bit address.

EGRE Base (or Root) Segment 0000  Data Segment X000  DATASEG|000 + X000 Stack Segment Y000  STACKSEG|000 + Y000 Extended Memory Segment E000  XPC|000 + E000

EGRE Memory Mapping Example Example The MMU registers are set as follows: XPC = 0x85 SEGSIZE = 0xD7 STACKSEG = 0x80 DATASEG = 0x79 The physical address of the bottom of the xmem segment is given by: 0x x0E000 = 0x93000 The physical address of the bottom of the stack segment is given by: 0x x0D00 = 0x8D000 The physical address of the bottom of the data segment is given by: 0x x07000 = 0x80000 Base (or Root) Segment 0000  Data Segment X000  DATASEG|000 + X000 Stack Segment Y000  STACKSEG|000 + Y000 Extended Memory Segment E000  XPC|000 + E000 Y X

EGRE 63118

EGRE MIU