| 数据搜索系统,热门电子元器件搜索 |
|
AN4646 数据表(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4646 数据表(HTML) 13 Page - STMicroelectronics |
|
13 / 17 page ![]() DocID027369 Rev 1 13/17 AN4646 Application example 16 3 Application example This application example demonstrate how to use the peripheral interconnect matrix on STM32F401/411 lines and shows how to synchronize TIM peripherals in parallel mode. This firmware is based on STM32F4xx HAL drivers which is part of STM32CubeF4. 3.1 Hardware description Three timers are used in this example: • TIM1 is configured as master timer: – PWM mode is enabled – TIM2 update event is used as trigger output. • TIM2 and TIM3 are slaves for TIM1 – PWM mode is enabled – ITR0(TIM1) is used as trigger input for both slave timers. Figure 5. Application overview 1. The generator (TIM1) is shown in yellow, while the user blocks (TIM2 and TIM3) are highlighted in gray. 3.2 Software description TIM1 counter clock is 84 MHz. TIM1 master timer is running at TIM1 frequency: • TIM1 frequency = TIM1 counter clock/ (TIM1 period + 1) = 328.125 KHz • The duty cycle is equal to TIM2_CCR1/ (TIM2_ARR + 1) = 25%. |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |