Lecture 14. Timer Input Capture

  Рет қаралды 37,549

Embedded Systems and Deep Learning

Embedded Systems and Deep Learning

Күн бұрын

This short video introduces timer input capture.
Visit book website for more information: web.eece.maine.edu/~zhu/book

Пікірлер: 24
@Sencires
@Sencires 2 жыл бұрын
Dr. Yifeng Zhu, thank you very much for your content!!! Our Professor does his class accordingly to your Books and your Videos are extremely helpful!
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 2 жыл бұрын
Glad to know that.
@mohaarhly2950
@mohaarhly2950 Жыл бұрын
Dr. Yifeng Zhu i thank you from all my soul
@HansBaier
@HansBaier Жыл бұрын
Very well explained 👍🏻
@skyhackerfpv7104
@skyhackerfpv7104 Жыл бұрын
Is this much quicker or more accurate than just using micros() at the start of a regular interrupt and comparing it to the previous micros()? I'm trying to compare signals that are up to 100 micros apart which is working about 95% of the time. Wondering if using the input capture interrupt would help or if I should try moving my project from and Uno to a Due. Thank you!
@coderhex1675
@coderhex1675 4 жыл бұрын
it would be awesome next video about watch dog timer implementation. You are my time savior. By the way, ı am translating your some videos into Turkish text to refer to when i forget the some points. :-)
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 4 жыл бұрын
Did you post your Turkish text anywhere online? It will be great if you can share!
@coderhex1675
@coderhex1675 4 жыл бұрын
@@embeddedsystemswitharmcort9051 I didn't post them anywhere online. I translated 16_Volatile Variables.odt, 12_System Timer.docx, 11_External Interrupts (EXTI).docx, 10_Interrupt Enable & Interrupt Priority.docx, 9_Interrupts.docx into Turkish as sentence by sentence. If you would like to see them ı can share with you.
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 2 жыл бұрын
@@coderhex1675 I would love to see them. Could you please share?
@coderhex1675
@coderhex1675 2 жыл бұрын
@@embeddedsystemswitharmcort9051 share your email address with me
@MahdiMohammadi0
@MahdiMohammadi0 2 жыл бұрын
Thank you for the lecture, Is there a mode, in which the timer starts counting as soon as an external event happens, and interrupts when the counter is overflowed? For example in order to acquire N data samples from ADC after the rising edge of a trigger signal occurred?
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 2 жыл бұрын
Hi, Mahdi, you can use EXTI to detect the tiger signal. In the EXTI interrupt handler, you can enable a timer. You can use the timer interrupt handler to perform ADC sampling. More efficiently, you can directly use the timer trigger output as the trigger input of ADC (so that there is no software involved for triggering ADC.)
@tanyagachovska9982
@tanyagachovska9982 3 жыл бұрын
Thank you for the lecture!!! It is better with your voice.
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 3 жыл бұрын
Glad you think so!
@Sencires
@Sencires 2 жыл бұрын
I also think that your voice is better, its easier to follow/understand
@dhruslab9563
@dhruslab9563 Жыл бұрын
Is it also possible to capture both rising edge and falling edge to calculate the pulse width of the signal , let's say to measure the pulse width of drone receivers?
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 Жыл бұрын
Yes, it can be programmed to capture both edges.
@dhruslab9563
@dhruslab9563 Жыл бұрын
@@embeddedsystemswitharmcort9051 thank you so much sir, could you please cover , how to measure both the edges in your video.
@Dragonwrath0712
@Dragonwrath0712 3 жыл бұрын
What is the external signal here? GPIO input capture? If so which particular pins I/P?
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 3 жыл бұрын
Signal external to the microcontroller, such as the output from a sensor
@Dragonwrath0712
@Dragonwrath0712 3 жыл бұрын
@@embeddedsystemswitharmcort9051 yeah but what if there are multiple input pins which pins edge will the timer read?
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 3 жыл бұрын
If a timer is enabled to capture multiple external inputs (we need to use multiple pins, with an input signal on one input pin), the timer interrupt is triggered whenever an event takes place on any input pin. In the timer interrupt handler, software should check the event status register to find which channel (or i.e., which input pin) captures an external event.
@switcher3545
@switcher3545 Жыл бұрын
Hello doctor, does ARR affect the timer resolution?
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 Жыл бұрын
Timer's resolution or accuracy is determined by the oscillator's accuracy. ARR will impact the period of a timer's output signal.
Lecture 15: Booting Process
9:35
Embedded Systems and Deep Learning
Рет қаралды 308 М.
Lecture 13: Timer PWM Output
16:47
Embedded Systems and Deep Learning
Рет қаралды 103 М.
He sees meat everywhere 😄🥩
00:11
AngLova
Рет қаралды 10 МЛН
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
МАМА И STANDOFF 2 😳 !FAKE GUN! #shorts
00:34
INNA SERG
Рет қаралды 4,2 МЛН
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 31 МЛН
Lecture 11: External interrupts (EXTI)
12:50
Embedded Systems and Deep Learning
Рет қаралды 60 М.
STM32 Guide #3: PWM + Timers
20:24
Mitch Davis
Рет қаралды 135 М.
Lecture 12: System Timer (SysTick)
10:57
Embedded Systems and Deep Learning
Рет қаралды 104 М.
INPUT CAPTURE using DMA || Measure High Frequencies and Low Width
11:01
Transport Layer Security (TLS) - Computerphile
15:33
Computerphile
Рет қаралды 471 М.
Tutorial STM32 DAC Timer Triggered DMA
34:08
PR TechTalk
Рет қаралды 2,6 М.
HAL #8: HowTo - Timer PWM
7:48
Web learning
Рет қаралды 66 М.
TIMER INPUT CAPTURE MODE WORKING EXPLAINED
4:16
SM training academy
Рет қаралды 4,4 М.
Ift201 MIPS Data Path Lecture
7:45
Scott Moore
Рет қаралды 153 М.
Simple maintenance. #leddisplay #ledscreen #ledwall #ledmodule #ledinstallation
0:19
LED Screen Factory-EagerLED
Рет қаралды 12 МЛН