Комментарии:
Sir you have any idea about mm32f0020 timers , bcz I don't get any source to refer this controller
ОтветитьThanks for this video. Can you make a video about timer at mode interrupt? I'm investigate about it, but I can't implement it yet!😢
ОтветитьThanks for your video, i have to make a project were i need the timer works in nanoseconds. Using every 72mhz of bluepill, with no prescale, i should have a precision of 13.8nanoseconds, what do you think? I am scared about Crystal 8mhz because I don't know if it is a bottleneck. I will use a photodiode that is very fast (5nanoseconds) to send value to stm32. Thanks again and keep up the good work!
ОтветитьCan i give counter value directly in arr register . for examble tim2->ARR =1000;
ОтветитьThanks sir , keep teaching ....
ОтветитьGreat explain like programming.
Ответитьhow to make the output will be on for 10 minutes?
ОтветитьHello sir how I reset the timer value to zero after stop when reaching a desired value . When I stop the timer at a certain value then again start the timer ,the timer start from previous value not from zero what to do.
ОтветитьThe guide is very clear and detailed. I have got and timing error in my STM32F746ZG. When I have checked the blinking rate with the oscilloscope I observed around 1.8 second delay instead of 1 second. This was due to the reset values of the RCC's PLLCFGR register. I have added a line of code for resetting the PLLCFGR register with 0's before setting the parameters and I finally got the 1 second delay. My take from this issue is that the reset values of the registers need to be considered when we are not resetting every register manually before setting them.
Ответитьhello sir...kindly make a video for systick timer in STM32 !!!!
Ответитьi cant set the clock frequency in target option . its shows undefined on that position. here im also using mdk v5. please give the solution sir....
Ответитьi cant set the clock frequency in target option . its shows undefined on that position. here im also using mdk v5. please give the solution sir....
ОтветитьThanks for your helpful videos. I just have one concern. which is to set The UG bit in TIMx_EGR registers to update the registers. otherwise, the update will not going to happen until an overflow or underflow occurs. which could take a very long time if using the 32-bit register, and this is what exactly happened with me until I noticed that in the datasheet.
ОтветитьNo words, just great video, thank you
ОтветитьVery good
ОтветитьHow do you know that you need to check bit UIF in TIM6->SR register?
ОтветитьI’m curious why TIM6Config waits for UIF to be set? That’s going to end up waiting for 65536 microseconds (when the timer’s counter reaches the ARR value and is reloaded). AFAICT, you don’t need to wait after configuring timers (like you do with the oscillators and PLLs).
ОтветитьYou have done a mistake bro...check the APB1, it is 45Mhz and you are selected 90 for pre scaling. 45 is correct for pre scaling.
ОтветитьHi...I am using stm32f407 discovery board. @168mhz. I have done everything right but my LED blinking delay is about 5 seconds, where as it should be 1 second.
Ответить