Course Introduction - University of Manitoba
Transcription
Course Introduction - University of Manitoba
Department of Electrical and Computer Engineering Faculty of Engineering University of Manitoba January, 2015 1 • Prof. Ken Ferens, Ph.D., P.Eng. • Room: E1-544 EITC • Telephone: (204) 474-8517 • Email: Ken.Ferens@umanitoba.ca • Office Hours: Anytime, anywhere. 2 • Required Textbook – Microprocessing Systems - Ken Ferens (distributed in class) – Cost is $30. • Other References – 68000 Family Assembly Language, by Alan Clements – Using Microprocessors and Microcomputers: The Motorola Family, by Greenfield and Wray – The 68HC11 Microcontroller, by J. D. Greenfield – The Motorola MC68000, by Jean Bacon – Microprocessor Systems Design, by A. Clements – Microcontroller Technology, the 68HC11, by Peter Spasov 3 Please bring $30 to next class Tuesday January 12, and pick up the course book. 4 • Pay $30 for your course text book. • Line up as shown. • If you don’t have $30, please get book and pay later. Last Name: A-K Last Name: L-Z 5 http://ece.eng.umanitoba.ca/undergraduate/EC E3610/ 6 DATE JAN. 06 TIME TOPIC EVAL 11:30 – 12:45 μP Systems First day of class JAN. 18 – 22 2:30 – 5:25 Lab #1 2% FEB. 03 Test #1 10 % 6:00 – 8:00 FEB. 01 – 05 2:30 – 5:25 FEB. 15 FEB. 15 – 19 Lab #2 DESCRIPTION 2% A Tiny Operation Set Calculator: Verilog and FPGA Coverage: Lab #1 & Lectures Programming The HCS12 μP Using The MetroWerks CodeWarrior Development Environment Louis Riel Day. University closed Mid-Term break: No classes or examinations LOCATION E2-110 E3-528: BO1, BO6, B07 E3-558: BO2, BO3, BO4, BO5 E2-110 (A-K); E2-105 (L-Z) E3-528: BO1, BO6, B07 E3-558: BO2, BO3, BO4, BO5 7 DATE FEB. 22 – 26 TIME TOPIC EVAL 2:30 – 5:25 Lab #3 2% MAR. 02 6:00 – 8:00 Test #2 10 % MAR. 07 – 111 2:30 – 5:25 Lab #4 MAR. 18 2% DESCRIPTION LOCATION Programming The HCS12 μP to Compute Square Root and Multiple Precision Unsigned Arithmetic Coverage: Lab #2 & Lectures E3-528: BO1, BO6, B07 E3-558: BO2, BO3, BO4, BO5 E2-130 (A-K); E3-270 (L-Z) Assembler Directives, E3-528: BO1, BO6, B07 The Stack, E3-558: BO2, Subroutines, and BO3, BO4, Bubble Sorting BO5 Last day for Voluntary Withdrawal 8 WORK SCHEDULE (3) DATE TIME TOPIC EVAL MAR. 21 – 25 2:30 – 5:25 Lab #5 2 % APR. 04 APR. 10 TBA 11:59:59 PM 20% Monday 11:30 – 12:45 Final Exam 50 % DESCRIPTION General Purpose IO (GPIO), Push-Button (PB) Switch, and Light Emitting Diode (LED) References LOCATION E3-528: BO1, BO6, B07 E3-558: BO2, BO3, BO4, BO5 Project due date Last day of classes Apr. 10, but our last class will be April 9, 2015. Coverage: Lectures, labs, and TBA Projects 9 Evaluation COMPONENT Labs Project Term Test 1 Term Test 2 Final Examination VALUE 10% 20% 10% 10% DETAILS Answer Questions in the lab and Points to Ponder Due: April 04, 11:59:59 PM Monday February 3; 6:00 –8:00pm; E2-110/E2-105 March 2; 6:00 –8:00pm; E2-110/E2-105 50% TBA 10 PROJECT (1) # PROJECT 6 5 4 3 Data Communications Part 4 Data Communications Part 3 Data Communications Part 1 Data Communications Part 2 DESCRIPTION μC1 sends data to μC2 using a dual-port FIFO, using DMA. The system uses the direct memory access (DMA) method to send the data. μC1 receives data to μC2 using a dual-port FIFO, using DMA. The system uses the direct memory access (DMA) method to send the data. μC1 sends data to μC2 using a dual-port FIFO, using DMA. The system uses the indirect memory access (IDMA) method to send the data. μC1 receives data to μC2 using a dual-port FIFO, using DMA. The system uses the indirect memory access (IDMA) method to send the data. 2 Digital Stop Watch A microprocessor based digital stop watch. 1 Digital Waveform A microprocessor based waveform generator. Generator 11 PROJECT (2) # 9 8 7 PROJECT DESCRIPTION A Microprocessing system to control the direction and speed of a robot. The robot is to be programmed to follow a strip of white tape placed on a black background. A digital TV router. A microprocessor inputs digital video packets from a digital TV data server, and routes the packets to one of two A Digital TV Router TV stations. The TV data packets are switched based on the Channel ID (CID) descriptor of a data packet. A sound-detection based security system. A microprocessor Sound-Detection monitors sound in a given room. If the sound exceeds a certain Based Security threshold, an alarm is sounded. The system sound the alarm if every 8-bit sample of a 1ms sequence of sound samples is higher System than a given amplitude. The given amplitude is user selectable. Simple Robot Control 12 PROJECT (3) # PROJECT 16 A Multitone Buzzer A microprocessing system to implement a multitoned buzzer. LED pattern display system A Eye-foot Coordination Video Game/System A microprocessing system to implement an LED pattern display system. 15 14 13 12 11 Stepper Motor DESCRIPTION A microprocessing system to implement an eye-foot coordination game/exercise. A Microprocessing system to control a stepper motor. Nitrogen monitoring A Microprocessing system to monitor nitrogen pollution in a lake. Rotary switch A Microprocessing system to implement a rotary switch. A Microprocessing system to implement a wireless position and Wireless position and tracking system. The system uses a GPS device to obtain real-time 10 tracking system coordinates of an automobile to report to a central data gathering station. 13 COURSE OUTLINE • Review of number systems, logical operations, and digital circuits • Tiny operation set computer • The basic 8-bit microprocessor • Macro/micro-instruction programmability and animation • Condition code register • Assembly language programming – Addressing modes, computer decisions and branch instructions, transfer, arithmetic, and logic instruction, the stack and subroutines, interrupt service routines. 14 COURSE OUTLINE • • • • • • • • Assemblers Integrated development environment Basic microprocessor interfacing Address decoding in memory mapped systems Memory mapped I/O and interrupts Multiple sources of IRQs and interrupt priority Peripheral interface adapter Memory accessing techniques and direct memory access • Design examples 15 MICROPROCESSOR HIERARCHY Basic Microprocessor Digital Signal Processor Microcontroller MultiProcessing Systems Distributed Systems Multi-Core Processors Soft MultiCore Processors 16 MICROPROCESSOR MANUFACTURERS AMD Hagenuk Microchip QED Synertek AMI Harris Mitsubishi RCA Temic (MHS) C-Cube Hitachi MME Rise Tesla CHIPS HP MIL Renesas TI CMDMicro Hughes MOS Samsung Toshiba Cypress IBM Mostek SGS ULSI Cyrix IDT Motorola Sharp UMC Dallas IIT National Semi. Siemens VIA DEC Inmos NCR Signetics VLSI Electronic Arrays Intel NEC Sony Weitek Fairchild Intersil NexGen SSS WD Fujitsu LC Tech OKI ST WDC GTEu LSI Philips Sun Micro. Zilog SCL Unitra Cemi Pravetz DDR-MME Atmel MHS NKK Performance Semi. SiLabs Transmeta 17 MICROPROCESSOR MANUFACTURERS • Freescale (Motorola spinoff, but now acquired by NXP) – Number 1 in market share for automotive applications – Number 2 in market share for microcontrollers • Microchip – No. 1 supplier of 8-bit microcontrollers • Others – Analog Devices, Texas Instruments, Fujitsu, Hitachi, Intel, National Semiconductor, etc. 18 Source: https://www.databeans.net/ 19 APPLICATIONS OF MICROPROCESSORS • Audio & Speech • Displays – Wireless Audio – Graphical Displays – Segmented LCD • Automotive – Automotive • • • • Battery Management CAN Computers Digital Entertainment Units • • • • • Ethernet High Temperature Home Appliance Lighting LIN 20 APPLICATIONS OF MICROPROCESSORS • • • • • Low Power Medical Metering Motor Control & Drive Industrial & Embedded Systems • Portable Consumer Electronics • Power Management – Intelligent Power • Printing & Other Consumer Electronics • Security & Authentication • Smart Energy • Smartphone Accessories • Touch and Input Sensing – – – – Proximity, Keys and Sliders Touch Screens and Touch Pads 3D Tracking and Gesture Sensing Haptics • USB • Wireless Connectivity – – – – – Bluetooth® Infrared MiWi™ WiFi® ZigBee® 21 • All of the lecture slides I present in class are available on the web site: http://ece.eng.umanitoba.ca/undergraduate/ECE3610/ • I always update the lecture slides prior to the lecture period – Therefore, the best time to download the lecture slides is after the lecture period. – You can download a copy before the lecture period to familiarize yourself with the content that will be presented, but you should get an updated copy after the lecture period. 22 Ways to Study for this Course and Get Grade A • During class periods – Attend all class periods – Listen mostly, but you can take notes in the pages of the book • After class – Download and read the lecture slides, and ensure you understand everything. – Read the associated section in the book for this course. This will solidify your understanding. • Homework assignments – Do all of the homework assignments given in the lecture periods. – Some test questions will be based on the homework assignments. 23 Ways to Study for this Course and Get Grade A • Labs – Attend and do all laboratories – Answer all questions and the Points to Ponder questions in the lab manuals. – Some test questions will be based on the labs. • Tests – Do the recommended practise test questions from tests of previous years. • A list of recommend practise test questions will be given prior to the tests. – The type, format, and example of the test questions will be given in the class period prior to the scheduled test. • Exam and course project – Do a good job on the project for this course. – The final exam will be similar to one of the projects. – Actually, all of the projects have been final exams in previous years. 24