Hands-On with STM32 Timers: Internal Triggering System

  Рет қаралды 18,935

STMicroelectronics

STMicroelectronics

Күн бұрын

Пікірлер: 16
@bobby9568
@bobby9568 3 жыл бұрын
This type of content makes everyone choose for ST
@guser210
@guser210 3 жыл бұрын
Thank you for posting this video, used it as reference to sync timer 3 and 1 on STM32G070.
@tszulpinedo757
@tszulpinedo757 3 жыл бұрын
Perfecto. Ah que bella práctica, no pues sí eh. ST son de otro mundo...
@Pyrografpl
@Pyrografpl 2 жыл бұрын
Thank you, that was exactly what I was googling for my project :)
@MCSGproject
@MCSGproject 2 жыл бұрын
this guy definitely a chad irl
@ahmetturan618
@ahmetturan618 3 жыл бұрын
thank you
@bacnguyenkhac154
@bacnguyenkhac154 3 жыл бұрын
thank you sir for this useful mannual !! so how about using gated mode, sir, thanks so much !
@humayunsiraj1616
@humayunsiraj1616 2 жыл бұрын
thankyou so much
@stangarcia
@stangarcia 3 жыл бұрын
Top
@kaankurtca9
@kaankurtca9 Жыл бұрын
thank you, I can generate pwm signals with phase difference between them, but when I stop and restart, TIM2 PWM does not turn on. Anyone who can help? start code: HAL_TIM_PWM_Start(&htim1, TIM_CHANNEL_1); HAL_TIM_OC_Start(&htim1, TIM_CHANNEL_2); HAL_TIM_PWM_Start(&htim2, TIM_CHANNEL_1); stop code: HAL_TIM_PWM_Stop(&htim1, TIM_CHANNEL_1); HAL_TIM_OC_Stop(&htim1, TIM_CHANNEL_2); HAL_TIM_PWM_Stop(&htim2, TIM_CHANNEL_1); I communicate with STM32 via UART using C# windows form application. For example: If I send 0x50, PWMs are turned on, if I send 0x51, PWMs are turned off.
@kaankurtca9
@kaankurtca9 Жыл бұрын
Edit: When I restrart TIM2 PWM turns on too but its Duty Cycle %100
@julien6787
@julien6787 11 ай бұрын
@@kaankurtca9 Hello, Same problem here, I see you asked the question on stackoverflow too. As I understand, the problem was not solved yet on it. Since, have you fix the problem ? I am interested in the answer ^^ Regards
@kaankurtca9
@kaankurtca9 11 ай бұрын
@@julien6787 Hello, i have fixed the problem. I found a way to reset TIM2 by writing register level code (Reference Manual Document). Thank goodness it worked. So, instead of the command to turn off the PWMs, I use the direct reset of the timer. When I run the command to turn on the PWMs again, the PWMs turn on properly.
@julien6787
@julien6787 11 ай бұрын
@@kaankurtca9 Thank you for your answer! So you don't use at all the HAL functions like HAL_TIM_PWM_Stop right ? I will try what you said about registers level on my stm32h7.
@kaankurtca9
@kaankurtca9 11 ай бұрын
@@julien6787 I don't use HAL_TIM_PWM_Stop. İnstead of, I use following codes to turn off all pwm signals RCC->APB2RSTR = RCC_APB2RSTR_TIM1RST; RCC->APB1LRSTR = RCC_APB1LRSTR_TIM2RST | RCC_APB1LRSTR_TIM3RST | RCC_APB1LRSTR_TIM4RST; __DMB(); RCC->APB2RSTR = 0; RCC->APB1LRSTR = 0;
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
STM32 PWM basics
18:31
Random Rick
Рет қаралды 21 М.
STM32 TIMERS #2. PWM Input
16:23
ControllersTech
Рет қаралды 34 М.
Hardy's Integral
13:47
Michael Penn
Рет қаралды 15 М.
STM32 Guide #3: PWM + Timers
20:24
Mitch Davis
Рет қаралды 154 М.
Lecture 12: System Timer (SysTick)
10:57
Embedded Systems and Deep Learning
Рет қаралды 109 М.
STM32 TIMERS #4. INPUT CAPTURE  || Frequency and Width
13:57
ControllersTech
Рет қаралды 51 М.
Tools EVERY Software Engineer Should Know
11:37
Tech With Tim
Рет қаралды 23 М.
STM32 Summit keynote | Introducing the first Wi-Fi module coprocessors
5:45