MCBSTM32EXL Keil, MCBSTM32EXL Datasheet - Page 353
MCBSTM32EXL
Manufacturer Part Number
MCBSTM32EXL
Description
BOARD EVALUATION FOR STM32F103ZE
Manufacturer
Keil
Specifications of MCBSTM32EXL
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 353 of 995
- Download datasheet (9Mb)
RM0008
As in the previous example, you can initialize both counters before starting counting.
Figure 143
mode instead of gated mode (SMS=110 in the TIM2_SMCR register).
Figure 143. Triggering timer 2 with Enable of timer 1
Using one timer as prescaler for another timer
For example, you can configure Timer 1 to act as a prescaler for Timer 2. Refer to
Figure 139
●
●
●
●
●
●
Starting 2 timers synchronously in response to an external trigger
In this example, we set the enable of timer 1 when its TI1 input rises, and the enable of
Timer 2 with the enable of Timer 1. Refer to
TIMER1-CEN=CNT_EN
Configure Timer 1 master mode to send its Update Event (UEV) as trigger output
(MMS=010 in the TIM1_CR2 register). then it outputs a periodic signal on each counter
overflow.
Configure the Timer 1 period (TIM1_ARR registers).
Configure Timer 2 to get the input trigger from Timer 1 (TS=000 in the TIM2_SMCR
register).
Configure Timer 2 in external clock mode 1 (SMS=111 in TIM2_SMCR register).
Start Timer 2 by writing ‘1’ in the CEN bit (TIM2_CR1 register).
Start Timer 1 by writing ‘1’ in the CEN bit (TIM1_CR1 register).
TIMER1-CNT_INIT
TIMER2-CNT_INIT
TIMER 2-TIF
TIMER1-CNT
TIMER2-CNT
shows the behavior with the same configuration as in
for connections. To do this:
write CNT
TIMER2
CK_INT
75
CD
Doc ID 13902 Rev 9
00
Write TIF=0
00
Figure 139
E7
for connections. To ensure the
General-purpose timer (TIMx)
01
E8
Figure 142
E9
02
but in trigger
EA
353/995
Related parts for MCBSTM32EXL
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
KEIL C-COMPILER (US ONLY)
Manufacturer:
Silicon Laboratories Inc
Part Number:
Description:
KEIL C-COMPILER INTERNATIONAL
Manufacturer:
Silicon Laboratories Inc
Part Number:
Description:
KEIL C-COMPILER US VERSION
Manufacturer:
Silicon Laboratories Inc
Part Number:
Description:
DEV KIT FOR STM32
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
KIT STARTER FOR STM32
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
KIT STARTER FOR STM32F10XE MCU
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
KIT STARTER KEIL FOR STR910
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
Microcontroller Modules & Accessories KEIL ULINK PRO 5V ADAPTOR KIT
Manufacturer:
Keil Software
Part Number:
Description:
Development Boards & Kits - ARM KEIL NUVOTON EVAL BD CORTEX-M0 + ULINK-ME
Manufacturer:
Keil Tools
Datasheet:
Part Number:
Description:
Development Boards & Kits - ARM KEIL NUVOTON EVAL BD CORTEX-M0
Manufacturer:
Keil Tools
Datasheet:
Part Number:
Description:
BOARD EVAL FOR LPC213X ARM MCU
Manufacturer:
NXP Semiconductors
Datasheet:
Part Number:
Description:
K60N512 Keil Tower Kit
Manufacturer:
Freescale Semiconductor
Datasheet: