 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. 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 or writing registers using CPU instructions, and, in some cases, to reduce 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, 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. This slide indicates the list of source and destination peripherals. Source peripherals are the EXTI, the timers, analog IPs, clocks, RTC, and system error. Destination peripherals are the timers, infrared interface, and analog IPs. The Interconnect Matrix is further described in the STM32G4 reference manual. This slide and the next two ones describe the various possible uses for the Interconnect Matrix. Synchronizing or chaining timers, for example, allowing a master timer to reset or trigger a second slave timer. Triggering the transition to burst mode and also configuration update of the HR-TIM through a general-purpose timer. Triggering an ADC through a timer or EXTI event. Triggering a timer through an ADC watchdog signal when a predefined threshold value is crossed by an analog input. Triggering a DAC through a timer or EXTI event. Calibrating HSI-16 and LSI clocks, for example, measuring the external oscillator LSE frequency by a timer clock by the calibrated internal oscillator. Other use cases. Starting low power timers from an RTC alarm, a tamper event, or comparator event. Implementing blanking windows in comp modules. Connecting internal analog channels to ADC comp and op amp units. Using the comp outputs as timer external triggers or break inputs. Other use cases. Protecting timer-driven power switches through the direct connection of system error signals through the timer break input. Infrared pulse modulation signal waveform generation using two timers. 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. Peripherals can be interconnected using the interconnect matrix even when the circuit is in a low power mode. This table indicates in which low power modes the interconnection between peripherals remains active. The low power modes that can be used are run, sleep, and low power sleep modes for all interconnections. The connections from the real-time clock or comparators to low power timers can also be used in stop 0 and stop 1 modes. For more details about the interconnect matrix, refer to the reference manual for STM32G4 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.