Hello, and welcome to this presentation of the STM32 Infrared Timer. Features of this interface allowing the generation of various IR remote control

Similar documents
Hello, and welcome to this presentation of the STM32L4 comparators. It covers the main features of the ultra-lowpower comparators and some

Hello, and welcome to this presentation of the STM32 Digital Filter for Sigma-Delta modulators interface. The features of this interface, which

Hello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its

Hello, and welcome to this presentation of the STM32G0 digital-to-analog converter. This block is used to convert digital signals to analog voltages

Hello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs.

Using the HT66F016L and the HT66F50 to Implement Remote Encoding and Decoding

Design and Construction of PIC-based IR Remote Control Moving Robot

Analysis and Construction of a Robot controlled by a Universal Remote Control

RC5 Infrared board. EB060

Speed Control of Single Phase Induction Motor Using Infrared Receiver Module

Hello, and welcome to this presentation of the STM32 Chrom-ART Accelerator. It covers the features of this of this adaptive real-time accelerator

Power Factor Correction in Digital World. Abstract. 1 Introduction. 3 Advantages of Digital PFC over traditional Analog PFC.

POLOLU DUAL MC33926 MOTOR DRIVER FOR RASPBERRY PI (ASSEMBLED) USER S GUIDE

High Resolution Pulse Generation

InfraRed(IR) Communication

CprE 288 Introduction to Embedded Systems (Output Compare and PWM) Instructors: Dr. Phillip Jones

Timer A (0 and 1) and PWM EE3376

Hello, and welcome to this presentation of the STM32 LCD TFT display controller. It covers all of the features of the LTDC controller which is used

ELCT 912: Advanced Embedded Systems

AN2581 Application note

EE 314 Spring 2003 Microprocessor Systems

Four Quadrant Speed Control of DC Motor with the Help of AT89S52 Microcontroller

Application Note AN091

Electric Bike BLDC Hub Motor Control Using the Z8FMC1600 MCU

Infrared Communication

Wireless hands-free using nrf24e1

Exam Booklet. Pulse Circuits

Electronics Design Laboratory Lecture #10. ECEN 2270 Electronics Design Laboratory

CQM1H-MAB42 Analog I/O Board Connector CN1: Analog inputs 1 to 4. Name Specifications Model number Slot 1 (left slot) High-speed Counter Board

Course Introduction. Purpose. Objectives. Content 26 pages 4 questions. Learning Time 40 minutes

Hardware Platforms and Sensors

16 Channels LED Driver

Castle Creations, INC.

HT62104 Infrared Remote Encoder IC

Embedded Robotics. Software Development & Education Center

Microcontrollers: Lecture 3 Interrupts, Timers. Michele Magno

Fixed-function (FF) implementation for PSoC 3 and PSoC 5 devices

Using the High Voltage Physical Layer In the S12ZVM family By: Agustin Diaz

Published by: PIONEER RESEARCH & DEVELOPMENT GROUP ( 1

ELEC 3040/3050 Lab #7

USER S GUIDE POLOLU DRV8838 SINGLE BRUSHED DC MOTOR DRIVER CARRIER USING THE MOTOR DRIVER

xtimecomposer Studio Tutorial

Microprocessor & Interfacing Lecture Programmable Interval Timer

Project Name Here CSEE 4840 Project Design Document. Thomas Chau Ben Sack Peter Tsonev

PWM System. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff

EUP V/12V Synchronous Buck PWM Controller DESCRIPTION FEATURES APPLICATIONS. Typical Application Circuit. 1

Product Presentation. Synchronous Buck H-Bridge H (Hi-Side) Driver MCP14628

Multivibrators. Department of Electrical & Electronics Engineering, Amrita School of Engineering

Features. +12V to +36V MIC nf. High-Side Driver with Overcurrent Trip and Retry

EIE/ENE 334 Microprocessors

16-Port I/O Expander with LED Intensity Control, Interrupt, and Hot-Insertion Protection

AN3332 Application note

IX6611 Evaluation Board

Transistors, Gates and Busses 3/21/01 Lecture #

Brushless 5 click. PID: MIKROE 3032 Weight: 25 g

UM1360 Evaluation Board User s Guide

Fixed-function (FF) implementation for PSoC 3 and PSoC 5LP devices

Features MIC1555 VS MIC1557 VS OUT 5

Features MIC5022 C TH. Sense H+ C TL. Sense L. DC Motor Control Application

AUTOMATIC RAILWAY CROSSING SYSTEM

Hello, and welcome to this presentation of the STM32L4 power efficiency optimization with an external SMPS.

Application Report ...

Electronics Design Laboratory Lecture #11. ECEN 2270 Electronics Design Laboratory

dspic30f Quadrature Encoder Interface Module

Using the HCS08 TPM Module In Motor Control Applications

VORAGO Timer (TIM) subsystem application note

ECE 477 Digital Systems Senior Design Project Rev 8/09. Homework 5: Theory of Operation and Hardware Design Narrative

CSCI1600 Lab 4: Sound

LED controllers. Voltage-switch drivers, constant-current drivers, and Flash LED drivers

Complementary Switch FET Drivers

Pololu Dual G2 High-Power Motor Driver for Raspberry Pi

Course Introduction. Purpose: Objectives: Content: 24 pages 3 questions. Learning Time: 35 minutes

Unit 5: IrDA Communications Protocols. 1 Introduction. 2 Objectives. 3 Basic Knowledge. Revised March 13, 2017 This manual applies to Unit 5.

SPECIFICATION EP 1000/1500/2000 Series

DNT2400. Low Cost 2.4 GHz FHSS Transceiver Module with I/O

Mapping Peripheral Capabilities When Migrating From 8-bit to 16-bit PIC MCUs

MP V, 5A Dual Channel Power Half-Bridge

Brushed DC Motor PWM Speed Control with the NI myrio, Optical Encoder, and H-Bridge

JTAG pins do not have internal pull-ups enabled at power-on reset. JTAG INTEST instruction does not work

Activity 4: Due before the lab during the week of Feb

UM2068 User manual. Examples kit for STLUX and STNRG digital controllers. Introduction

CALIFORNIA SOFTWARE LABS

STELLARIS ERRATA. Stellaris LM3S8962 RevA2 Errata

HT8 MCU Timer Module Application Note (2) Generating Infrared Remote Control Carrier Waves in the PWM Mode

PIC Functionality. General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232

IR116 RS1 TM Remote Control IC

Safety Mechanism Implementation for Motor Applications in Automotive Microcontroller

Today s Menu. Near Infrared Sensors

PIC ADC to PWM and Mosfet Low-Side Driver

Pololu TReX Jr Firmware Version 1.2: Configuration Parameter Documentation

ASTABLE MULTIVIBRATOR

Group 4. Michael Cooke David Griffen Whitney Keith

FEATURES DESCRIPTION APPLICATIONS BLOCK DIAGRAM. PT2272 Remote Control Decoder

Pololu DRV8835 Dual Motor Driver Kit for Raspberry Pi B+

With the increased use of mobile & portable devices, the Ag301 & Ag311 wireless power modules offer a wide range of benefits: -

AMBA Generic Infra Red Interface

Programming and Interfacing

±80V Fault-Protected, 2Mbps, Low Supply Current CAN Transceiver

MICROCONTROLLER BASED BOOST PID MUNAJAH BINTI MOHD RUBAEE

Lab 9. Speed Control of a D.C. motor. Sensing Motor Speed (Tachometer Frequency Method)

Transcription:

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. 1

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. 2

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. 3

Block diagram consists of: - Timer 17, used as a carrier frequency generator. - Timer 16, used as the modulated waveform generator. - The Infrared Timer block contains the signal modulator which combines the carrier frequency and the modulation waveform into the remote control signal. 4

Timer 17 generates the carrier frequency for the remote control 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. 5

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 0 or 1 and control the modulation of the data flow. For a detailed description of how to configure Timer 16, please refer to timer section in the reference manual. 6

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. 7

The Infrared Timer output is an alternate GPIO feature, configurable in the GPIO AFR registers. The IR OUT pin can directly drive the infrared LED, especially on pin PB9, where the high sink driver capability is supported. This feature can be activated through the system configuration register. 8

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. 11

This slide presents the key differences between baseline STM32L47x/48x devices and other devices. The TIM15 is used instead of TIM17 on STM32L41x/42x/43x/44x/45x/46x devices. 12