1 Bringing it all together: Exploring the EVB Today: First Hour: Bringing it all together by exploring the EVB –Section 4.1 - 4.7.2 of Huang’s Textbook.

Slides:



Advertisements
Similar presentations
1 ECE 372 – Microcontroller Design Parallel IO Ports - Outputs Parallel IO Ports E.g. Port T, Port AD Used to interface with many devices Switches LEDs.
Advertisements

PROGRAMMABLE PERIPHERAL INTERFACE -8255
MC68HC11 System Overview. System block diagram (A8 version)
EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
Chapter 2 HARDWARE SUMMARY
The 8085 Microprocessor Architecture
1 I/O and Interrupts Today: First Hour: I/O Concepts –Section of Huang’s Textbook –In-class Activity #1 Second Hour: Interrupt Code Example –In-class.
ELEC 330 Digital Systems Engineering Dr. Ron Hayne
1/1/ / faculty of Electrical Engineering eindhoven university of technology Introduction Part 3: Input/output and co-processors dr.ir. A.C. Verschueren.
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
ECE200 – Computer Organization Chapter 8 – Interfacing Processors and Peripherals.
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
Input-Output Problems L1 Prof. Sin-Min Lee Department of Mathematics and Computer Science.
Computer Organization and Assembly language
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
Architecture of the 8051 INTERNAL DATA BUS Oscillator & Timing Programmable I/O (32 Pins) 80C51 CPU 64K byte Expansion Control Serial I/O 4K Program Memory.
Basic Computer Organization CH-4 Richard Gomez 6/14/01 Computer Science Quote: John Von Neumann If people do not believe that mathematics is simple, it.
Chapter 6 Memory and Programmable Logic Devices
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
CS-334: Computer Architecture
ECE 265 – LECTURE 12 The Hardware Interface 8/22/ ECE265.
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
CPU Interfacing Memory.
Address Decoding Memory/IO.
BASIC INPUT AND OUTPUT INTERFACING.  8085A communicate with outside world using the I/O devices.  Since memory and I/O devices share the system bus,
I NTRODUCTION P IN CONFIGARATION O PERATING MODE.
1 Computer Organization Today: First Hour: Computer Organization –Section 11.3 of Katz’s Textbook –In-class Activity #1 Second Hour: Test Review.
(More) Interfacing concepts. Introduction Overview of I/O operations Programmed I/O – Standard I/O – Memory Mapped I/O Device synchronization Readings:
Internal Input/Output Devices (I/O Subsystems)
ECE Lecture 1 Microcontroller Concepts. Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device Data.
Minimum System Requirements Clock Generator Memory Interfacing.
MICROCONTROLLER SYSTEMS Part 1. Figure 1.1Elements of a digital controller CPU Central Processing Unit Input Peripherals Output Peripherals ROM Read Only.
Computer Architecture Lecture 2 System Buses. Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given.
EEE440 Computer Architecture
ELE22MIC Lecture 9 MULTIPLEXOR - DATA SELECTOR DEMULTIPLEXOR - DATA DISTRIBUTOR Parallel to Serial Data Conversion External Address Bus Latching Address.
1 Computer Organization Notes: Test 2 on Thursday TA office hours moved from Fri to Wed this week: Wed 9-11 (Mehul); Wed 12-3 (Vivek) in JEC 6119 Today:
ECEG-3202 Computer Architecture and Organization Chapter 3 Top Level View of Computer Function and Interconnection.
1 Interrupts, Resets Today: First Hour: Interrupts –Section 5.2 of Huang’s Textbook –In-class Activity #1 Second Hour: More Interrupts Section 5.2 of Huang’s.
Programmable Peripheral Interface Parallel port Interface 8255
8254 Timer.
Computer and Information Sciences College / Computer Science Department CS 206 D Computer Organization and Assembly Language.
CIT 673 Created by Suriyong1 Micro controller hardware architechture.
Parallel I/O. Introduction This section focuses on performing parallel input and output operations on the 68HC11 3 operation types – Simple, blind data.
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
1 Expanded Modes, Bus, External Memory Today: First Hour: Expanded Modes, Bus, Timing –Section of Huang’s Textbook –In-class Activity #1 Second.
Chapter Microcontroller
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
8255:Programmable Peripheral Interface
1 Bringing it all together: Exploring the EVB Today: First Hour: Bringing it all together by exploring the EVB –Section of Huang’s Textbook.
Objectives : At the end of this lesson, students should be able to : i.Identify the types of memory chip and their functions. ii.Define the difference.
George W. Woodruff School of Mechanical Engineering, Georgia Tech ME4447/6405 ME 4447/6405 Microprocessor Control of Manufacturing Systems and Introduction.
MICROPROCESSOR INTEL 8086/8088 BY: SERA SYARMILA SAMEON.
MICROPROCESSOR AMARTYA ROY-72 ANGSHUMAN CHATTERJEE-80 ASHISH LOHIA-70 MOLOY CHAKRABORTY-60.
9S12C Multiplexed Bus Expansion
UNIT – Microcontroller.
General Purpose I/O.
Memory Units Memories store data in units from one to eight bits. The most common unit is the byte, which by definition is 8 bits. Computer memories are.
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Introduction to Microprocessors and Microcontrollers
Interfacing Memory Interfacing.
ME 4447/6405 Microprocessor Control of Manufacturing Systems and
Chapter 4 Introduction to Computer Organization
Presentation transcript:

1 Bringing it all together: Exploring the EVB Today: First Hour: Bringing it all together by exploring the EVB –Section of Huang’s Textbook –In-class Activity #1 Second Hour : Course evaluation, Answers to your questions

2 Internal Bus #1 M A R Memory Address Bus M B R Internal Bus #2 Data Bus Register File (A, B, IX, IY, IR) MUX CCRCCR P C Recap: M6811 Datapath ALU A 16 - A 0 D 7 - D 0 The datapath unit consists of registers, buses connecting them, and the ALU

3 Internal Bus #1 M A R Memory Address Bus M B R Internal Bus #2 Data Bus Register File (A, B, IX, IY, IR) MUX CCRCCR P C Recap: M6811 Control Unit ALU A 16 - A 0 D 7 - D 0 Control Unit

4 E R/W AS AD7 - AD0 68HC11 PC7- PC0 A15 - A8 PB7- PB0 MODB MODA Bus Recap: Time-Multiplexed Bus 1 1 Other pins not shown

5 E R/W A15-A8 AD7-AD0LO-ADDRDATA AS XTAL Recap: Bus Timing Diagram HI ADDR Magic Moment #1 Magic Moment #2

6 Recap: De-multiplexing the Address E R/W AS AD7-AD0 68HC11 PC7-PC0 A15-A8 PB7-PB0 MODB MODA Bus 1 1 Other pins not shown D0-D7 Q0-Q7 A0-A7 LS 373 LE Address A0-A7 latched on the falling edge of AS OE 0 Magic Moment #1

7 Bus Interfacing Summary Step 1: Bus Demultiplexing –Use address strobe (AS) and a latch to Demultiplex the address and data lines Step 2: Address Decoding –Use Boolean logic to decode the desired address Chip Select = Compare(A 15 … A 0 = desired address ) AND (E = 1) Step 3: Generate Read/write control signal – Use the second half of E cycle to generate Write Enable signal for RAM chip

8 Recap: Memory Interfacing A2 A1 A0 E3 E2E1 A15 A14 A13 E R/W A12 – A8 AS AD7-AD0 LE D7-D0 O7-O0 OE I/O8 - I/O1 WE CS1 CS2 V DD O2 A12-A0 OE 8K RAM Decoder 68HC11 Latch 74LS00 74LS04 $ $5FFF

9 Recap: Memory-mapped I/O Every I/O device “appears” to the CPU as a memory location –Use LDAA and STAA for input/output Several useful I/O devices, and some memory devices are already interfaced for us on the 6811 chip.

10 Event counter Generate periodic interrupts Periodically check the chip Put code in ROM Put non- volatile data in EEPROM SPI for inter- connecting 6811’s SCI for connecting to host computer Input analog signals Fancy general- purpose timer Bus for expansion

11 Port Replacement Unit (PRU) Recovers PORTB and PORTC in expanded mode E R/W AS AD7-AD0 68HC11 PC7-PC0 A15-A8 PB7-PB0 MODB MODA 1 1 Other pins not shown PORTB PORTC Port Replacement Unit (PRU) STRA STRB EXPANDED MODE

12 Building The EVB 6811 Latch PRU 8K ROM 8K RAM Port A PD0 - 5 Port E Port B Port C AD0 - AD7 A0 - A7 A8 – A15 A0 – A15 AD0 - AD7

13 Adding Communication ACIA 6811 Latch PRU 8K ROM 8K RAM Terminal (P2) Host Computer (P3) RS-232 Drivers & Receivers Port A PD0 - 5 Port E Port B Port C AD0 - AD7 A0 - A7 A8 – A15 A0 – A15 AD0 - AD7 PD1 PD0 TX RX Control RX TX Control RX TX

14 Software Picture of EVB Memory Map –Specifies what addresses are for what –We’ll explore this during the activity BUFFALO Utility Routines –Useful for development & debugging BUFFALO command interpreter Interrupt vector jump table in RAM

15 Where We’re Headed.. Logic design “Toy computer” with –Datapath unit –Control unit –One-level Memory Simple 8-bit computer Logic design “Toy computer” with –Datapath unit –Control unit –One-level Memory Simple 8-bit computer COCO Modern 32-bit Workstation with –Modern Processor –Multi-level memory system –Multi-tasking Operating System –Network Modern 32-bit Workstation with –Modern Processor –Multi-level memory system –Multi-tasking Operating System –Network CANOS

16 Beyond CANOS CANOS Real 32-bit Workstation with –Modern Processor –Multi-level memory system –Multi-tasking Operating System –Network Real 32-bit Workstation with –Modern Processor –Multi-level memory system –Multi-tasking Operating System –Network Networks Operating Systems Operating Systems Parallel Computing Parallel Computing Hardware Design Hardware Design A “gateway” course!

17 Do Activity #1 Now Due: End of Class Today. RETAIN THE LAST PAGE(S) (#3 onwards)!! During studio time this week: Catch up with experiments. Summarize reading of Chapter 4, Chapter 5 (sections ), and Chapter 6 (6.1 – 6.7) Thursday Final Exam Review

18 That’s it!