Presentation on theme: "MICROPROCESSOR SYSTEM AND INTERFACING Faculty of Engineering Trimester 1 2002/2003 ECP2036 Multimedia University."— Presentation transcript:
MICROPROCESSOR SYSTEM AND INTERFACING Faculty of Engineering Trimester /2003 ECP2036 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.
Text & References Main Text Books: 1. Scott MacKenzie, The 8051 Microcontroller (Second Edition), Prentice-Hall Inc., U.S.A., Muhammad Ali Mazidi The 8051 Microcontroller and embedded systems, Prentice-Hall Inc., U.S.A, References: Richard H. Barnett, The 8051 Family of Microcontrollers, Prentice-Hall Inc., U.S.A., John B. Peatman, Design with Microcontollers, McGraw-Hill, U.S.A., Ramesh S. Gaonkar, " Microprocessor Architecture, Programming and application with the 8085", Prentice-Hall Inc,U.S.A.,1999 (4 th 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 to Binary - Convert to Decimal - Convert D7 16 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 (X 6 …X 0 ) BCD code: - Each decimal digit is represented by its' 4-bit binary equivalent. 1s and 2s Complement: - A 1's complement = A' 2s complement = A' + 1
REVIEW (cont.) eg. on 1s and 2s Complement : 7 10 = = X = = 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.
Stored Program Computer InputOutput CPU / MP Memory