110 likes | 347 Views
ECP2036. MICROPROCESSOR SYSTEM AND INTERFACING. Faculty of Engineering Trimester 1 2002/2003. Multimedia University. Lecturers/Tutors and Groups. Lecturers : Mr. Nor Azhar – Course Coordinator - (Chapter 1 & 5)
E N D
ECP2036 MICROPROCESSOR SYSTEM AND INTERFACING Faculty of Engineering Trimester 1 2002/2003 Multimedia University
Lecturers/Tutors and Groups Lecturers: Mr. Nor Azhar – Course Coordinator - (Chapter 1 & 5) Mr. Md Shabiul Islam - (Chapter 2 & 6) Mr. Goi Bok Min - (Chapter 3 & 4) Tutors: Mr. Nor Azhar – (A02, B02 & C02) Mr. Md Shabiul Islam – (A01, B01 & C01) Mr. Goi Bok Min – (A03, B03 & C03) Mr. Hezerul – (A05, B05 & C05) Mr. Ng Mow Song – (A04, B04 & C04)
Objective: To introduce: • microprocessors and microcontroller • assembly language programming • interface design Contents: • basics of microprocessors and microcontroller • 8051 microcontroller • assembly language programming • peripheral devices • interrupt system • interfacing MP1: Familiarization with the SK-8051 trainer and programming fundamentals. MP2: Stepper motor controls.
Prerequisite & Delivery Prerequisite: • Digital Logic Design (EEN 1032) • Preferably some programming experience Delivery: • Lectures – 2 to 3 sessions per week • Tutorials – 1 session per week (Attendance!!) • Laboratory Experiments – 2 sets of experiments MP1: Familiarization with the SK-8051 trainer and programming fundamentals. MP2: Stepper motor controls.
Assessment • Lab Experiments: (start on Week 2) = 10% • Midterm Test: (before midterm break) = 15% • Project: (group basis) = 15% • Final Exam: = 60%
Text & References • Main Text Books: • 1. Scott MacKenzie, “The 8051 Microcontroller” (Second • Edition), Prentice-Hall Inc., U.S.A., 1995. • 2. Muhammad Ali Mazidi “The 8051 Microcontroller and • embedded systems”, Prentice-Hall Inc., U.S.A, 2000. • References: • Richard H. Barnett, “The 8051 Family of Microcontrollers”, • Prentice-Hall Inc., U.S.A., 1995. • John B. Peatman, “Design with Microcontollers”, McGraw-Hill, • U.S.A., 1988. • Ramesh S. Gaonkar, " Microprocessor Architecture, Programming • and application with the 8085", Prentice-Hall Inc,U.S.A.,1999 (4th Ed). • Barry B.Brey, " The Intel Microprocessors", Prentice-Hall Inc,U.S.A., • 2000.
REVIEW Review of Number Systems: • Decimal to Binary & vice versa • Hexadecimal to Binary & vice versa • Octal to Binary & vice versa eg: - Convert 6210 to Binary - Convert 1111112to Decimal - Convert D716 to Binary Alphanumeric Codes: - Alphabets (A, B, C, …), Numbers (1,2,3,…), and characters ( $, *,…) are represented by a unique binary code. Alphabets (A, B, C, …), Numbers (1,2,3,…), and Characters ( $, *,…) are represented by a unique binary code.
REVIEW (cont.) ASCII code: - A character is represented by a 7 digit binary number (X6…X0) BCD code: - Each decimal digit is represented by its' 4-bit binary equivalent. 1’s and 2’s Complement: - A 1's complement = A' 2’s complement = A' + 1
REVIEW (cont.) eg. on 1’s and 2’s Complement : 710 = 01112 = X -710 = 10012 = X’+ 1 2's complement of any number represents its' negative counterpart.
What is a microprocessor? It is a digital system in single chip capable of performing Arithmetic What is a system? Interconnection of components to perform specified functions is referred to a system. If all the components are digital in nature, it is called a digital system. What is a combination circuit ? The output is decided by the current input only. What is a Sequential circuit ? The output is decided by the current input and the previous state of the output. A sequential circuit should have a memory element.
Input Output CPU / MP Memory Stored Program Computer