This application note provides a generic solution for implementing an IR transmitter (a remote control device) and receiver in software using a STM32F0xx microcontroller.
This document provides a generic solution for implementing infrared (IR) transmitters and receivers in software using STM32F0xx microcontrollers. It covers two popular protocols: RC5 and SIRC. The note details the hardware configuration required, specifically utilizing the IRTIM interface and timers TIM16 and TIM17 on the microcontroller.
| RC5 Carrier Frequency | 36 kHz |
|---|---|
| RC5 Bit Length | 1.778 ms |
| SIRC Carrier Frequency | 40 kHz |
| SIRC Word Length | 12-bit |
| SIRC Start Burst Width | 2.4 ms |
| Required Timers | TIM16 and TIM17 |
The document provides software implementation examples for RC5 and SIRC protocols.
The solutions are implemented using STM32F0xx microcontrollers.
TIM17 provides the carrier frequency and TIM16 provides the main signal.