Figure 158. Control Circuit In External Clock Mode 2; Figure 159. Capture/Compare Channel (Example: Channel 1 Input Stage) - ST STM32F405 Reference Manual

Hide thumbs Also See for STM32F405:
Table of Contents

Advertisement

RM0090
The delay between the rising edge on ETR and the actual clock of the counter is due to the
resynchronization circuit on the ETRP signal.
Counter clock = CK_INT =CK_PSC
18.3.4
Capture/compare channels
Each Capture/Compare channel (see
(including a shadow register), an input stage for capture (with digital filter, multiplexing and
prescaler) and an output stage (with comparator and output control).
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 159. Capture/compare channel (example: channel 1 input stage)

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.

Figure 158. Control circuit in external clock mode 2

CK_INT
CNT_EN
ETR
ETRP
ETRF
Counter register
TI1
TI1F
filter
f
downcounter
DTS
ICF[3:0]
TIMx_CCMR1
General-purpose timers (TIM2 to TIM5)
34
Figure
159) is built around a capture/compare register
TI1F_Rising
TI1FP1
Edge
Detector
TI1F_Falling
CC1P/CC1NP
TIMx_CCER
TI2F_rising
(from channel 2)
TI2F_falling
(from channel 2)
RM0090 Rev 18
35
TI1F_ED
to the slave mode controller
01
TI2FP1
IC1
divider
10
/1, /2, /4, /8
TRC
11
(from slave mode
controller)
CC1S[1:0]
ICPS[1:0]
TIMx_CCMR1
36
MS37362V1
IC1PS
CC1E
TIMx_CCER
605/1749
649

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF