Degree in Health Engineering La Salle Campus Barcelona

Bachelor in Health Engineering

Lead the biomedical engineering that will define the medicine of the future

Digital Systems and Microprocessors

Description
This subject explains the techniques and methodology for the design of digital systems. It begins with the study of sequential systems. From these systems the student can approach the design of synchronous digital systems for a specific process. Next, the design of systems with microprocessors and microcontrollers is studied. The PIC18F4321 microcontroller and its programming with assembler are studied . Finally, the design of software in C for microcontrollers based on the cooperative methodology is addressed . Emphasis is placed on real applications for health engineering.
Type Subject
Tercer - Obligatoria
Semester
First
Course
3
Credits
6.00

Titular Professors

Previous Knowledge

Computational logic (Boolean algebra, combinational functional blocks, synchronous sequential systems). Programming in C. Fundamentals on analog and digital electronics.

Objectives

Students acquire the knowledge and develop the skills indicated below:
In this subject, students acquire the knowledge and develop the skills shown below.
1. Design systems with microprocessors
2. Know the fundamentals, structure, architecture and technology of computers
3. Know the basic fundamentals of operation (hardware and software) of peripheral equipment, timers, display devices, storage, input/output and information transfer.
4. Know how to identify the weaknesses and strengths of a design based on microcontrollers.
5. Know and know how to apply multitasking programming techniques to solve problems.
6. Know how to detect and correct errors on a physical board based on a microcontroller.

Contents

Block 1. Fundamentals on CPU architecture
Lesson 1 - General architecture of a CPU.
Lesson 2 - Memory Organization: Fetch and Decode Instructions, Stack, Addressing
Lesson 3 - Input/Output Ports and Special Function Registers
Block 2. Basic funcions for the PIC18F4321 Microcontroller
Lesson 4 - Introduction to PIC18F4321
Lesson 5 - General operation
Lesson 6 - Memory
Lesson 7 - Instruction Set
Lesson 8 - Stack, Flash, EEPROM
Lesson 9 - Input/Output Ports
Lesson 10 - Timers
Lesson 11 - Interrupts
Block 3. Design and cooperative programming in C
Lesson 12 - EUSART
Lesson 13 - ADC
Lesson 14 - I2C
Lesson 15 - SPI
Lesson 16 - DAC/PWM
Block 4. System considerations
Lesson 17 - Motor drives
Lesson 18 - PCB design guidelines

Methodology

The methodology used in the subject is based on master classes reinforced with the completion of two practices in groups of two students and which are delivered during the course. The master classes are complemented with exercises that are solved in class by the teacher.
For each practice, students make a design that they later have to implement in the laboratory. This design has to be quite optimal and must work without any problem.
In this subject, the e-campus environment is often used as a means of communication between the student and the teacher.

Evaluation

The subject is organized in one semester and its evaluation includes the marks of the theory exams and the deliveries of the different practices (continuous evaluation and participation in class), as well as the delivery of the final project. The contribution of each part to the final grade can be found in the Academic Guide.

Evaluation Criteria

The main goal of the subject is to be familiar with the architecture of microcontroller-based electronics systems. Which is why, theory and practice are graded very similarly. On top of the correct implementation of the hardware circuit, the student must show their ability to develop functional code in C.

Basic Bibliography

[1] Microchip - PIC18F Family Datasheet - 2006

Additional Material

[1] August Climent i Judit Lacomba, Teoria i exercicis de Sistemes Seqüencials de Procés Específic, La Salle, 2005.
[2] F. Escudero, Disseny de sistemes de control cooperatius. Una visió pragmàtica, La Salle, 2009.
[3] August Climent i Antoni Garrell, Introducció al Disseny Digital, La Salle, 1999.
[4] Carlos Ruiz Zamarreño, Programación de microcontroladores paso a paso, Marcombo, 2020
[5] Eduardo García Breijo, Compilador C CCS y Simulador Proteus para Microcontroladores PIC, Marcombo, 2009
[6] Cándido Bariáin; Carlos Ruiz Zamarreño i Jesús M. Corres Sanz; Programación de Microcontroladores PIC en Lenguaje C, Marcombo, 2017