Study level
BAC +2
ECTS
6 credits
Component
Faculty of Science
Hourly volume
51h
Time of year
Spring
Description
The two most common aspects of digital electronics:
- Combinatorial logic and logic gates: Combinatorial and sequential aspects (flip-flops, counters, frequency dividers, registers).
- Microcontroller programming. Implementation of the usual functionalities in C language (learned in the first semester): bus communication, sensor and actuator interfacing, and time-sharing management.
Objectives
- Standard combinatorial functions
- Understand the difference between a combinatorial system and a sequential system
- Know the basics of sequential logic
- Analyze and synthesize standard sequential functions
- Knowledge of microcontroller architecture and functions
- Implementing these functions
- Criteria for choosing a microcontroller for a given application.
Necessary prerequisites
- Combinatorial systems
- Simplification of logic functions
- General C language syntax (typically the 1st semester program)
Knowledge control
Written exam: 70% of final grade
Practical work: 30% of final grade
Syllabus
Logic: 9h CM - 13h30 TD - 6h TP
Standard combinatorial functions
- information routing, comparator circuit, parity and imparity checking
- multiplexers and demultiplexers
- encoders, decoders and transcoders
- arithmetic circuits
Sequential systems:
- notion of state, synchronous and asynchronous systems
- flip-flops: elementary components of sequential logic RS, JK, T, D
- standard sequential functions (analysis and synthesis): counters/decounters/frequency dividers, registers
Microcontrollers: 7h30 CM - 15h TP
- Classic processor vs. microcontroller. Libraries, presence or absence of operating system.
- Architecture and Mapping: RAM, Eprom, computing power, registers associated with microcontroller functions.
- Analog and digital interfaces (GPIO, DAC, PWM). Port configuration and use.
- Communication via RS-232 bus (or RS-232 emulated on USB): for interaction with a computer (local data feedback).
- Industrial buses (I2C and SPI): basic operation
- Hardware and software interruptions. Case studies:
- Polling vs. interruptions (application to buses)
- Management of "basic tasks" in time-sharing: cooperative vs. preemptive multitasking.