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 Жыл бұрын
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.
@Razma324 жыл бұрын
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.49804 ай бұрын
Thank you from Belorussia!
@mistymisty44806 жыл бұрын
Great descriptions as always. Would be great to follow up also with how to set up a custom delay.
@EdwinFairchild6 жыл бұрын
Misty Misty sounds good!
@EdwinFairchild6 жыл бұрын
Made it! check the new video
@wegi96216 жыл бұрын
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 :]
@EdwinFairchild6 жыл бұрын
Yes I am making more
@TohidGadiri5 жыл бұрын
VERRRRYYYYYY NICE ,BIG LIKE BUDY
@vultureig92773 жыл бұрын
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
@saidzeid48602 жыл бұрын
Awesome video.
@akshitshah29634 жыл бұрын
Thank you . It helped a lot.
@yushi77436 жыл бұрын
Thank you,you video is so clear and great!
@tonibau42785 жыл бұрын
Great Buddy ! Keep it up your good works
@felixmoller55074 жыл бұрын
Thank you!
@Electheo5 жыл бұрын
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!
@mangmaia5 жыл бұрын
nice work, thank you.
@NedStarkZA3 жыл бұрын
16:17 highlight of the video!
@robokishan4 жыл бұрын
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
@EdwinFairchild4 жыл бұрын
i dont see why not, give it a shot! best way to find out
@fano726 ай бұрын
Ok nice explanation!
@csxinfo15 жыл бұрын
Is there a video about output compare ?! Really love your work
@stm32user4 жыл бұрын
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
@stevenchavarro36445 жыл бұрын
Thank you
@kalyanijog8 ай бұрын
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
@nam81765 жыл бұрын
can i have your book which you use when making this vidio. thank you so much!
@EdwinFairchild4 жыл бұрын
no book
@OndrejPopp4 жыл бұрын
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-ii4mr6 жыл бұрын
Is this cortex m3 or m4?
@EdwinFairchild6 жыл бұрын
محمد أحمد m3
@MohamedAhmed-ii4mr6 жыл бұрын
@@EdwinFairchild If I wanted to execute an interrupt handler when the timer overflows, what IRQHandler do I call?
@EdwinFairchild6 жыл бұрын
محمد أحمد TIMx_IRQHandler and once inside the handler you check and clear the UIF flag in status register.
@EdwinFairchild6 жыл бұрын
محمد أحمد 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
@123435605 жыл бұрын
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.