29035 - Electronic Industrial Systems Architecture and Programming Laboratory T-A

Academic Year 2021/2022

  • Docente: Luca Benini
  • Credits: 6
  • SSD: ING-INF/01
  • Language: Italian

Learning outcomes

After attending the course, the students will have a detailed overview of HW-SW methods for industrial applications

 

Course contents

 

Introduction to embedded systems

Introduction to microcontrollers

Introduction to the development environment (CubeIDE)

 

Overview and details of the ARM Cortex M4-CORE architecture and its main elements

  • Instruction Set Architecture and Assembly
  • Pipeline
  • Interrupt
  • Programmer's model
  • Register file

 

Analysis of the main ARM Core connections with microcontroller peripherals

  • AMBA Bus AHB and APB
  • Memories
  • DMA

 

Detailed analysis of the architecture, configuration, and operation of the peripherals of the STM32 F407 microcontroller, with exercises and demonstrations of advanced debugging techniques

  • GPIO
  • SPI,
  • UART,
  • Timers
  • Analog to Digital Converter

 

DSP feature extensions, CMSIS libraries and code optimization.

  • DSP and Floating-Point Unit
  • CMSIS Library
  • Code optimization

Readings/Bibliography

  • The Definitive Guide to ARM Cortex-M3 and Cortex-M4 Processors,Joseph You (available online in PDF)-
  • The Designer's Guide to the Cortex-M Processor Family,Trevor Martin (available online in PDF)

Teaching methods

The course is delivered through class lectures that are carried out with the aid of audiovisual media (Power Point presentations) and practical laboratory exercises, carried out in presence working in small groups. Attendance to face-to-face lessons is not compulsory. The course is given in Italian language.

Assessment methods

The verification is based on the evaluation of a project assigned during the last exercise and on an oral test, according to the modalities of an interview between the teacher and the student, lasting approximately 30 minutes, during which the candidate will be asked three questions, with increasing depth (and difficulty) and on different areas of the program. The project can be handed in only once and remains valid for the whole academic year. Oral exams take place during the educational calendar and for each exam the student who intends to take it must register using the online platform 

The grade is expressed in thirtieths,and it is necessary to reach the threshold of 18/30 in order to pass the exam.

Teaching tools

Slides, textbook and suggested readings during the lessons.

Office hours

See the website of Luca Benini

See the website of Francesco Conti