Hey there. Thank you for your good explanations that helped me to understand the basics. One thing to note you have to give timer2 prescaler 8399 to achive exact 100 Hz(at least on the datasheet lol). Formula is: Clock/(PSC+1)*ARR. But in your case this was not important.
@mutexembedded22066 жыл бұрын
Mustafa Fatih BAYRAM That's right
@alltagsvlog4 жыл бұрын
helped me a lot today to understand how multi channel is being used with dma by utilizing the configurator. Thanks a lot!
@fernandoborda64225 жыл бұрын
Damn man you re videos are so helpful, thanks a lot
@Graham19044 жыл бұрын
Your videos are an inspiration to me. You make it sound so easy :)
@mutexembedded22064 жыл бұрын
:)
@faigbagirov81184 жыл бұрын
Assalaamu `Alaykum, I wanted to click "thumb up" button twice, but there's just one such button :)) So I'm writing you a comment to thank you, so THANK YOU!!!
@mutexembedded22064 жыл бұрын
Walakum Alsalam. Thanks :) Enjoy!
@lucasmarjona3 жыл бұрын
A question, in this case are you using simutaneously? I couldn understand that. Or maybe, the ADC convert first ch0 and then ch1? Nice Video.
@mutexembedded22063 жыл бұрын
Yes done sequentially
@sanathmalagi64524 жыл бұрын
I'm using STM32F446RE. I'm unable to "Enable" the "DMA Continous Requests". Help, please.
@karthick9304 жыл бұрын
Hi Yaqoob, your videos are nice, one suggestion pls share dedicated video for Timers and NVIC. so that it will be more useful
@michaeljakob80933 жыл бұрын
Really good videos! Greatings from M. Jakob ;-)
@mutexembedded22063 жыл бұрын
Pleasure, M.Jakob of Berlin?
@ArthurIslamRU5 жыл бұрын
Thanks a lot, dear Muhammad
@aliasgharpourostad1954 жыл бұрын
Your Videos are very good. Thanks a lot Is there any way to get negative analog voltages? from -3.3v to 3.3 volts?
@golden97314 жыл бұрын
Hi,I am currently using a 10k potentiometer under 3.3Vdc to act as a speed control knob and sent the corresponding prescaler for corresponding range of voltage input to the led frequency and i am not sure which mode should i use, single or continuous?
@HSmith-tr5iv5 жыл бұрын
thanks, I'm using Nucleo H743zi and I did anything just like video but HAL_ADC_ConvCpltCallback is never called and LED is not blinking, what's my problem?
@mutexembedded22065 жыл бұрын
Do you still need help with this?
@HSmith-tr5iv5 жыл бұрын
@@mutexembedded2206 Yes, please!
@HSmith-tr5iv5 жыл бұрын
btw my board is nucleo H743zi
@mekbots76073 жыл бұрын
@@mutexembedded2206 me too ,I fallow your code ,it same happen too me
@mutexembedded22063 жыл бұрын
@@mekbots7607 hi this is easy to do. Make sure dma interrupts are enabled
@souhardbekal75026 жыл бұрын
hi, can you say how to use injected mode conversion.
@anannyaguha94876 жыл бұрын
Thanks again for the video I am sting the stuck with 2 doubts, 1) The calculation part for the 100HZ. 2)How are we exactly changing the axis's. suggestion please
@zahoorulislam45694 жыл бұрын
Thank you Mr Yaqoob, i am new in this field but believe me i learnt many things. I have a confusion in mind for example i need 1Mhz sampling frequency the formula : 84MHz/(9+1)(73+1) is correct for F401RE? second thing, what is relation of cycles with prescalar and sampling frequency?
@mutexembedded22064 жыл бұрын
Good question.. Prescalar acts as a divider to clock frequency.. with 0 corresponds to divide by 1. Thus the fact precalar -1. Period acts as a counter on top of prescaled clock. So, it counts from 0 to Counter value. You put -1 here for overflow to happen a cycle earlier. Thus, you get your above 2 formulas
@zahoorulislam45694 жыл бұрын
@@mutexembedded2206 thank you dear for reply, but what about number of cycles chosed in Rank? Is it related to sampling frequency or not?
@HidekazuOki5 жыл бұрын
EXCELLENT Video!
@AljazJelen19923 жыл бұрын
Is it normal that I dont see option "Number of conversion"?
@gauravgarg84655 жыл бұрын
ADC values are not real time changing and also LED not toggling on 1000, 1500, 10000( I know LED indication for callback but I'm unable to resolve this problem). My board is Nucleo STM32l053R8.... All helps are welcome :)
@F_F_CH Жыл бұрын
why vide is cutted from 2 sides? some times its too difficult to understand why you did that.... why it become so.... and your comments looks like a fake. but in general thanks for tutorials.
@hasangenco73966 жыл бұрын
Alot of Thanks :)
@badabilel10856 жыл бұрын
thanks
@user-gg9mx4fl5e3 жыл бұрын
Hello! I am really enjoying your video. Thanx! Is there any way that I can see a 'Watch' tab in TRUESTUDIO? Thank you very much!!
@mosleiman74804 жыл бұрын
Nice Video! Which is the right clock source for TIM2? PCLK1 (i.e. 42Mhz) or PCLK2 (i.e. 84Mhz)? @3:47 Keep it up! Thanks!
@Luis-ih2wv2 жыл бұрын
I give this video a thumbs down for not posting the code so that we don't have to type it in.