Getting Started with STM32 and Nucleo Part 6: Timers and Timer Interrupts | Digi-Key Electronics

Getting Started with STM32 and Nucleo Part 6: Timers and Timer Interrupts | Digi-Key Electronics

DigiKey

4 года назад

199,761 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@kenwallace6493
@kenwallace6493 - 03.11.2020 23:51

Shawn may actually make HAL useful to us bare-metal skeptics. He goes a mile-a-minute but one can always stop and replay. Great stuff!

Ответить
@AlexEduardoRR
@AlexEduardoRR - 06.11.2020 18:30

Thanks!!!

Ответить
@kenwallace6493
@kenwallace6493 - 17.11.2020 01:10

This may be a dumb question but why don't we just use the timer rollover interrupt handler to write our LED toggle code? It would normally appear above main. What's the purpose of callback functions??

Ответить
@igabo95
@igabo95 - 21.11.2020 15:22

Great Video, thank you so much.

Ответить
@thenoisyelectron
@thenoisyelectron - 02.12.2020 07:47

Absolutely loving these STM32 tutorials! Thank you for putting time into these!

Ответить
@saravanaperumalannamalai3110
@saravanaperumalannamalai3110 - 06.12.2020 19:15

Shawn, you structured it very well. 1hr Lecture shortened under 15 mins. Worth every sec spent on this video series.

Ответить
@noopursirmokadam7986
@noopursirmokadam7986 - 07.12.2020 21:33

Hi Shawn Hymel I am working on a simple implementation that checks each character being received using HAL_UART_Recieve_IT and when \n or \r is recieved it gets copied to another buffer. I have enabled USART as a global interrupt and wish to know how and where to use the Receive call back function. I am stuck and confused about this from a long time.

Ответить
@emregngr8829
@emregngr8829 - 14.12.2020 12:03

I hope It will be continue

Ответить
@victorgomez335
@victorgomez335 - 07.01.2021 00:33

I love these videos

Ответить
@sdp8483
@sdp8483 - 15.02.2021 16:31

These videos are super helpful. Thanks!

Ответить
@JerryHoward88
@JerryHoward88 - 03.03.2021 00:08

This was really helpful!

Ответить
@HM-wm7xk
@HM-wm7xk - 18.03.2021 13:38

Great!, extremely looking for new examples with STM32CubeIDE !!

Ответить
@iro3d
@iro3d - 27.03.2021 01:01

A very useful video. Though it would have been easier to watch if there were at least a 1000 milliseconds pause between sentences.

Ответить
@goodwill7643
@goodwill7643 - 27.03.2021 22:45

Will wait for new series. Thank you!

Ответить
@farvezfarook3422
@farvezfarook3422 - 04.04.2021 14:07

It would be nice to know how to register callbacks for individual timers

Ответить
@pancogito561
@pancogito561 - 21.04.2021 01:10

Where is video about PWM???

Ответить
@nukulkhadse5253
@nukulkhadse5253 - 07.06.2021 06:47

So do we take value of HCLK or APB1/APB2 Timer clock to prescale upto 1 MHz? Asking because you said if we change the mulplier and prescaler values of HCLK then we will have to consider different values.

Ответить
@hamedelahi2249
@hamedelahi2249 - 13.06.2021 07:50

Thank you so much for these videos. I saw the whole 6 videos. They are really excellent. Can you continue these videos? I will see all of them. And I also like to know about TFT LCDs and more other examples.

Ответить
@Manonsilvermountain
@Manonsilvermountain - 19.06.2021 19:19

Great video, and I'm learning a lot, but haven't forgot to show how to enable UART2 in configuration wizard, and what mode to choose?

Ответить
@lucky716tw
@lucky716tw - 29.06.2021 10:10

Amazing tutorial! Thank you very much

Ответить
@winstonsabellona2204
@winstonsabellona2204 - 14.07.2021 14:43

thanks. i hope there will be more of this series about stm32 and nucleo dev board

Ответить
@adaminsanoff
@adaminsanoff - 21.07.2021 21:55

Why you left the variable "uart_buf_len" type int not uint16_t?

Ответить
@zetaconvex1987
@zetaconvex1987 - 10.09.2021 22:41

Very useful series. Thanks for these videos.

Ответить
@khanhluat8996
@khanhluat8996 - 27.09.2021 16:26

.

Ответить
@RixtronixLAB
@RixtronixLAB - 05.11.2021 23:25

Nice video, keep it up, thank you :)

Ответить
@KR-pj6ol
@KR-pj6ol - 10.11.2021 13:32

more videos please ........................................!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!........................................!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Ответить
@mikes5025
@mikes5025 - 23.11.2021 01:59

Thank you very much

Ответить
@talgtalga3767
@talgtalga3767 - 22.01.2022 14:12

to much bla bla no examples for beginners as simple

Ответить
@jusroc6353
@jusroc6353 - 28.02.2022 04:45

what a great tutorial!

Ответить
@jusroc6353
@jusroc6353 - 28.02.2022 04:49

Just a quick question on the subject. I am fairly new to Embedded electronics.
I am planning to design a midi control surface that incorporates lots of rotary encoders on (as many as possible). I was wondering how I could ascertain how many GPIOs that have "attached" interrupts on them. Would be grateful for any advice here. Otherwise keep up the good work! thanks

Ответить
@RobertLugg
@RobertLugg - 25.03.2022 08:12

Great stuff

Ответить
@surendramaharjan3129
@surendramaharjan3129 - 31.03.2022 13:18

Thank You!!! Please make a video on HAL Systick Timer.

Ответить
@yellowcrescent
@yellowcrescent - 12.06.2022 03:35

Nice! Also, if you don't need any of the timer functionality (like triggering ISRs/callbacks or toggling pins), an easy way to measure times to the nearest millisecond is to use HAL_GetTick(), although you may have to handle overflow cases for very long-running systems (overflow happens after ~49 days and it wraps back around to zero). This function is already setup in HAL_Init(), so no additional setup is necessary.

uint32_t start_time = HAL_GetTick();
// do something
uint32_t total_time = HAL_GetTick() - start_time; // total time elapsed in milliseconds

Ответить
@seferideveloper6933
@seferideveloper6933 - 15.07.2022 20:27

Amazing tutorail

Ответить
@Embedonix
@Embedonix - 09.08.2022 11:42

This engineer is the best in the business.... clear and concise and to the point! can not get any better!

Ответить
@electronichome1153
@electronichome1153 - 08.01.2023 21:25

Great course, Shawn, many thanks!

Ответить
@SurvivalSquirrel
@SurvivalSquirrel - 17.04.2023 17:35

Keep up the good work!

Ответить
@Frisky0563
@Frisky0563 - 14.06.2023 19:51

Hi there is there a calculator for STM32 to help me figure out how to setup clocks, prescaler, multipliers output capture for 833.33 microseconds. I’m using the 476RG 106RG nucleo boards thank you.

Ответить
@samsman007
@samsman007 - 22.07.2023 13:22

Why Timer16 in the first place? Or could it just be any other timer?

Ответить
@clivedsouza6213
@clivedsouza6213 - 15.11.2023 22:41

This dude rips.

Ответить
@m-electronics5977
@m-electronics5977 - 05.04.2024 21:45

Are existing other tutorials to make this only in CMSIS? Because learn the HAL with complete other names isn't productive when you had start with the CMSIS.

Ответить
@electroquests
@electroquests - 08.04.2024 15:41

Thanks for the video!

Ответить
@mohammadhasanshokoohi7150
@mohammadhasanshokoohi7150 - 30.06.2024 08:54

Awesome

Ответить
@chrisblain7065
@chrisblain7065 - 23.10.2024 12:44

Curious why you picked TIM16 when TIM2 can go so much longer without resetting...

Ответить
@angelaguilar497
@angelaguilar497 - 05.11.2024 03:13

I have two assignments that are based on timers, one based on a normal timer and the other a countdown timer. Does anyone know where I can get help?

Ответить
@adilmohammed6897
@adilmohammed6897 - 22.01.2025 08:40

Where do you get the documentation like that

Ответить