Thx Buddy that made my day! I was tryin to get the LED to blink for some days and even my Prof (Physicsprof) didn't made it because we both forgot to initialize the timer!. Keep going and all good for u!
You might have a different clock speed. Look at the crystal oscillator on your board and figure out what it is (if it says 8.000 it's 8MHz) then check to make sure your clock configuration in cubemx is using that clock frequency
@@MadJDMTurboBoost I have 16MHz clock frequency using the PLL from 8MHz crystal. I found using a prescaler of 16000 gives me 1ms and then a preload of 400 say will give 400ms. Seems to work OK now. Thanks for your answer.
Thank you for the demonstration. Unfortunately the code does not work for me, the led is constantly turned on when I upload the code. I also have this "bluePill", I did everything exactly how you presented it.
I just had the same issue, I know I'm late but for everyone in the future having the same issue here's a tip: be sure to have an infinite loop in your main so the program doesn't just stops after starting the timer
+J Tech thanks for your comments. I'm glad my videos were helpful. About the functions, I recommend you first take a look to the reference manual of your chip and read about the peripherals you're interested in. Then, once you know how the subsystems work, read the HAL driver manual and find what are those things you need. I didn't read the whole manuals, because they are like thousands of pages, but you can focus only on the peripherals you are going to need. Both documents can be found in the st official website.
Thx Buddy that made my day! I was tryin to get the LED to blink for some days and even my Prof (Physicsprof) didn't made it because we both forgot to initialize the timer!. Keep going and all good for u!
Great presentation! I also love the Bach Prelude and Fugue in the background! >
A trick: watch movies on flixzone. Me and my gf have been using it for watching lots of of movies lately.
@Callum Santino definitely, I've been using Flixzone for since november myself :D
Thank you from Brazil. Great presentation by the way
can I use TIM1?
Nice job, this really helped me. My interrupts are a lot slower than 400ms, not sure why yet.
You might have a different clock speed. Look at the crystal oscillator on your board and figure out what it is (if it says 8.000 it's 8MHz) then check to make sure your clock configuration in cubemx is using that clock frequency
@@MadJDMTurboBoost I have 16MHz clock frequency using the PLL from 8MHz crystal. I found using a prescaler of 16000 gives me 1ms and then a preload of 400 say will give 400ms. Seems to work OK now. Thanks for your answer.
Hello. What do you use to connect the stm to the conputer? stlink? usb? serial ftdi???
St-Link
which music is playing?
Hey that was very good presentation and it helped :-) Thank you :-)
HOW CAN I USE USER PULSANT TO CHANGUE VELOCITY OF BLINKING???
What is your clock speed and how you calculated prescaler and period?
clock speed =72 mHz, prescaler - 1/36000, then f=72mHz/36000=2000Hz. Led On/Off (1/2000Hz)*800=0.4sec, T=2*0.4sec=0.8sec
Thanks man
Thank you for the demonstration. Unfortunately the code does not work for me, the led is constantly turned on when I upload the code.
I also have this "bluePill", I did everything exactly how you presented it.
I thing you should call HAL_TIM_Base_Start_IT inside the callback function. Otherwise the interrupt will occur only once?
I just had the same issue, I know I'm late but for everyone in the future having the same issue here's a tip: be sure to have an infinite loop in your main so the program doesn't just stops after starting the timer
Thanks for this man, have a nice day!
A clear presentation. Thanks!
I have followed the steps, but the timer did not work. How can I fix it?
Big Thanks from indonesiaa :)
helpfull, thanx)
Hello
Design logic in flowchart and get auto code. Use flowchart to code converter app.
Hi Jose,
I like your video's. They teach me a lot.
How did you know which function to pick from the file?
Keep it up.
+J Tech thanks for your comments. I'm glad my videos were helpful. About the functions, I recommend you first take a look to the reference manual of your chip and read about the peripherals you're interested in. Then, once you know how the subsystems work, read the HAL driver manual and find what are those things you need. I didn't read the whole manuals, because they are like thousands of pages, but you can focus only on the peripherals you are going to need. Both documents can be found in the st official website.
great work.thanks
Thank you!
so very thx bro
thanks man
talk man, don't be shy
Why type out what you mean to say.. why not just speak in the video?😂