Skip to content

Microprocessors (06_XCMIP)

  • Coefficient : 3
  • Hourly Volume: 60h (including 36h supervised)
    CTD : 18h supervised (and 3h unsupervised)
    Labo : 18h supervised (and 3h unsupervised)
    Out-of-schedule personal work : 18h

AATs Lists

Description

  1. Exception mechanisms:
    • hardware exceptions, interrupts,
    • software exceptions
  2. Serial communications: UART, I2C, SPI.

Learning Outcomes AAv (AAv)

  • AAv4 [heures: 24, D1, D2, D3, D4] : The student of the microprocessor course, at the end of the semester, will be able to use a timer to control a timer or the period of periodic interrupts or generate a pulse width modulation signal, modify its duty cycle and apply it to a physical pin of the STM32 microcontroller, using, in a guided framework, the timer's register interface, then completing an API to encapsulate the timer's functionality, written in C language, to obtain a duration or a PWM signal in accordance with that expected.

  • AAv5 [heures: 36, D1, D2, D3, D4, E3, F1] : At the end of the semester, the student of the microprocessors course will be able to communicate by serial link, RS232, I2C or SPI, an STM32 microcrontroller with an external digital system by developing a simple PLC (RS232) or by using a simple PLC, supplied and known, (I2C, SPI), written in C language, allowing the transmission and reception of a set of bytes in order, on the one hand, to transmit and receive ASCII character strings without error and without loss from and to a terminal (RS232) and, on the other hand, to generate I2C or SPI frames, compatible with the addressed digital circuit, with the aim of configuring it and reading or writing data.

  • AAv6 [heures: 15, D1, D2, D3, D4, E3, F1] : At the end of the semester, the student of the microprocessors course will know how to use an energy saving mode of an STM32 microcontroller and will know how to make a peripheral communicate directly with the memory (DMA), by configuring registers dedicated to energy management and by implementing, in a guided framework, a DMA peripheral of the STM32 microcontroller in order to put the processor to sleep during its periods of inactivity and to exchange data without the intervention of the processor.

Assessment methods

One long continuous assessment (coefficient 1), average of several short continuous assessments in CTD (coefficient 1) and in LABO (coefficient 1)

Key Words

Microprocessors, software and hardware exceptions, couplers, peripherals, serial link communication

Prerequisites

Basic operation of a microprocessor, assembler programming of the CortexM4 and programming in C language, basic knowledge of digital electronics.

Resources

GCC/GDB development chain Course and laboratory handouts. Reference Manual STM32F411, STMicroelectronics CNucleo (STM32F411) and Application Shield