| Moteur de recherche de fiches techniques de composants électroniques |
|
AN4646 Fiches technique(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4646 Fiches technique(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%. |
|
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants 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 |