Stm32 Intro To timers

  Рет қаралды 54,910

Eddie Amaya

Eddie Amaya

Күн бұрын

Пікірлер: 38
@rtsservices3511
@rtsservices3511 6 жыл бұрын
Hi Eddie, you re such a cool guy explaining things so easy for understanding. you ve got my full respect. hope u ll go on with such tutorials of the stm32 . thank you so much !!
@anudeep.20
@anudeep.20 Жыл бұрын
It took me over an hour to find a video that doesn't use HAL to configure Timers. Even if I type No HAL on KZbin, it is returning to me the videos that use HAL. Do yourself a favor by adding "No HAL" to the video title. I'm pretty sure, there are a ton of people who want to learn STM32 driver development without using HAL and they can find your videos pretty fast.
@Razma32
@Razma32 4 жыл бұрын
Awesome video. I would have loved to have videos like yours around when I first started embedded programming. Keep it up. I fell off the wagon making tutorials.
@yuraa.4980
@yuraa.4980 4 ай бұрын
Thank you from Belorussia!
@mistymisty4480
@mistymisty4480 6 жыл бұрын
Great descriptions as always. Would be great to follow up also with how to set up a custom delay.
@EdwinFairchild
@EdwinFairchild 6 жыл бұрын
Misty Misty sounds good!
@EdwinFairchild
@EdwinFairchild 6 жыл бұрын
Made it! check the new video
@wegi9621
@wegi9621 6 жыл бұрын
Really, really I appreciate your HUGE work, and your effort to put thist tutorial Eddie. Outstanding job my mate. Sad you didn't more sth like that. BUT... You should :) More pls :]
@EdwinFairchild
@EdwinFairchild 6 жыл бұрын
Yes I am making more
@TohidGadiri
@TohidGadiri 5 жыл бұрын
VERRRRYYYYYY NICE ,BIG LIKE BUDY
@vultureig9277
@vultureig9277 3 жыл бұрын
How to make our counter count for every 1 second. What are the values of arr and psc should be if my clock frequency = 84Mhz
@saidzeid4860
@saidzeid4860 2 жыл бұрын
Awesome video.
@akshitshah2963
@akshitshah2963 4 жыл бұрын
Thank you . It helped a lot.
@yushi7743
@yushi7743 6 жыл бұрын
Thank you,you video is so clear and great!
@tonibau4278
@tonibau4278 5 жыл бұрын
Great Buddy ! Keep it up your good works
@felixmoller5507
@felixmoller5507 4 жыл бұрын
Thank you!
@Electheo
@Electheo 5 жыл бұрын
What is the functional difference between the prescaler and ARR? Seems like they both just help divide the same clock and nothing more. Amazing video, thanks!
@mangmaia
@mangmaia 5 жыл бұрын
nice work, thank you.
@NedStarkZA
@NedStarkZA 3 жыл бұрын
16:17 highlight of the video!
@robokishan
@robokishan 4 жыл бұрын
can we use multiple channels of the same timer for rc receivers ? will it work ? some thing like timer 1 ch1 , ch2, ch3 , ch4. I want to connect rc rx all channels CH1 TO CH6 to the TIMER 1 Channel 1 to Channel 6 in input capture mode and is it possible with one timer and if is there any performance issue with that or do i have to use another timer for each channel of rc rx
@EdwinFairchild
@EdwinFairchild 4 жыл бұрын
i dont see why not, give it a shot! best way to find out
@fano72
@fano72 6 ай бұрын
Ok nice explanation!
@csxinfo1
@csxinfo1 5 жыл бұрын
Is there a video about output compare ?! Really love your work
@stm32user
@stm32user 4 жыл бұрын
Hi man, thanks, I am still confusing about this timer I want 7mhz frequency output. I am using stm32f103RB and timer2 What I need to do ?. You said peripheral clock/your desired frequency. Below setup is in my clock configuration HSE = 8Mhz SYSCLK = 64Mhz HCLK = 64Mhz APB1 = 32Mhz(Peripheral CLK) APB1 = 64Mhz(Timer CLK) APB2 = 64Mhz(Peripheral CLK) APB2 = 64Mhz(Timer CLK) TIM2 clock source = Internal CLK PSC = 9 ARR = 1 I need Finaly 7Mhz frequency output so, 64000000/7000000 = 9.1428 In here 64Mhz is which one ? SYSCLK ? HCLK ? APB1 ? APB2 ? APB2 Time clk ? because 5 clocks ar now 64Mhz I am confusing here also so then PSC is = 9 and ARR = 1 Please let me clarify me on this... I am awaiting your support.. Thanks Eddie I need without interrupt subroutine. I just want to create delay instead of using normal HAL_Delay(); function
@stevenchavarro3644
@stevenchavarro3644 5 жыл бұрын
Thank you
@kalyanijog
@kalyanijog 8 ай бұрын
Hey can you make video for timers in cube ide and show us waveforms in swv viewer for timers , it's very helpful, as I am beginner
@nam8176
@nam8176 5 жыл бұрын
can i have your book which you use when making this vidio. thank you so much!
@EdwinFairchild
@EdwinFairchild 4 жыл бұрын
no book
@OndrejPopp
@OndrejPopp 4 жыл бұрын
Tx Eddie. Just be careful with your Math formulas! So around 14:31 I see Periph Clock / Presclaler / Arr = Periph Clock / (Presclaler * Arr), now this is not right according to normal operand associativity for division, so without parentheses, which is left associative and not right associative. So, A/B/C without parentheses, is interpreted as A/(B/C) and not as (A/B)/C which is not the same thing. So, A/(B/C) is in fact (A*C)/B while (A/B)/C is A/(B*C). So your second formula, that one with the multiplication is correct, but you need some parentheses at the top of your first formula, so (Periph Clock / Presclaler) / Arr. Ok. See also here : web.deu.edu.tr/doc/oreily/java/langref/ch04_14.htm
@MohamedAhmed-ii4mr
@MohamedAhmed-ii4mr 6 жыл бұрын
Is this cortex m3 or m4?
@EdwinFairchild
@EdwinFairchild 6 жыл бұрын
محمد أحمد m3
@MohamedAhmed-ii4mr
@MohamedAhmed-ii4mr 6 жыл бұрын
@@EdwinFairchild If I wanted to execute an interrupt handler when the timer overflows, what IRQHandler do I call?
@EdwinFairchild
@EdwinFairchild 6 жыл бұрын
محمد أحمد TIMx_IRQHandler and once inside the handler you check and clear the UIF flag in status register.
@EdwinFairchild
@EdwinFairchild 6 жыл бұрын
محمد أحمد there are no specific interrupts for timers or anything really, there are global interrupts for peripherlS and then you check their status registers to figure out what generated the interrupt
@12343560
@12343560 5 жыл бұрын
Hi Eddie, thanks for all the great videos. Your explanations are so good. Please please please if you can help with this. I am trying to get ETR clock mode 2 working and for the life of me I cannot get it to work. I am hoping to get to what the datasheet is calling "Slave mode: External Clock mode 2 + trigger mode". I am trying to clock the Timer with an external clock source and align it with packets of data but I cannot even get the ETR mode working. I am a hardware engineer by trade and only do software on the side but I am finding your videos so helpful. I have followed your videos and got PWM up and running but I cannot get the clock source to change to external trigger mode. A video on ETR would be so helpful thanks.
@cosmoalien12345
@cosmoalien12345 4 жыл бұрын
hi
@beypazariofficial
@beypazariofficial 2 жыл бұрын
low level programming low level low level
@last-zura8899
@last-zura8899 Жыл бұрын
Thank you
Stm32 Timers in PWM mode
37:44
Eddie Amaya
Рет қаралды 49 М.
STM32 Guide #3: PWM + Timers
20:24
Mitch Davis
Рет қаралды 157 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
3 engineers race to design a PCB in 2 hours | Design Battle
11:50
Predictable Designs
Рет қаралды 577 М.
STM32 DMA PT 2
11:50
Eddie Amaya
Рет қаралды 14 М.
Top 5 Beginner PCB Design Mistakes (and how to fix them)
12:52
Altium Academy
Рет қаралды 253 М.
Just enough assembly to blow your mind
29:31
Kay Lack
Рет қаралды 161 М.
HAL #10: HowTo Timer with Interrupt
5:18
Web learning
Рет қаралды 50 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 116 М.
STM32 TIMERS #1. PWM Output || DMA
12:36
ControllersTech
Рет қаралды 141 М.
STM32 Blue Pill vs Black Pill Microcontroller Boards
18:31
Gary Explains
Рет қаралды 142 М.