MCBSTM32EXL Keil, MCBSTM32EXL Datasheet - Page 282

no-image

MCBSTM32EXL

Manufacturer Part Number
MCBSTM32EXL
Description
BOARD EVALUATION FOR STM32F103ZE
Manufacturer
Keil
Datasheets

Specifications of MCBSTM32EXL

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Advanced-control timers (TIM1&TIM8)
13.3.13
282/995
Clearing the OCxREF signal on an external event
The OCxREF signal for a given channel can be driven Low by applying a High level to the
ETRF input (OCxCE enable bit of the corresponding TIMx_CCMRx register set to ‘1’). The
OCxREF signal remains Low until the next update event, UEV, occurs.
This function can only be used in output compare and PWM modes, and does not work in
forced mode.
For example, the OCxREF signal) can be connected to the output of a comparator to be
used for current handling. In this case, the ETR must be configured as follow:
1.
2.
3.
Figure 89
for both values of the enable bit OCxCE. In this example, the timer TIMx is programmed in
PWM mode.
Figure 89. Clearing TIMx OCxREF
The External Trigger Prescaler should be kept off: bits ETPS[1:0] of the TIMx_SMCR
register set to ‘00’.
The external clock mode 2 must be disabled: bit ECE of the TIMx_SMCR register set to
‘0’.
The External Trigger Polarity (ETP) and the External Trigger Filter (ETF) can be
configured according to the user needs.
counter (CNT)
ETRF
(OCxCE=’0’)
(OCxCE=’1’)
OCxREF
OCxREF
shows the behavior of the OCxREF signal when the ETRF Input becomes High,
(CCRx)
Doc ID 13902 Rev 9
OCREF_CLR
becomes high
OCREF_CLR
still high
RM0008

Related parts for MCBSTM32EXL