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
Parul Polytechnic Institute
Advertisements

PROGRAMMABLE PERIPHERAL INTERFACE -8255
MC68HC11 System Overview. System block diagram (A8 version)
Dr A Sahu Dept of Computer Science & Engineering IIT Guwahati.
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
The 8085 Microprocessor Architecture. Contents The 8085 and its Buses. The address and data bus ALU Flag Register Machine cycle Memory Interfacing The.
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 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.
Read Chapter 3 (David E. Simon, An Embedded Software Primer)
Computer Organization Prepared by:Anh Q. Vu Course:CS-147 Professor:Sin-Min Lee Date:Summer
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.
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.
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.
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 I/O Interface A Course in Microprocessor
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.
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.
George W. Woodruff School of Mechanical Engineering, Georgia Tech ME4447/6405 ME 4447/6405 Microprocessor Control of Manufacturing Systems and Introduction.
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:
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
CIT 673 Created by Suriyong1 Micro controller hardware architechture.
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
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.
Group 1 chapter 3 Alex Francisco Mario Palomino Mohammed Ur-Rehman Maria Lopez.
The System Bus. Conceptual CPU Block Diagram Datapath Regs Buses ALU Control Unit Bus Interface IR etc. PC etc. Control Signals Status Signals PSR System.
1 Bringing it all together: Exploring the EVB Today: First Hour: Bringing it all together by exploring the EVB –Section of Huang’s Textbook.
Chapter Microcontroller
8255:Programmable Peripheral Interface
8085 Microprocessor: Architecture & Support Components.
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.
George W. Woodruff School of Mechanical Engineering, Georgia Tech ME4447/6405 ME 4447/6405 Microprocessor Control of Manufacturing Systems and Introduction.
The 8085 Microprocessor Architecture
Place your image on top of this gray box. If no graphic is
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.
The 8085 Microprocessor Architecture
ME 4447/6405 Microprocessor Control of Manufacturing Systems and
Place your image on top of this gray box. If no graphic is
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: 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 Read/Write 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

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 BUFFALO Utility Routines –Useful for development & debugging BUFFALO command interpreter Interrupt vector jump table in RAM

15 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) That’s it. No more new material!