Level of study
BAC +2
ECTS
6 credits
Component
Faculty of Science
Hourly volume
51h
Time of the year
Spring
Description
Digital electronics seen under its two most common aspects:
- Combinatorial logic and logic gates: Combinatorial and sequential aspects (flip-flops, counters, frequency dividers, registers).
- Programming of microcontrollers. Implementation of the usual functionalities in C language (learned in the first semester): communication by bus, interfacing of sensors and actuators, and time sharing management
Objectives
- Know the standard combinatorial functions
- Understand the difference between a combinatorial system and a sequential system
- Know the basic elements of sequential logic
- Know how to analyze and synthesize standard sequential functions
- Knowledge of the architecture and functionalities offered by microcontrollers
- Implementation of these features
- Criteria for choosing a microcontroller for a given application.
Necessary pre-requisites
- Combinatorial systems
- Simplification of logic functions
- General Syntax of the C Language (typically the 1st semester program)
Knowledge control
Written exam: 70% of the final grade
Practical work: 30% of the final grade
Syllabus
Logic : 9h CM - 13h30 TD - 6h TP
Standard combinatorial functions
- information routing, comparator circuit, parity and imparity check
- 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 functionalities.
- Analog and digital interfaces (GPIO, DAC, PWM). Configuration and use of ports.
- Communication via RS-232 bus (or RS-232 emulated on USB) : case of interaction with a computer (local data feedback).
- Industrial buses (I2C and SPI): basic operation
- Hardware and software interruptions. Case studies:
- Polling vs. interrupts (application to buses)
- Management of "basic tasks" in time-sharing: cooperative vs. preemptive multi-tasking