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 between each other. 1 The Interconnect Matrix integrated inside STM32 products provides direct connections between peripherals. Applications benefit from these interconnections to ensure time-predictable operations, to decrease power consumption by avoiding complex management of peripheral communications through reading/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. 2 The Interconnect Matrix offers two main features. First, it ensures direct and autonomous connections between peripherals, allowing to remove latency in regards to software handling, thus saving GPIO and CPU resources. Second, the interconnection between certain peripherals can even operate during low-power modes. 3 The main peripherals having direct, autonomous interconnections are timers, analog IPs, clocks, extended interrupt/event controller, digital filters for sigma-delta modulators, USB 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. 4 Peripherals 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 1 and Stop 2 modes for Low-power Timer 1. 5 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 DFSDM watchdog signal when a predefined threshold value is crossed by the analog input Timers can also be triggered by a DFSDM 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 HSI16/MSI/LSI clocks, for example 6 measuring the external oscillator LSE frequency by a timer clocked by the calibrated internal oscillator Dual-ADC mode, using ADC1 as the master to trigger a start of conversion for the ADC2 slave Monitoring the temperature of a connected internal temperature sensor or the VBAT 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 2 timers 6 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 prescaler for Timer 2. 7 For more details about the Interconnect Matrix, refer to reference manual RM0351 for STM32L4x6 microcontrollers. 8