Dansk - English

Short version - Full version


Digital Electronics 2 (Spring 2013)

Course code : EPRODE2-U1
ECTS Credits : 10 Status : Compulsory
Revised : 22/12 2011 Written : 22/12 2011
Placement : 2. semester Hours per week : 8
Length : 1 semester Teaching Language : English if English students are present

Objective : To provide the student with a foundation in microprocessor systems, enabling the student to understand the functionality of a microprocessor and to use microprocessors in the design of electronic systems – typically embedded systems.
The student will acquire a basic knowledge of the structure and functioning of a microcontroller, of microprocessor interfacing to peripheral devices, and of microprocessor programming using applicable programming languages such as C.

Learning outcomes:
The student should be able to

• Describe the main components of a microprocessor system (CPU, memory, I/O) and their interconnection and interaction.
• Describe the structure and functioning of a microprocessor – including the structure of instructions, types of instructions, execution of instructions, and the use of registers in connection with data manipulation and addressing.
• Describe basic principles in the interaction between a microprocessor and peripheral devices, including data buses, I/O ports and serial communication protocols.
• Describe the structure of memory, memory technology and their location in the memory hierarchy.
• Describe and show how a compiler transforms a source program into a running machine code program.
• Design and implement microprocessor programs in appropriate programming languages – such as C or C++.
• Design and implement peripheral devices and connecting them to a microcontroller.
• Use digital circuits to implement electronic devices, which can be used in a microprocessor system and controlled by a microprocessor program.
• Apply the interrupt system as a mechanism for synchronization of hardware and software events.
• Perform tests of hardware- as well as software components in a microprocessor system.
Principal Content : • Microprocessor hardware, architecture, and function.
• Principles for designing and connecting peripheral devices.
• Principles for communicating with peripheral devices via parallel and serial protocols.
• Interrupts and their use within program control.
• Programming languages for embedded systems (typically C/C++)
• Tools for program development and debugging.
Teaching method : Classroom teaching with exercises and a group project
Required prequisites : DIG1 and PROG1
Recommended prerequisites : -
Relations : DIGEP2 is normally taken simultaneously with software engineering PROGP2. The projects in DIGEP2 and PROGP2 are preferably connected together and delivered as a single report.
Type of examination : Look under remarks
External examiner : External
Marking : 7 step scale
Remarks : Oral examination based on the project report. Admission for the exam requires that a report has been delivered before the specified deadline. If DIGEP2 is taken simultaneously with PROGP2 then the report should normally cover both projects.
The group makes a presentation after which each student is asked questions individually about the project as well as theory questions.

7 step scale

Evaluation:
2: A presentation meeting only the minimum requirements for acceptance
7: A fair presentation that demonstrates some command of the relevant material but containing some major weaknesses.
12: An excellent presentation that demonstrates a high level of command of all aspects of the relevant material and containing no or only few weaknesses
Teaching material : Author: Peter Ashenden:
Title: Digital Design: An Embedded Systems Approach Using VHDL
Publisher: Morgan-Kaufmann
ISBN 978-0123695284
Optional supplementary literature:
Author: Muhammad Ali Mazidi, Sard Naimi, Sepehr Naimi:
The AVR microcontroller and embedded system using assembly and C.
Publisher: Pearson
ISBN 978-0-13-800331-9
Responsible teacher : Agnethe Rald , agra@dtu.dk