14
ECE 371 Microprocessor Interfacing Unit 1- Introduction

ECE 371 Microprocessor Interfacing Unit 1- Introduction

Embed Size (px)

Citation preview

Page 1: ECE 371 Microprocessor Interfacing Unit 1- Introduction

ECE 371Microprocessor Interfacing

Unit 1- Introduction

Page 2: ECE 371 Microprocessor Interfacing Unit 1- Introduction

Class Handout Material

• Syllabus

Page 3: ECE 371 Microprocessor Interfacing Unit 1- Introduction

Prerequisites

• ECE 272 – C or better grade

• ECE 262 – C or better grade

• C programming language

• Prerequisites are strictly enforced

Page 4: ECE 371 Microprocessor Interfacing Unit 1- Introduction

ECE 371 Text

• Embedded Systems – Design and Applications with the 68HC12 and HCS12– By Steven F. Barrett and Daniel J. Pack– Pearson - Prentice Hall 2005

• ECE 371 Laboratory Manual (Blackboard)

(68HC12 Family Data Sheets (Web)• Axiom Data Sheet (Web)• 68HC12 Software Tools (Web)

Page 5: ECE 371 Microprocessor Interfacing Unit 1- Introduction

Reading Assignment

• Read Chapter 1 of Text

• Read Chapter 2 of Text

• Read Chapter 3 of Text

Page 6: ECE 371 Microprocessor Interfacing Unit 1- Introduction

COMPUTER SYSTEM

ALU

CONTROLUNIT

MEMORY

I/O PORTS

CPU

BUSES

Page 7: ECE 371 Microprocessor Interfacing Unit 1- Introduction

MICROPROCESSOR SYSTEM

ALU

CONTROLUNIT

MEMORY

I/O PORTS

CPU

BUSES

Page 8: ECE 371 Microprocessor Interfacing Unit 1- Introduction

MICROCONTROLLER SYSTEM

ALU

CONTROLUNIT

MEMORY

I/O PORTS

CPU

BUSES

EXTERNAL MEMORY AND I/O

Page 9: ECE 371 Microprocessor Interfacing Unit 1- Introduction

EMBEDDED CONTROLLER

AUTOMOTIVE

GOV/MILITARY

MEDICALEQUIPMENT

AEROSPACEELECTRONICS

COMMUNICATIONS/OFFICE AUTOMATION

CONSUMERELECTRONICS

Page 10: ECE 371 Microprocessor Interfacing Unit 1- Introduction
Page 11: ECE 371 Microprocessor Interfacing Unit 1- Introduction

PROCESSOR CHARACTERISTICS RELEVANT TO INTERFACING

INTERNAL FEATURES - REGISTERS AND INTERNAL ARCHITECTURE - FLAGS - RESERVED MEMORY LOCATIONS & PORT ADDRESSES (IF ANY)

Page 12: ECE 371 Microprocessor Interfacing Unit 1- Introduction

PROCESSOR CHARACTERISTICS RELEVANT TO

INTERFACING PIN DEFINITIONS: - POWER REQUIREMENTS - TIMING SOURCE (ALLOWED FREQUENCY RANGE, WAVEFORM SPECS.) - BUS DEFINITION (NO. OF LINES; SHARING OF PINS) - OUTPUT CONTROL SIGNALS (LOGIC, TIMING) - INPUT CONTROL SIGNALS (INTERRUPTS, READY, ETC) - ELECTRICAL CHARACTERISTICS OF PINS (ARE DRIVERS NECESSARY?) - INPUT TEST BITS (IF ANY) -I/O LINES (IF ANY) - EXTERNAL SYNCHRONIZATION FOR MULTI- PROCESSOR SYSTEMS (IF ANY)

Page 13: ECE 371 Microprocessor Interfacing Unit 1- Introduction

PROCESSOR CHARACTERISTICS RELEVANT TO INTERFACING

SOFTWARE - INPUT/OUTPUT INSTRUCTIONS (IF ANY) - BIT OPERATIONS - INTERRUPT CONTROL (SOFTWARE INTERRUPTS; MASKING) - MEMORY ACCESS FLEXIBILITY (FOR MEMORY-MAPPED I/ O) - INSTRUCTIONS THAT HELP COORDINATE MULTI-PROCESSOR SYSTEMS (IF ANY)

Page 14: ECE 371 Microprocessor Interfacing Unit 1- Introduction

Microcontroller Background

• Microcontroller history– http://www.ami.ac.uk/courses/ami4655_micros/u0

1/micro01hist.asp• Microcontrollers today 

– http://en.wikipedia.org/wiki/Microcontroller• Microcontroller  programming

– http://www.esacademy.com/automation/faq/primer/7.htm

• Microcontroller compilers – http://

www.microcontroller.com/EmbeddedSystems.asp?c=17