Download Print this page

ST STM32F301 6 Series Reference Manual page 355

Advanced arm-based 32-bit mcus

Advertisement

RM0366
17.3.6
Capture/compare channels
Each Capture/Compare channel is built around a capture/compare register (including a
shadow register), an input stage for capture (with digital filter, multiplexing, and prescaler,
except for channels 5 and 6) and an output stage (with comparator and output control).
Figure 119
The input stage samples the corresponding TIx input to generate a filtered signal TIxF.
Then, an edge detector with polarity selection generates a signal (TIxFPx) which can be
used as trigger input by the slave mode controller or as the capture command. It is
prescaled before the capture register (ICxPS).
Figure 119. Capture/compare channel (example: channel 1 input stage)
TI1
Filter
f
downcounter
DTS
ICF[3:0]
TIMx_CCMR1
The output stage generates an intermediate waveform which is then used for reference:
OCxRef (active high). The polarity acts at the end of the chain.
to
Figure 122
give an overview of one Capture/Compare channel.
TI1F_Rising
TI1F
Edge
TI1F_Falling
detector
CC1P/CC1NP
TIMx_CCER
TI2F_Rising
(from channel 2)
TI2F_Falling
(from channel 2)
RM0366 Rev 5
Advanced-control timer (TIM1)
TI1F_ED
To the slave mode controller
0
TI1FP1
01
1
TI2FP1
10
TRC
11
(from slave mode
controller)
0
CC1S[1:0]
1
TIMx_CCMR1
IC1PS
IC1
Divider
/1, /2, /4, /8
ICPS[1:0]
CC1E
TIMx_CCER
MS33115V1
355/874
425

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32F301 6 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f301 8 seriesStm32f318 8 series