Chapter 14. Motorola MC68HC11 Family MCU Architecture

Similar documents
Microcomputer Architecture and Programming

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

Microprocessors/Microcontrollers

MOXSYN. General Description. Features. Symbol

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

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

3. The MC6802 MICROPROCESSOR

Chapter 1. Microcontroller Overview

8051 Microcontroller

EE 3170 Microcontroller Applications

M68HC11 E SERIES HCMOS MICROCONTROLLER UNIT

ME 4447 / ME 6405: Introduction to Mechatronics

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

MC68HC908GR8A MC68HC908GR4A Data Sheet

SECTION 5 RESETS AND INTERRUPTS

Mark II Aiken Relay Calculator

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

Microcontrollers and Interfacing

spi 1 Fri Oct 13 13:04:

Introduction to Computers - Chapter 4

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

Three criteria in Choosing a Microcontroller

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

MC68HC908GR16 Data Sheet

8051 Microcontroller

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

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

Microcontrollers. Microcontroller

CMD711-EX Development Board

PARALLEL COMMUNICATIONS

Input/Output Modes Chapter 8

C8051F700 Serial Peripheral Interface (SPI) Overview

Raspberry Pi - I/O Interfaces

EE 3170 Microcontroller Applications

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

Introduction to Microcontrollers

Chapter 9. Programming Framework

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

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

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


UNIT IV MICROCONTROLLER

D68HC11K 8-bit Microcontroller

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

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

Interconnects, Memory, GPIO

E3940 Microprocessor Systems Laboratory. Introduction to the Z80

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

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

EE4390 Microprocessors

1.3inch OLED User Manual

Programming Microcontroller Assembly and C

History and Basic Processor Architecture

< W3150A+ / W5100 Application Note for SPI >

Babu Madhav Institute of Information Technology, UTU

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

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

Question Bank Microprocessor and Microcontroller

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

MC68HC12 Parallel I/O

Real-Time Embedded Systems. CpE-450 Spring 06

PROGRAM CONTROL UNIT (PCU)

Lecture 1. Course Overview and The 8051 Architecture

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

Introduction to Microcontrollers

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

CS/ECE 5780/6780: Embedded System Design

6.111 Final Project Jonathan Downey Lauri Kauppila Brian Myhre

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

Chapter 7 Central Processor Unit (S08CPUV2)

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

Chapter x96 Family Microcontrollers

EE 308: Microcontrollers

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

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

AN510 Using SPI protocol with pressure sensor modules

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

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

Subject Code: Model Answer Page No: /25

8051 microcontrollers

HC11 MC68HC11F1. Technical Data

Serial Communication. Simplex Half-Duplex Duplex

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

BASIC INTERFACING CONCEPTS

Interfacing the HI7190 to a Microcontroller

Basics of Microprocessor

ET-BASE AVR ATmega64/128

AVR Microcontrollers Architecture

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

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

8-bit Microcontroller ver 1.06

The Freescale MC908JL16 Microcontroller

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

Digital System Design Using Verilog. - Processing Unit Design

MC68HC908JB8 MC68HC08JB8 MC68HC08JT8

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

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

Hercules ARM Cortex -R4 System Architecture. Processor Overview

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

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

Transcription:

Chapter 14 Motorola MC68HC11 Family MCU Architecture

Lesson 1 68HC11 MCU Architecture overview 2

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

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

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

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

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

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

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

68HC11 Architecture Overview 10

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Summary

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

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

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

End of Lesson 1 on MCU Architecture overview

THANK YOU 37