Article count:1120 Read by:2933985

Featured Content
Account Entry

Recommended reading for STM32 timer application note AN4776

Latest update time:2021-08-30 20:05
    Reads:


As we all know, the timer functions of STM32 are very large and complex, and their applications are also very common. Currently, the STM32 family has 10 product lines, all of which have multiple timer peripherals built in. Although the timers of each STM32 series may differ slightly in number and characteristics, they still have some common features and the same operating mode as a whole.


ST official has an application note for STM32 general-purpose timers, numbered AN4776 , which is quite detailed and rich in content. This note mainly describes the basic characteristics, operation modes and related applications of STM32 general-purpose timers in detail and clearly. It not only explains the basic concepts in detail, but also introduces the principles of related practical applications, and also comes with reference engineering codes for related applications. This note is worth reading.


Here is a brief introduction to the basic content framework of the AN4776 application note.

This note is mainly divided into two parts. The first part mainly describes and explains the basic composition and characteristics of the STM32 timer. The second part specifically describes some specific applications of the STM32 timer, including the introduction of the basic working principle and related application code.


The first part includes the following contents:

1.1 Basic components of STM32 timer

Master-slave control unit

Time base unit

Timer channel unit

Brake unit

1.2 Basic working mode of STM32 timer

Timer basic function configuration

Channel configuration for input mode

Channel configuration for output mode

1.3 STM32 timer clock and timing

Synchronous function module

External clock source mode 1

External clock source mode 2

Comparison between external clock source mode 1 and mode 2


The second part of the specific application introduction includes the following contents:

2.1 Use single pulse mode to achieve the output of a specified number of pulses


2.2 Using brake input to achieve cycle-by-cycle adjustment function


2.3 Using the timer's DMA burst transfer to achieve arbitrary waveform output



2.4 Use the synchronization characteristics of the timer to periodically output a specified number of pulses


For more details about the above content, click " Read original text " in the lower left corner to download AN4776 and read it. For reference firmware code of related applications, you can go to www.st.com/stm32 and search for the keyword X-CUBE-TIMCOOKER to download it. The basic project directory is as follows:


===================================

Previous links:

1. The problem and solution of PCROP area function cannot be called

2. STM32F4 series adds new STM32F412

3. Introduction to STM32 development ecosystem

4. Several common questions about STM32Cube

5. A video database that STM32 fans must know




Featured Posts

Share W5500 routines
/********************************************************************************** *Filename:W5500.c *Description:W5500driverfunctionlibrary *Libraryversion:ST_v3.5 *Taobao:http://yixindianzikeji.taobao.com/ ********************
123131wqe stm32/stm8
Sugar Glider ⑤ Sugar Glider Health Monitoring System Based on RSL10--Project Introduction
ProjectBackground SugarglidersareanAustralianmarsupial.Theyhaveafurrycoat,thin,pointedears,big,roundeyes,alightandpetitebody,acuteappearance,andtheyliketobeclosetopeople.Therefore,theyhavebecomeoneof
justd0 onsemi and Avnet IoT Innovation Design Competition
51 "Wanli" Raspberry Pi car - Raspberry Pi remote control car with image transmission (video display)
Firstthevideo: Mainworkingprinciple:RaspberryPiobtainscameradataandthenpushesthestreamthroughRTSP,thecomputerreceivesthevideodata,andthemobilephonehostcomputerconnectstoPicoWtocontrolthemovementofthec
lb8820265 Innovation Lab
EEWORLD University Hall ---- Xiaomeige 2019 FPGA training course full HD recording
Xiaomeige2019FPGAtrainingcoursefullHDrecording:https://training.eeworld.com.cn/course/5407 ThiscourseisarecordedcourseofXiaoMeige's2019fieldtrainingclass.Itisrichincontent,highinknowledge,andhasbeencarefullyedi
JFET FPGA/CPLD
How to read the PSRR curve when selecting LDO chips
SomepeoplesaythatthePSRRparameterofLDOhasagreatinfluenceontherippleandnoiseoftheoutputvoltage. So,howtoconsiderthePSRRparameterwhenselectinganLDO,orshouldweignoreit? HowtoreadthePSRRcurvewhenselectingt
Aguilera Power technology
MSP430F5529 ADC sampling example
/*! *COPYRIGHTNOTICE *Copyright(c)2016,CTGU-GB *Allrightsreserved. * * *@filemain.c *@briefMSP430F5529platformmainprogram :*@authorCTGU-GB *@versionv2.7 *@date2016-11-26 */ #include"include.h" doubleadcDataTest
火辣西米秀 Microcontroller MCU

Latest articlesabout

 
EEWorld WeChat Subscription

 
EEWorld WeChat Service Number

 
AutoDevelopers

About Us About Us Service Contact us Device Index Site Map Latest Updates Mobile Version

Site Related: TI Training

Room 1530, Zhongguancun MOOC Times Building,Block B, 18 Zhongguancun Street, Haidian District,Beijing, China Tel:(010)82350740 Postcode:100190

EEWORLD all rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2021 EEWORLD.com.cn, Inc. All rights reserved