Chapter 14. Motorola MC68HC11 Family MCU Architecture

Size: px
Start display at page:

Download "Chapter 14. Motorola MC68HC11 Family MCU Architecture"

Transcription

1 Chapter 14 Motorola MC68HC11 Family MCU Architecture

2 Lesson 1 68HC11 MCU Architecture overview 2

3 Outline CPU Registers, MCU Architecture overview Address and Data Buses Execution Unit- ALU Ports 3

4 CPU Registers ACCA and ACCB 16-bit Program Counter PC 16-bit Stack Pointer S 16-bit Index Registers IX and IY 8- bit CCR (Condition Code Register) 4

5 Microcontroller 68HC11 Internal RAM and ROM, RAM, Registers, EEPROM 8- bit Internal Bus 8 MHz XTAL Accumulators Stop Instruction ACCA and ACCB CC R Fully MOS- FET Based Clock Reducible to 0 16-bit Program Counter PC 16-bit Stack Pointer S 16-bit Index Registers IX and IY Decrease after push, increase before pop 5

6 Outline CPU Registers, MCU Architecture overview Address and Data Buses Execution Unit- ALU Ports 6

7 Fully static operation- MCU clock can be reduced to 0 being fully MOSFETs based Stop Instruction 7

8 Performance As per 8MHz XTL 2MHz E-Clock 8

9 68HC11 common 8-bit internal bus for the 16-bit addressing and 8-bit data Princeton architecture bus Bus interface for 8-bit data and instructions. Two interrupts Maskable Interrupt request (IRQ) and Initialization option as unmaskable (XIRQ) PC initialization using reset vector FFFEH-FFEFH Reset 9

10 68HC11 Architecture Overview 10

11 Port E AMUX S/H ADC IR ID Reset Osc Interrupt Control Outcompare In Capture TCNT COP Executio n unit Control and Sequencing Circuit AD0-AD8 PACN Port C T RTC SPI SC I DDRC DDRD CPU registers IO and internal devices Registers Internal RAM and ROM, RAM,EEPROM OPTION, COPRS, PPROG, HIPRO, INIT,CONFIG, TESTI A8-A15 Port B Port D Port A 11 ACCA, ACCB, IX,IY, PC, S, CCR

12 64 kb of linear address space Address 68HC11/12 IO and internal devices, System control Registers Internal RAM and ROM, RAM,EEPROM Memory Architecture Internal devices Registers Data and Program, constants, stored tables Common Memory 12

13 68HC11 Family Programming Address Space Model CPU Registers IO and internal devices Registers System Function Control Registers Internal RAM and ROM, RAM,EEPROM OPTION, COPRS, IPRO, INIT, CONFIG, TESTI 13

14 Instructions have 8 data type Few use 16- bit data types Processor operation of 16-bit data type is as per word alignment at memory in big endian [least significant byte stored as higher bits (address 1) of a word] 14

15 16-bit word alignment A 16bit word in memory Big Endian Byte1 (MSB) Byte0 (LSB) Address0 Address1 Address 15

16 Outline CPU Registers, MCU Architecture overview Address and Data Buses Execution Unit- ALU Ports 16

17 Internal and External Buses ACCA or ACCB IY IX CCR Internal Devices S PC MDR MAR AD0 AD7 A8 - A15 Bus Interface Unit Internal Bus 8-bit 17

18 Outline CPU Registers, MCU Architecture overview Address and Data Buses Execution Unit- ALU Ports 18

19 ACCA or ACCB used as 8-bit ACC or as16-bit ACCD (double accumulator) 8-bit ALU includes multiplier and divide 19

20 Execution Unit IR ID Control and Sequencer Circuits ACCA or ACCB IX IY Internal RAM and ROM, RAM, Registers, EEPROM Temp 1 Temp 2 +, -, x or Rotate/ Shift ALU CCR CMP, TST OR, AND, XOR 20

21 STAGE 1 Instruction Execution Instruction Fetch clock cycle (s) STAGE 2 Instruction Decode STAGE 3 to n Instruction Execute Time 21

22 Internal bus Fetch Decode Execution IR ID Control and Sequencer Circuits Control memory micro codes based - Implementation 22

23 Outline CPU Registers, MCU Architecture overview Address and Data Buses Execution Unit- ALU Ports 23

24 Address x 000H PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0 IO O O O O I I I Option 1 Port PA OC1 OC2 OC3 OC4 OC5 IC1 IC2 IC3 Option 2 Outcompare TCNT In Capture PACN T Cnt O O O O I I I Option 3 24

25 Address x 004H Port PB PB7 PB6 PB5 PB4 PB3 PB2 PB1 PB0 O O O O O O O O Option 1 A15 A14 A13 A12 A11 A10 A9 A8 Option 2 25

26 Address x 007H Address x 005H STRA STRB Handshake signals for Port DDRC7 DDRC6 DDRC5 DDRC4 DDRC3 DDRC2 DDRC1 DDRC0 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 IO IO IO IO IO IO IO IO Option 1 A7 A6 A5 A4 A3 A2 A1 A0 Option 2 D7 D6 D5 D4 D3 D2 D1 D0 Option 3 Port PC 26

27 Address x 009H DDRD5 DDRD4 DDRD3 DDRD2 DDRD1 DDRD0 Address x 008H PD5 PD4 PD3 PD2 PD1 PD0 Port PD IO IO IO IO IO IO Option 1 SS SCLK MOSI MISO TxD RxD Option 2 Master SPI SS SCLK MISO MOSI SCI Option 3 Option 4 Slave SPI Receiving SCI RxD TxD 27 O p t i o n 5

28 Address x 00AH Port PE AMUX S/H ADC PE7 PE6 PE5 PE4 PE3 PE2 PE1 PE0 I I I I I I I I AN7 AN6 AN5 AN4 AN3 AN2 AN1 AN0 ADC Register sadc TL Register Option 1 Analog Input Option 2 28

29 Expanded Mode used for interfacing External Memory and Ports Expanded Mode looses Port B and Port B Recovered back by using 68HC24

30 E AS A15 A14 A13 A12 A11 A10 A9 A8 Port B Option 2 Mode A=0 Mode B=1 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 Port C Options 2/3 Expansion Mode Latch An-A15 A15 Address Decoder Expansion to Ports and Memory A0-A15 CS CS D0-D7 30

31 E Reset R/W An- A15 PC0- PC7 D0- D7 Mode A=0 Mode B=1 Lost Ports Replacement Unit 68HC24 STRA STRB Port B Port C Handshake signals for Port Recovered Ports B and Port C 31

32 Summary

33 68HC11 family 8-bit processor PC, S, ACCA, ACCB, IX, IY, CCR Princeton architecture 8 bit data type Big endian 16-bit word alignment Two interrupts Maskable Interrupt request (IRQ) and Initialization option as unmaskable (XIRQ) PC initialization using reset vector

34 Internal and External Memory Addresses- IO/Devices Control and Status Registers System Function Control Registers Internal RAM Internal ROM EEPROM

35 Internal Devices TCNT with out compare, input capture, SPI, SCI RTC PACNT Port E with option of analog inputs multi channel AMUX, S/H, ADC Port B /A8-A15, Port C with DDRC / AD0-AD7/ Port A /IC1-IC3, OC1-OC5 Port D with DDRD/SCI/SPI Master/Slave

36 End of Lesson 1 on MCU Architecture overview

37 THANK YOU 37

Microcomputer Architecture and Programming

Microcomputer Architecture and Programming IUST-EE (Chapter 1) Microcomputer Architecture and Programming 1 Outline Basic Blocks of Microcomputer Typical Microcomputer Architecture The Single-Chip Microprocessor Microprocessor vs. Microcontroller

More information

M68HC08 Microcontroller The MC68HC908GP32. General Description. MCU Block Diagram CPU08 1

M68HC08 Microcontroller The MC68HC908GP32. General Description. MCU Block Diagram CPU08 1 M68HC08 Microcontroller The MC68HC908GP32 Babak Kia Adjunct Professor Boston University College of Engineering Email: bkia -at- bu.edu ENG SC757 - Advanced Microprocessor Design General Description The

More information

Microprocessors/Microcontrollers

Microprocessors/Microcontrollers Microprocessors/Microcontrollers A central processing unit (CPU) fabricated on one or more chips, containing the basic arithmetic, logic, and control elements of a computer that are required for processing

More information

MOXSYN. General Description. Features. Symbol

MOXSYN. General Description. Features. Symbol MOXSYN C68MX11 CPU General Description The C68MX11 CPU core is based on the Motorola M68HC11 microcontroller controller, but has an enhanced full 16 bit architecture, thus requiring less clock cycles for

More information

M68HC11E Family. Data Sheet M68HC11. Microcontrollers M68HC11E/D Rev. 5 6/2003 MOTOROLA.COM/SEMICONDUCTORS

M68HC11E Family. Data Sheet M68HC11. Microcontrollers M68HC11E/D Rev. 5 6/2003 MOTOROLA.COM/SEMICONDUCTORS M68HCE Family Data Sheet M68HC Microcontrollers M68HCE/D Rev. 5 6/23 MOTOROLA.COM/SEMICONDUCTORS MC68HCE Family Data Sheet To provide the most up-to-date information, the revision of our documents on

More information

PC3 PC4 PC5 PC6 PC7 VSS VPP1 PB0 PB1 PB2 PB3 PB4 PB5

PC3 PC4 PC5 PC6 PC7 VSS VPP1 PB0 PB1 PB2 PB3 PB4 PB5 OEM- Product Catalogue TECHNICAL DATA VRH PD4/AN4 VDD PD3/AN3 PD2/AN2 PD1/AN1 PD0/AN0 NC OSC1 OSC2 _RESET _IRQ PLMA VRL NC PD5/AN5 PD6/AN6 PD7/AN7 TCMP1 TCMp2 TDO SCLK RDI PC0 PC1 PC2/ECLK 7 52 47 8 1

More information

3. The MC6802 MICROPROCESSOR

3. The MC6802 MICROPROCESSOR 3. The MC6802 MICROPROCESSOR This chapter provides hardware detail on the Motorola MC6802 microprocessor to enable the reader to use of this microprocessor. It is important to learn the operation and interfacing

More information

Chapter 1. Microcontroller Overview

Chapter 1. Microcontroller Overview Chapter 1 Microcontroller Overview Lesson 2 Microcontrollers- Types and Examples Outline Microcontroller Types Examples- 8051 Series Family Members Examples- 68HC11/12 Series Family Members CPU Microcomputer

More information

8051 Microcontroller

8051 Microcontroller 8051 Microcontroller The 8051, Motorola and PIC families are the 3 leading sellers in the microcontroller market. The 8051 microcontroller was originally developed by Intel in the late 1970 s. Today many

More information

EE 3170 Microcontroller Applications

EE 3170 Microcontroller Applications Block Diagram of 68HC11A8 EE 3170 Microcontroller Applications Lecture 14: Advanced 68HC11 Hardware- PartI A: Measuring Real-Time in the 68HC11 - Miller 7.7-7.8 Based on slides for ECE3170 by Profs. Davis,

More information

M68HC11 E SERIES HCMOS MICROCONTROLLER UNIT

M68HC11 E SERIES HCMOS MICROCONTROLLER UNIT M68HC11 E SERIES HCMOS MICROCONTROLLER UNIT Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding

More information

ME 4447 / ME 6405: Introduction to Mechatronics

ME 4447 / ME 6405: Introduction to Mechatronics ME 4447 / ME 6405: Introduction to Mechatronics Interrupts and Resets Rohan Bansal Edward Chyau Anirudh Rudraraju Interrupts and Resets 1 Telephone Analogy How do we know if someone is calling? Use polling

More information

Lecture1: introduction. Outline: History overview Central processing unite Register set Special purpose address registers Datapath Control unit

Lecture1: introduction. Outline: History overview Central processing unite Register set Special purpose address registers Datapath Control unit Lecture1: introduction Outline: History overview Central processing unite Register set Special purpose address registers Datapath Control unit 1 1. History overview Computer systems have conventionally

More information

MC68HC908GR8A MC68HC908GR4A Data Sheet

MC68HC908GR8A MC68HC908GR4A Data Sheet MC68HC908GR8A MC68HC908GRA Data Sheet M68HC08 Microcontrollers MC68HC908GR8A Rev. 5 0/2007 freescale.com MC68HC908GR8A MC68HC908GRA Data Sheet To provide the most up-to-date information, the revision

More information

SECTION 5 RESETS AND INTERRUPTS

SECTION 5 RESETS AND INTERRUPTS SECTION RESETS AND INTERRUPTS Resets and interrupt operations load the program counter with a vector that points to a new location from which instructions are to be fetched. A reset immediately stops execution

More information

Mark II Aiken Relay Calculator

Mark II Aiken Relay Calculator Introduction to Embedded Microcomputer Systems Lecture 6.1 Mark II Aiken Relay Calculator 2.12. Tutorial 2. Arithmetic and logical operations format descriptions examples h 8-bit unsigned hexadecimal $00

More information

MICROPROCESSOR MICROPROCESSOR. From the above description, we can draw the following block diagram to represent a microprocessor based system: Output

MICROPROCESSOR MICROPROCESSOR. From the above description, we can draw the following block diagram to represent a microprocessor based system: Output 8085 SATISH CHANDRA What is a Microprocessor? The word comes from the combination micro and processor. Processor means a device that processes whatever. In this context, processor means a device that processes

More information

Microcontrollers and Interfacing

Microcontrollers and Interfacing Microcontrollers and Interfacing Week 10 Serial communication with devices: Serial Peripheral Interconnect (SPI) and Inter-Integrated Circuit (I 2 C) protocols College of Information Science and Engineering

More information

spi 1 Fri Oct 13 13:04:

spi 1 Fri Oct 13 13:04: spi 1 Fri Oct 1 1:: 1.1 Introduction SECTION SERIAL PERIPHERAL INTERFACE (SPI) The SPI module allows full-duplex, synchronous, serial communication with peripheral devices.. Features Features of the SPI

More information

Introduction to Computers - Chapter 4

Introduction to Computers - Chapter 4 Introduction to Computers - Chapter 4 Since the invention of the transistor and the first digital computer of the 1940s, computers have been increasing in complexity and performance; however, their overall

More information

AN1298. Variations in the Motorola MC68HC(7)05Cx Family By Joanne Field CSIC Applications. Introduction

AN1298. Variations in the Motorola MC68HC(7)05Cx Family By Joanne Field CSIC Applications. Introduction Order this document by /D Variations in the Motorola MC68HC(7)05Cx Family By Joanne Field CSIC Applications East Kilbride, Scotland Introduction The Freescale MC68HC05 C Family of 8-bit microcontrollers

More information

Three criteria in Choosing a Microcontroller

Three criteria in Choosing a Microcontroller The 8051 Microcontroller architecture Contents: Introduction Block Diagram and Pin Description of the 8051 Registers Some Simple Instructions Structure of Assembly language and Running an 8051 program

More information

M68HC11E/D REV 3.1 HC11M68HC 1M68HC11M. M68HC11E Family Technical Data. HCMOS Microcontroller Unit

M68HC11E/D REV 3.1 HC11M68HC 1M68HC11M. M68HC11E Family Technical Data. HCMOS Microcontroller Unit M68HC11E/D REV 3.1 68HC11M6 HC11M68HC 1M68HC11M M68HC11E Family Technical Data HCMOS Microcontroller Unit blank MC68HC11E Family Technical Data Motorola reserves the right to make changes without further

More information

MC68HC908GR16 Data Sheet

MC68HC908GR16 Data Sheet MC68HC908GR16 Data Sheet M68HC08 Microcontrollers MC68HC908GR16 Rev. 5.0 0/2007 freescale.com MC68HC908GR16 Data Sheet To provide the most up-to-date information, the revision of our documents on the

More information

8051 Microcontroller

8051 Microcontroller 8051 Microcontroller 1 Salient Features (1). 8 bit microcontroller originally developed by Intel in 1980. (2). High-performance CMOS Technology. (3). Contains Total 40 pins. (4). Address bus is of 16 bit

More information

Application Note. Interfacing the CS5525/6/9 to the 68HC05. By Keith Coffey MOSI (PD3) SDO MISO (PD2) SCLK. Figure 1. 3-Wire and 4-Wire Interfaces

Application Note. Interfacing the CS5525/6/9 to the 68HC05. By Keith Coffey MOSI (PD3) SDO MISO (PD2) SCLK. Figure 1. 3-Wire and 4-Wire Interfaces Application Note Interfacing the CS5525/6/9 to the 68HC05 By Keith Coffey INTRODUCTION This application note details the interface of Crystal Semiconductor s CS5525/6/9 Analog-to-Digital Converter (ADC)

More information

M68HC11K/D HC11M68HC 1M68HC11M. M68HC11K Family Technical Data. HCMOS Microcontroller Unit

M68HC11K/D HC11M68HC 1M68HC11M. M68HC11K Family Technical Data. HCMOS Microcontroller Unit M68HC11K/D 68HC11M6 HC11M68HC 1M68HC11M HCMOS Microcontroller Unit nc. blank nc. MC68HC11K Family Motorola reserves the right to make changes without further notice to any products herein. Motorola makes

More information

Microcontrollers. Microcontroller

Microcontrollers. Microcontroller Microcontrollers Microcontroller A microprocessor on a single integrated circuit intended to operate as an embedded system. As well as a CPU, a microcontroller typically includes small amounts of RAM and

More information

CMD711-EX Development Board

CMD711-EX Development Board CMD711-EX Development Board xiom anufacturing 1998 717 Lingco Dr., Suite 209 Richardson, TX 75081 (972) 994-9676 FAX (972) 994-9170 email: Gary@axman.com web: http://www.axman.com CONTENTS GETTING STARTED...

More information

PARALLEL COMMUNICATIONS

PARALLEL COMMUNICATIONS Parallel Data Transfer Suppose you need to transfer data from one HCS12 to another. How can you do this? You could connect PORTA of the sending computer (set up as an output port) to PORTA of the receiving

More information

Input/Output Modes Chapter 8

Input/Output Modes Chapter 8 Input/Output Modes Chapter 8 Microcomputers can communicate with a variety of I/O devices This information can be either data or control Data is usually encoded in numeric or alphanumeric forms such as

More information

C8051F700 Serial Peripheral Interface (SPI) Overview

C8051F700 Serial Peripheral Interface (SPI) Overview C8051F700 Serial Peripheral Interface (SPI) Overview Agenda C8051F700 block diagram C8051F700 device features SPI operation overview SPI module overview Where to learn more 2 Introducing The C8051F700

More information

Raspberry Pi - I/O Interfaces

Raspberry Pi - I/O Interfaces ECE 1160/2160 Embedded Systems Design Raspberry Pi - I/O Interfaces Wei Gao ECE 1160/2160 Embedded Systems Design 1 I/O Interfaces Parallel I/O and Serial I/O Parallel I/O: multiple input/output simultaneously

More information

EE 3170 Microcontroller Applications

EE 3170 Microcontroller Applications Block Diagram of 68HC11A8 EE 3170 Microcontroller Applications Lecture 14: Advanced 68HC11 Hardware- Part II: Serial Communications Interfacing - Miller 7.10 Interrupt control Clock Mode control A/D ref.

More information

_ V1.3. Motorola 68HC11 AE/AS POD rev. F. POD Hardware Reference

_ V1.3. Motorola 68HC11 AE/AS POD rev. F. POD Hardware Reference _ V1.3 POD Hardware Reference Motorola 68HC11 AE/AS POD rev. F Ordering code IC81049 Thank you for purchasing this product from isystem. This product has been carefully crafted to satisfy your needs. Should

More information

Introduction to Microcontrollers

Introduction to Microcontrollers Motorola M68HC11 Specs Assembly Programming Language BUFFALO Topics of Discussion Microcontrollers M68HC11 Package & Pinouts Accumulators Index Registers Special Registers Memory Map I/O Registers Instruction

More information

Chapter 9. Programming Framework

Chapter 9. Programming Framework Chapter 9 Programming Framework Lesson 1 Registers Registers Pointers Accumulator Status General Purpose Outline CPU Registers Examples 8-bitA (Accumulator) Register 8-bit B Register 8-bitPSW (Processor

More information

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide Introduction the Serial Communications Huang Sections 9.2,.2 SCI Block User Guide SPI Block User Guide Parallel Data Transfer Suppose you need to transfer data from one HCS2 to another. How can you do

More information

AN1745. Interfacing the HC705C8A to an LCD Module By Mark Glenewinkel Consumer Systems Group Austin, Texas. Introduction

AN1745. Interfacing the HC705C8A to an LCD Module By Mark Glenewinkel Consumer Systems Group Austin, Texas. Introduction Order this document by /D Interfacing the HC705C8A to an LCD Module By Mark Glenewinkel Consumer Systems Group Austin, Texas Introduction More and more applications are requiring liquid crystal displays

More information

ZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE Standard. DATA SHEET Version B

ZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE Standard. DATA SHEET Version B ZMD400-A01 ZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE 802.15.4 Standard DATA SHEET Version B Quan International Co., Ltd., ZMD400 Features Fully compliant 802.15.4 Standard

More information

Chapter 1 Microprocessor architecture ECE 3120 Dr. Mohamed Mahmoud http://iweb.tntech.edu/mmahmoud/ mmahmoud@tntech.edu Outline 1.1 Computer hardware organization 1.1.1 Number System 1.1.2 Computer hardware

More information

UNIT IV MICROCONTROLLER

UNIT IV MICROCONTROLLER UNIT IV 8051- MICROCONTROLLER Prepared by R. Kavitha Page 1 Application Prepared by R. Kavitha Page 2 Pin Description of the 8051 UNIT IV- 8051 MICROCONTROLLER P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7 RST

More information

D68HC11K 8-bit Microcontroller

D68HC11K 8-bit Microcontroller D68HC11K 8-bit Microcontroller ver 1.06 OVERVIEW Document contains brief description of D68HC11K core functionality. The D68HC11K is an advanced 8-bit MCU IP Core with highly sophisticated, on-chip peripheral

More information

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085. (1) Draw and explain the internal architecture of 8085. The architecture of 8085 Microprocessor is shown in figure given below. The internal architecture of 8085 includes following section ALU-Arithmetic

More information

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture Department of Electrical Engineering Lecture 4 The 8051 Architecture 1 In this Lecture Overview General physical & operational features Block diagram Pin assignments Logic symbol Hardware description Pin

More information

Interconnects, Memory, GPIO

Interconnects, Memory, GPIO Interconnects, Memory, GPIO Dr. Francesco Conti f.conti@unibo.it Slide contributions adapted from STMicroelectronics and from Dr. Michele Magno, others Processor vs. MCU Pipeline Harvard architecture Separate

More information

E3940 Microprocessor Systems Laboratory. Introduction to the Z80

E3940 Microprocessor Systems Laboratory. Introduction to the Z80 E3940 Microprocessor Systems Laboratory Introduction to the Z80 Andrew T. Campbell comet.columbia.edu/~campbell campbell@comet.columbia.edu E3940 Microprocessor Systems Laboratory Page 1 Z80 Laboratory

More information

INTEL Architectures GOPALAKRISHNAN IYER FALL 2009 ELEC : Computer Architecture and Design

INTEL Architectures GOPALAKRISHNAN IYER FALL 2009 ELEC : Computer Architecture and Design INTEL Architectures GOPALAKRISHNAN IYER FALL 2009 GBI0001@AUBURN.EDU ELEC 6200-001: Computer Architecture and Design Silicon Technology Moore s law Moore's Law describes a long-term trend in the history

More information

ECE 372 Microcontroller Design Parallel IO Ports - Interrupts. ECE 372 Microcontroller Design Parallel IO Ports - Interrupts

ECE 372 Microcontroller Design Parallel IO Ports - Interrupts. ECE 372 Microcontroller Design Parallel IO Ports - Interrupts Interrupts An interrupt can be compared with a phone call interrupting your task which you will resume when the call is finished You can mask an interrupt just as you can decide not to answer any phone

More information

EE4390 Microprocessors

EE4390 Microprocessors EE4390 Microprocessors Lessons 23, 24 - Exceptions - Resets and Interrupts Revised: Aug 1, 2003 1 - Exceptions - Resets and Interrupts Polling vs. Interrupts Exceptions: Resets and Interrupts 68HC12 Exceptions

More information

1.3inch OLED User Manual

1.3inch OLED User Manual 1.3inch OLED User Manual 1. Key Parameters Table 1: Key Parameters Driver Chip SH1106 Interface 3-wire SPI 4-wire SPI I2C Resolution 128*64 Display Size 1.3 inch Dimension 29mm*33mm Colors Yellow, Blue

More information

Programming Microcontroller Assembly and C

Programming Microcontroller Assembly and C Programming Microcontroller Assembly and C Course Number CLO : 2 Week : 5-7 : TTH2D3 CLO#2 Student have the knowledge to create basic programming for microcontroller [C3] Understand how to program in Assembly

More information

History and Basic Processor Architecture

History and Basic Processor Architecture History and Basic Processor Architecture History of Computers Module 1 Section 1 What Is a Computer? An electronic machine, operating under the control of instructions stored in its own memory, that can

More information

< W3150A+ / W5100 Application Note for SPI >

< W3150A+ / W5100 Application Note for SPI > < W3150A+ / W5100 Application Note for SPI > Introduction This application note describes how to set up the SPI in W3150A+ or W5100. Both the W3150A+ and W5100 have same architecture. W5100 is operated

More information

Babu Madhav Institute of Information Technology, UTU

Babu Madhav Institute of Information Technology, UTU Course: 060010901 Embedded System Unit 1 Introduction to Embedded System SHORT QUESTIONS: 1. What is an embedded system? 2. State the definition of embedded system given by Wayne Wolf. 3. State the full

More information

ME 4447/6405. Microprocessor Control of Manufacturing Systems and Introduction to Mechatronics. Instructor: Professor Charles Ume LECTURE 6

ME 4447/6405. Microprocessor Control of Manufacturing Systems and Introduction to Mechatronics. Instructor: Professor Charles Ume LECTURE 6 ME 4447/6405 Microprocessor Control of Manufacturing Systems and Introduction to Mechatronics Instructor: Professor Charles Ume LECTURE 6 MC9S12C Microcontroller Covered in Lecture 5: Quick Introduction

More information

MC68HC05J1A/D Rev. 1.0 HC 5 MC68HC05J1A MC68HCL05J1A MC68HSC05J1A. HCMOS Microcontroller Units TECHNICAL DATA

MC68HC05J1A/D Rev. 1.0 HC 5 MC68HC05J1A MC68HCL05J1A MC68HSC05J1A. HCMOS Microcontroller Units TECHNICAL DATA MC68HC0J1A/D Rev. 1.0 HC MC68HC0J1A MC68HCL0J1A MC68HSC0J1A HCMOS Microcontroller Units TECHNICAL DATA Technical Data Motorola reserves the right to make changes without further notice to any products

More information

Question Bank Microprocessor and Microcontroller

Question Bank Microprocessor and Microcontroller QUESTION BANK - 2 PART A 1. What is cycle stealing? (K1-CO3) During any given bus cycle, one of the system components connected to the system bus is given control of the bus. This component is said to

More information

MICROPROCESSOR MCQs. 1) What does the microprocessor comprise of? a. Register section b. One or more ALU c. Control unit d.

MICROPROCESSOR MCQs. 1) What does the microprocessor comprise of? a. Register section b. One or more ALU c. Control unit d. 1) What does the microprocessor comprise of? a. Register section b. One or more ALU c. Control unit 2) What is stored by a register? a. data b. operands c. memory MICROPROCESSOR MCQs 3) Accumulator based

More information

MC68HC12 Parallel I/O

MC68HC12 Parallel I/O EEL 4744C: Microprocessor Applications Lecture 6 Part 2 MC68HC12 Parallel I/O Dr. Tao Li 1 Software and Hardware Engineering (new version): Chapter 11 Or SHE (old version): Chapter 7 And Reading Assignment

More information

Real-Time Embedded Systems. CpE-450 Spring 06

Real-Time Embedded Systems. CpE-450 Spring 06 Real-Time Embedded Systems CpE-450 Spring 06 Class 5 Bruce McNair bmcnair@stevens.edu 5-1/42 Interfacing to Embedded Systems Distance 100 m 10 m 1 m 100 cm 10 cm "Transmission line" capacitance ( C) Distance

More information

PROGRAM CONTROL UNIT (PCU)

PROGRAM CONTROL UNIT (PCU) nc. SECTION 5 PROGRAM CONTROL UNIT (PCU) MOTOROLA PROGRAM CONTROL UNIT (PCU) 5-1 nc. SECTION CONTENTS 5.1 INTRODUCTION........................................ 5-3 5.2 PROGRAM COUNTER (PC)...............................

More information

Lecture 1. Course Overview and The 8051 Architecture

Lecture 1. Course Overview and The 8051 Architecture Lecture 1 Course Overview and The 8051 Architecture MCUniversity Program Lectures 8051 architecture t System overview of C8051F020 8051 instruction set System clock, crossbar and GPIO Assembler directives

More information

AN1228. Motorola Semiconductor Application Note. Interfacing the M68HC05 MCU to the MC A/D Converter. Freescale Semiconductor, I.

AN1228. Motorola Semiconductor Application Note. Interfacing the M68HC05 MCU to the MC A/D Converter. Freescale Semiconductor, I. nc. Motorola Semiconductor Order this document by AN1228/D Rev. 2.0 AN1228 Interfacing the M68HC05 MCU to the MC145051 A/D Converter By Mark Glenewinkel CSIC Applications Austin, Texas Introduction This

More information

Introduction to Microcontrollers

Introduction to Microcontrollers Introduction to Microcontrollers Embedded Controller Simply an embedded controller is a controller that is embedded in a greater system. One can define an embedded controller as a controller (or computer)

More information

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY CHAPTER 5 : Introduction to Intel 8085 Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY The 8085A(commonly known as the 8085) : Was first introduced in March 1976 is an 8-bit microprocessor with 16-bit address

More information

CS/ECE 5780/6780: Embedded System Design

CS/ECE 5780/6780: Embedded System Design CS/ECE 5780/6780: Embedded System Design John Regehr Lecture 2: 68HC12 Architecture & Lab 1 Introduction Duff s Device void foo (int x, int *y, int *z) { switch (x % 8) { case 0: do { *y++ = *z++; case

More information

6.111 Final Project Jonathan Downey Lauri Kauppila Brian Myhre

6.111 Final Project Jonathan Downey Lauri Kauppila Brian Myhre 6.111 Final Project Jonathan Downey Lauri Kauppila Brian Myhre Project Motivation Distinct Sub-systems Complex Behavior and Architecture FPGA Required Not Possible with Microcontroller Large Amount of

More information

Application Note. Interfacing the CS5521/22/23/24/28 to the 68HC05. Figure 1. 3-Wire and 4-Wire Interfaces

Application Note. Interfacing the CS5521/22/23/24/28 to the 68HC05. Figure 1. 3-Wire and 4-Wire Interfaces Application Note Interfacing the CS5521/22/23/24/28 to the 68HC05 TABLE OF CONTENTS 1. INTRODUCTION... 1 2. ADC DIGITAL INTERFACE... 1 3. SOFTWARE DESCRIPTION... 2 3.1 Initialize... 2 3.2 Write Channel

More information

Chapter 7 Central Processor Unit (S08CPUV2)

Chapter 7 Central Processor Unit (S08CPUV2) Chapter 7 Central Processor Unit (S08CPUV2) 7.1 Introduction This section provides summary information about the registers, addressing modes, and instruction set of the CPU of the HCS08 Family. For a more

More information

Fredrick M. Cady. Assembly and С Programming forthefreescalehcs12 Microcontroller. шт.

Fredrick M. Cady. Assembly and С Programming forthefreescalehcs12 Microcontroller. шт. SECOND шт. Assembly and С Programming forthefreescalehcs12 Microcontroller Fredrick M. Cady Department of Electrical and Computer Engineering Montana State University New York Oxford Oxford University

More information

Chapter x96 Family Microcontrollers

Chapter x96 Family Microcontrollers Chapter 14 80x96 Family Microcontrollers Port P0 Reset Osc PTS AMUX S/H ADC IR ID Interrupt Control HSO HSI T1 Baud Execution unit PC WDT SI PSW AD0-AD8 T2 P3 PWM SP P4 T2CAP IO and internal devices SFRs

More information

EE 308: Microcontrollers

EE 308: Microcontrollers EE 308: Microcontrollers AVR Architecture Aly El-Osery Electrical Engineering Department New Mexico Institute of Mining and Technology Socorro, New Mexico, USA January 23, 2018 Aly El-Osery (NMT) EE 308:

More information

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT I THE 8085 & 8086 MICROPROCESSORS. PART A (2 Marks)

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT I THE 8085 & 8086 MICROPROCESSORS. PART A (2 Marks) MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI-621213. UNIT I THE 8085 & 8086 MICROPROCESSORS PART A (2 Marks) 1. Give the significance of SIM and RIM instruction available in 8085. [NOV/DEC 2006] Instruction

More information

HC05 MC68HC05P18 MC68HC805P18. Advance Information. Freescale Semiconductor, Inc. Archived Order this document by MC68HC805P18/D Rev. 2.

HC05 MC68HC05P18 MC68HC805P18. Advance Information. Freescale Semiconductor, Inc. Archived Order this document by MC68HC805P18/D Rev. 2. Archived 200. Order this document by MC68HC80P18/D Rev. 2.0. HC0 MC68HC0P18 MC68HC80P18 ARCHIVED 200 Advance Information This document contains information on a new product. Specifications and information

More information

AN510 Using SPI protocol with pressure sensor modules

AN510 Using SPI protocol with pressure sensor modules 1 USING SPI PROTOCOL WITH PRESSURE SENSOR MODULES This application note describes the possibility of communication between a microcontroller and MEAS Switzerland's pressure sensor modules (MS55XX series)

More information

8-bit Microcontroller with 1K Byte of In-System Programmable Flash AT90S1200

8-bit Microcontroller with 1K Byte of In-System Programmable Flash AT90S1200 Features Utilizes the AVR RISC Architecture AVR High-performance and Low-power RISC Architecture 89 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General-purpose Working Registers Up to

More information

The CPU and Memory. How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram:

The CPU and Memory. How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram: The CPU and Memory How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram: 1 Registers A register is a permanent storage location within

More information

Subject Code: Model Answer Page No: /25

Subject Code: Model Answer Page No: /25 Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written by candidate

More information

8051 microcontrollers

8051 microcontrollers 8051 microcontrollers Presented by: Deepak Kumar Rout Synergy Institute of Engineering and Technology, Dhenkanal Chapter 2 Introduction Intel MCS-51 family of microcontrollers consists of various devices

More information

HC11 MC68HC11F1. Technical Data

HC11 MC68HC11F1. Technical Data HC11 MC68HC11F1 Technical Data Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding the suitability

More information

Serial Communication. Simplex Half-Duplex Duplex

Serial Communication. Simplex Half-Duplex Duplex 1.5. I/O 135 Serial Communication Simplex Half-Duplex Duplex 136 Serial Communication Master-Slave Master Master-Multi-Slave Master Slave Slave Slave (Multi-)Master Multi-Slave Master Slave Slave Slave

More information

An SPI Temperature Sensor Interface with the Z8 Encore! SPI Bus

An SPI Temperature Sensor Interface with the Z8 Encore! SPI Bus Application Note An SPI Temperature Sensor Interface with the Z8 Encore! SPI Bus AN012703-0608 Abstract This Application Note provides an overview of Zilog s Z8 Encore! Serial Peripheral Interface (SPI)

More information

BASIC INTERFACING CONCEPTS

BASIC INTERFACING CONCEPTS Contents i SYLLABUS UNIT - I 8085 ARCHITECTURE Introduction to Microprocessors and Microcontrollers, 8085 Processor Architecture, Internal Operations, Instructions and Timings, Programming the 8085-Introduction

More information

Interfacing the HI7190 to a Microcontroller

Interfacing the HI7190 to a Microcontroller Interfacing the to a Microcontroller Application Note September 1995 AN9527 Authors: Stephen LaJeunesse and John Kornblum Introduction The Intersil is a 24-bit monolithic instrumentation sigma delta A/D

More information

Basics of Microprocessor

Basics of Microprocessor Unit 1 Basics of Microprocessor 1. Microprocessor Microprocessor is a multipurpose programmable integrated device that has computing and decision making capability. This semiconductor IC is manufactured

More information

ET-BASE AVR ATmega64/128

ET-BASE AVR ATmega64/128 ET-BASE AVR ATmega64/128 ET-BASE AVR ATmega64/128 which is a Board Microcontroller AVR family from ATMEL uses MCU No.ATmega64 and ATmega128 64PIN. Board ET-BASE AVR ATmega64/128 uses MCU s resources on

More information

AVR Microcontrollers Architecture

AVR Microcontrollers Architecture ก ก There are two fundamental architectures to access memory 1. Von Neumann Architecture 2. Harvard Architecture 2 1 Harvard Architecture The term originated from the Harvard Mark 1 relay-based computer,

More information

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor 1 2 A microprocessor is a single, very-large-scale-integration (VLSI) chip that contains many digital circuits that perform arithmetic, logic, communication, and control functions. When a microprocessor

More information

S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING

S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING QUESTION BANK Subject Code : EC307 Subject Name : Microprocessor and Interfacing Year & Sem : III Year, V Sem

More information

8-bit Microcontroller ver 1.06

8-bit Microcontroller ver 1.06 D68HC11E 8-bit Microcontroller ver 1.06 OVERVIEW Document contains brief description of D68HC11E core functionality. The D68HC11E is an advanced 8-bit MCU IP Core with highly sophisticated, on-chip peripheral

More information

The Freescale MC908JL16 Microcontroller

The Freescale MC908JL16 Microcontroller Ming Hsieh Department of Electrical Engineering EE 459Lx - Embedded Systems Design Laboratory The Freescale MC908JL16 Microcontroller by Allan G. Weber 1 Introduction The Freescale MC908JL16 (also called

More information

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text In this lecture the detailed architecture of 8051 controller, register bank,

More information

Digital System Design Using Verilog. - Processing Unit Design

Digital System Design Using Verilog. - Processing Unit Design Digital System Design Using Verilog - Processing Unit Design 1.1 CPU BASICS A typical CPU has three major components: (1) Register set, (2) Arithmetic logic unit (ALU), and (3) Control unit (CU) The register

More information

MC68HC908JB8 MC68HC08JB8 MC68HC08JT8

MC68HC908JB8 MC68HC08JB8 MC68HC08JT8 MC68HC908JB8 MC68HC08JB8 MC68HC08JT8 Technical Data M68HC08 Microcontrollers MC68HC908JB8/D Rev. 2.3 9/2005 freescale.com MC68HC908JB8 MC68HC08JB8 MC68HC08JT8 Technical Data To provide the most up-to-date

More information

3.3V regulator. JA H-bridge. Doc: page 1 of 7

3.3V regulator. JA H-bridge. Doc: page 1 of 7 Digilent Cerebot Board Reference Manual Revision: 11/17/2005 www.digilentinc.com 215 E Main Suite D Pullman, WA 99163 (509) 334 6306 Voice and Fax Overview The Digilent Cerebot Board is a useful tool for

More information

MSMF GATE CENTRE. Sub: MICROPROCESSORS. Time: 50min Date: Marks:33

MSMF GATE CENTRE. Sub: MICROPROCESSORS. Time: 50min Date: Marks:33 MSMF GATE CENTRE Sub: MICROPROCESSORS Time: 50min Date:20-12-16 Marks:33 1. Which interrupt has highest priority in 8085 microprocessor? a) INTR b) RST 4.5 c) RST 6.5 d) RST 7.5 2. In 8085 microprocessor,

More information

Hercules ARM Cortex -R4 System Architecture. Processor Overview

Hercules ARM Cortex -R4 System Architecture. Processor Overview Hercules ARM Cortex -R4 System Architecture Processor Overview What is Hercules? TI s 32-bit ARM Cortex -R4/R5 MCU family for Industrial, Automotive, and Transportation Safety Hardware Safety Features

More information

The Microcontroller. Lecture Set 3. Major Microcontroller Families. Example Microcontroller Families Cont. Example Microcontroller Families

The Microcontroller. Lecture Set 3. Major Microcontroller Families. Example Microcontroller Families Cont. Example Microcontroller Families The Microcontroller Lecture Set 3 Architecture of the 8051 Microcontroller Microcontrollers can be considered as self-contained systems with a processor, memory and I/O ports. In most cases, all that is

More information

In 8086 Carry flag, Parity flag, Auxiliary carry flag, Zero flag, Overflow flag, Trace flag, Interrupt flag, Direction flag, and Sign flag.

In 8086 Carry flag, Parity flag, Auxiliary carry flag, Zero flag, Overflow flag, Trace flag, Interrupt flag, Direction flag, and Sign flag. What is a Microprocessor? Microprocessor is a program-controlled device, which fetches the instructions from memory, decodes and executes the instructions. Most Micro Processor are single- chip devices.

More information