 Hello and welcome to this presentation of the STM32 Infrared Timer. Features of this interface allowing the generation of various IR remote control protocols will be presented. The Infrared Timer peripheral facilitates the generation of infrared remote control protocols used in many consumer devices such as TV sets, audio systems, air conditioning units, etc. The Infrared Timer provides a simple modulator to generate the remote control signal using timers 16 and 17 to generate the carrier frequency and modulation signal. The user can configure a wide range of carrier frequencies and modulations to facilitate the implementation of any remote control protocol. The Infrared Timer provides hardware support to generate remote control signals. The carrier frequency is generated autonomously by the timer while the modulation waveform is controlled by software. This allows flexibility to support any required infrared remote control protocol. The Infrared Timer automatically combines the carrier frequency and the modulation waveform into a signal controlling the infrared LED that transmits IR control signals to the controlled device. The application does not require external transistors as the infrared LED can be driven directly by the GPIO pin. Many remote control protocols including RC5, RC6, SIRC and others can be implemented and supported due to flexible and simple modulation control. The CPU workload is limited to the control of the modulation signal only. The block diagram consists of timer 17 used as a carrier frequency generator, timer 16 used as the modulated waveform generator and the infrared timer block contains the signal modulator which combines the carrier frequency and the modulation waveform into the remote control signal. Timer 17 generates the carrier frequency for the remote protocol used in the application. The carrier frequency can be configured to any frequency needed by the chosen protocol including typical frequencies in the range of 34 to 40 kilohertz. This is done by configuring timer 17 into PWM mode with a 50% duty cycle. Once the timer is started it does not require additional software control including interrupts. For a detailed description on how to configure timer 17 please refer to the timer section in the reference manual. Timer 16 generates the modulation waveform for the remote control protocol used in the application. The timer is configured in output compare mode using the output compare interrupt to generate pulses representing a logical zero or one and control the modulation of the data flow. For a detailed description of how to configure timer 16 please refer to the timer section in the reference manual. The infrared timer modulator is a simple gate gating the carrier frequency from timer 17 by a modulation waveform from timer 16. To avoid spikes and glitches on the output waveform the infrared timer gate is synchronized with the carrier frequency from timer 17. The infrared timer output is an alternate GPIO feature configurable in the GPIO AFR registers. The IR outpin can directly drive the infrared LED especially on pin PB9 where the high sync driver capability is supported. This feature can be activated through the system configuration register. No interrupt is associated directly with the infrared timer however the timer 16 interrupt is used to control the modulation of the output signal. The infrared timer can be active only in run and sleep modes. In all other low power modes including stop, standby and shutdown modes the infrared timer must be disabled. The listed peripherals influence infrared timer behavior. Please refer to the additional peripheral trainings for complete information. This slide presents the key differences between baseline STM32 L47X for 8X devices and other devices. The TIM-15 is used instead of TIM-17 in STM32 L41X for 2X for 3X for 4X for 5X and for 6X devices.