STM32 Timer based software triggered one shot pulse using HAL on Bluepill

  Рет қаралды 7,581

jan sunman

jan sunman

Күн бұрын

Пікірлер: 9
@TheCitygear
@TheCitygear Жыл бұрын
Thank you for this Video!
@NathanielIten
@NathanielIten 2 жыл бұрын
Can't get a damn thing of what you're saying, sorry. Mind adding the subtitles?
@EmbeddedEnigma
@EmbeddedEnigma 2 жыл бұрын
I am trying to create a delay using timers, but for some reason my timer is just staying stuck in interrupt routine.my while loop is also not working due that. My timer prescalar is 0 and counter value is 72, this is because I want interrupt to occur every 1Mhz meaning 1Us, but my timer remains stuck in interrupt loop. I am using stm32f103C8 with 72Mhz clock.
@stefanvandepas4249
@stefanvandepas4249 2 жыл бұрын
Is this based on my example?
@EmbeddedEnigma
@EmbeddedEnigma 2 жыл бұрын
@@stefanvandepas4249 no
@EmbeddedEnigma
@EmbeddedEnigma 2 жыл бұрын
But I am asking what is the reason for timer being stuck in interrupt routine
@markday3145
@markday3145 2 жыл бұрын
Be sure you are clearing the timer's interrupt pending flag inside the interrupt routine. I believe you clear it using __HAL_TIM_CLEAR_IT().
@arunayachith477
@arunayachith477 3 жыл бұрын
what software you are using to build this?
@jansunman7393
@jansunman7393 3 жыл бұрын
STM32CubeIDE 1.42 / STM32CubeMX 6.01-RC3
STM32 TIMERS #9. One Pulse Mode
13:42
ControllersTech
Рет қаралды 11 М.
HAL #12: ADC with IT
11:31
Web learning
Рет қаралды 17 М.
هذه الحلوى قد تقتلني 😱🍬
00:22
Cool Tool SHORTS Arabic
Рет қаралды 96 МЛН
Alat yang Membersihkan Kaki dalam Hitungan Detik 🦶🫧
00:24
Poly Holy Yow Indonesia
Рет қаралды 11 МЛН
Lecture 13: Timer PWM Output
16:47
Embedded Systems and Deep Learning
Рет қаралды 105 М.
Tutorial on STM32 External Interrupts and callback funktions
24:31
Hands-On with STM32 Timers: Internal Triggering System
8:49
STMicroelectronics
Рет қаралды 18 М.
stm32 timed multichannel ADC DMA conversions on STM32F030k6
12:06
One Pulse Mode STM32. Single and adjustable number of  pulses.
8:28
STM32F4 PWM and timer interrupt example using STM32F4 Discovery
23:29
Embedded Systems
Рет қаралды 8 М.
HAL #10: HowTo Timer with Interrupt
5:18
Web learning
Рет қаралды 49 М.
STM32 Timer ETR + PWM  | Counting and comparing pulse number
13:23
هذه الحلوى قد تقتلني 😱🍬
00:22
Cool Tool SHORTS Arabic
Рет қаралды 96 МЛН