EasyManuals Logo
Home>ST>Microcontrollers>STM32G473

ST STM32G473 User Manual

ST STM32G473
2126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1119 background imageLoading...
Page #1119 background image
RM0440 Rev 4 1119/2126
RM0440 Advanced-control timers (TIM1/TIM8/TIM20)
1226
(DIR) in the TIMx_CR1 register is updated by hardware and must not be changed by
software. Refer to the Center-aligned mode (up/down counting) on page 1100.
Figure 303 shows some center-aligned PWM waveforms in an example where:
TIMx_ARR=8,
PWM mode is the PWM mode 1,
The flag is set when the counter counts down corresponding to the center-aligned
mode 1 selected for CMS=01 in TIMx_CR1 register.
Figure 303. Center-aligned PWM waveforms (ARR=8)
Hints on using center-aligned mode:
When starting in center-aligned mode, the current up-down configuration is used. It
means that the counter counts up or down depending on the value written in the DIR bit
MSv62328V1
CCxIF
012345678765432 101
Counter register
CCRx = 4
tim_ocxref
CMS=01
CMS=10
CMS=11
CCxIF
CCRx=7
tim_ocxref
CMS=10 or 11
CCxIF
CCRx=8
tim_ocxref
CMS=01
CMS=10
CMS=11
‘1’
CCxIF
CCRx>8
tim_ocxref
CMS=01
CMS=10
CMS=11
‘1’
CCxIF
CCRx=0
tim_ocxref
CMS=01
CMS=10
CMS=11
‘0’

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32G473 and is the answer not in the manual?

ST STM32G473 Specifications

General IconGeneral
BrandST
ModelSTM32G473
CategoryMicrocontrollers
LanguageEnglish

Related product manuals