No video

Lecture 14. Timer Input Capture

  Рет қаралды 38,296

Embedded Systems and Deep Learning

Embedded Systems and Deep Learning

Күн бұрын

Пікірлер: 21
@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
@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
@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 3 жыл бұрын
@@coderhex1675 I would love to see them. Could you please share?
@coderhex1675
@coderhex1675 3 жыл бұрын
@@embeddedsystemswitharmcort9051 share your email address with me
@MahdiMohammadi0
@MahdiMohammadi0 3 жыл бұрын
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 3 жыл бұрын
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.)
@skyhackerfpv7104
@skyhackerfpv7104 2 жыл бұрын
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!
@HansBaier
@HansBaier 2 жыл бұрын
Very well explained 👍🏻
@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.
@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.
Lecture 15: Booting Process
9:35
Embedded Systems and Deep Learning
Рет қаралды 313 М.
Lecture 13: Timer PWM Output
16:47
Embedded Systems and Deep Learning
Рет қаралды 105 М.
🩷🩵VS👿
00:38
ISSEI / いっせい
Рет қаралды 27 МЛН
WILL IT BURST?
00:31
Natan por Aí
Рет қаралды 28 МЛН
Lecture 18. ADC
14:27
Embedded Systems and Deep Learning
Рет қаралды 24 М.
7. How to implement event counter with stm32 Timer
10:23
STM32 Guide #3: PWM + Timers
20:24
Mitch Davis
Рет қаралды 140 М.
Measuring Signal Period With Timers | VIDEO 35
30:59
Matej Blagšič
Рет қаралды 2,2 М.
Microcontrollers: Input capture unit
11:17
Dr. Pasquale
Рет қаралды 204
Using input capture in STM32 || HAL || CubeMx || Frequency measure
13:42
STM32 General Purpose Timer: Understanding Input Capture IC Mode -1
8:04
Fastbit Embedded Brain Academy
Рет қаралды 33 М.
STM32 TIMERS #2. PWM Input
16:23
ControllersTech
Рет қаралды 31 М.
Lecture 9: Interrupts
20:43
Embedded Systems and Deep Learning
Рет қаралды 264 М.
🩷🩵VS👿
00:38
ISSEI / いっせい
Рет қаралды 27 МЛН