 Hello, and welcome to this presentation of the STM32 interconnect matrix. It covers the main features of this matrix, which is widely used to connect various internal peripherals to each other. The interconnect matrix integrated inside STM32 products provides direct connections between peripherals. Applications benefit from these interconnections to ensure time-predictable operations, decrease power consumption by avoiding complex management of peripheral communications through reading and writing registers using CPU instructions, and in some cases, reducing the need to loop the signal from a source to a destination through a dedicated GPIO. The interconnect matrix offers two main features. First, it ensures direct and autonomous connections between peripherals, removing latency in regards to software handling. First, saving GPIO and CPU resources. Second, the interconnect between certain peripherals can even operate during low power modes. The main peripherals having direct autonomous interconnections are timers, analog IPs, clocks, extended interrupt and event controller, digital filters for Sigma Delta modulators, and system error for the connection sources, and timers, analog IPs, digital filters for Sigma Delta modulators, and direct memory access controllers for the connection destinations. Preferals can be interconnected using the interconnect matrix even when the circuit is in a low power mode. The low power modes that can be used are run, sleep, and low power sleep modes, except for the USB to timer 2 connection, which can only be used in run and sleep modes. The connections from the real-time clock or comparators to low power timers can also be used in stop 0, stop 1, and stop 2 modes for low power, timer 1, and LP timer 3. The interconnect matrix is mostly used for synchronizing or chaining timers, for example, allowing a master timer to reset or trigger a second-slave timer, triggering an ADC, DAC, digital filter for Sigma Delta modulator or comparator through a timer event or an external interrupt, triggering a timer through an ADC or DF-SDM watchdog signal when a predefined threshold value is crossed by the analog input. Timers can also be triggered by a DF-SDM short-circuit detection or by a real-time clock interrupt at a given time or at a regular interval. Timers can also be triggered based on a comparator output value or when a USB start-of-frame is detected, triggering a DMA data transfer from memory to the DAC by a timer to allow a frequency-controlled conversion. Calibrating HSI-16, MSI or LSI clocks, for example, measuring the external oscillator LSE frequency by a timer clocked by the calibrated internal oscillator. Dual ADC mode, using ADC-1 as the master to trigger the start of a conversion for the ADC-2 slave. Monitoring the temperature of a connected internal temperature sensor, or the V-BAT to ADC voltage. Analog IP interconnects, for example, connecting an op amp or DAC to an ADC or a DAC to an op amp. Protecting timer-driven power switches through the direct connection of system error signals to the timer break input, infrared pulse modulation signal waveform generation using two timers. The STM32L5 devices, the internal ADC results can be directly connected to the DF-STM inputs in order to use the DF-STM filtering capabilities. This slide shows a simple example of timer synchronization. The Timer 3 is used as the master timer and can reset, start, stop, or clock the Timer 2 configured in slave mode. In this example, Timer 3 is clocking the Timer 2 so that it acts as a pre-scaler for Timer 2. For more details about the interconnect matrix, refer to the reference manual for STM32L5 microcontrollers. Refer also to these trainings for more information if needed. Timers, low power timers, analog to digital converter, digital to analog converter, comparators, operational amplifiers, extended interrupts and event controller, infrared interface, reset and clock control, real-time clock, digital filter for Sigma Delta modulators, USB.