Lecture 13: Timer PWM Output

  Рет қаралды 103,872

Embedded Systems and Deep Learning

Embedded Systems and Deep Learning

Күн бұрын

Generate PWM output by using a timer on STM32L4 Discovery Kit. Visit the book website for more information: web.eece.maine.edu/~zhu/book

Пікірлер: 49
@XXxxGOOOFYxxXX
@XXxxGOOOFYxxXX 3 жыл бұрын
I can not stress enough how easy you made this for comprehension. Thank you so much!
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 3 жыл бұрын
You are welcome!
@nehatawale7140
@nehatawale7140 5 жыл бұрын
The best explanation for the topic possible.😃
@MCU_STM
@MCU_STM 5 жыл бұрын
Really perfect. Lots of details have been told. Great tutorial on timers.Tnx!
@siva643
@siva643 3 жыл бұрын
Wow very nice explanation, I have just started my career in embedded, when I'm searching so many videos found this... It helps a lot.. thank you so much
@krish2nasa
@krish2nasa 7 жыл бұрын
Excellent Explanation, Thank you very much Yifeng
@radhey04ec
@radhey04ec 4 жыл бұрын
Information provided by you is really useful.... Too much deeply and very core information regarding internal mechanisms. Very useful for Students, Beginners, professional... Specially for person who do not have enough money to attend paid course and who have no good teacher or leader.. Thanks
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 4 жыл бұрын
Glad it was helpful!
@mousumimandal5464
@mousumimandal5464 5 жыл бұрын
I appreciate the effort being put in such a clarification of the embedded system... There are really some perfect people to teach such a perfect thing with such a perfection... uff awesome... appreciate man appreciate :::《)))
@OverlordNibble
@OverlordNibble 7 жыл бұрын
you have a great voice
@user-zi1hf6xn2w
@user-zi1hf6xn2w 5 жыл бұрын
Стивен Хоккинг.
@gudimetlakowshik3617
@gudimetlakowshik3617 4 жыл бұрын
It is text-to-speech converted voice...He doesn't really have one...!!
@Hanutabluta
@Hanutabluta 4 жыл бұрын
just a PERFECT explanation
@user-qy8ew4vh5o
@user-qy8ew4vh5o 5 жыл бұрын
sincere thanks, save me a lot of trouble
@PhuongNguyen-ui5mq
@PhuongNguyen-ui5mq 2 жыл бұрын
Thanks so much for such detailed information!
@male22male22
@male22male22 7 жыл бұрын
excellent explaination
@ofentsetshepe
@ofentsetshepe 6 жыл бұрын
amazing stuff
@kareemelgamal759
@kareemelgamal759 5 жыл бұрын
Nice explanation , thanks
@timowolff1105
@timowolff1105 4 жыл бұрын
Great Video!! I got a question, if i wanted to implement three phases using the Center-aligned mode, did i have to set a seperate interrupt for the phase shift or would it be enough to just start the three timers simultaniously but with three different CCR values?
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 4 жыл бұрын
One timer with three channels. Each channel has its own CCR value. A single interrupt.
@maestososhifu
@maestososhifu 4 жыл бұрын
Fantastic
@sunilvasudevan01
@sunilvasudevan01 2 жыл бұрын
Please add one more condition for triggering the OCREF output. For upcounting trigger point condition is TIMx_CNT TIMx_CCRx
@pinindumihiranga7738
@pinindumihiranga7738 3 жыл бұрын
Thank You very much
@yessinekammoun1997
@yessinekammoun1997 4 жыл бұрын
How to set the psc register value so that we can see the evolution of a led for exemple. In other words how to set the period ?
@josephzhang1797
@josephzhang1797 4 жыл бұрын
So the clock is implemented by the GTM?
@ajreukgjdi94
@ajreukgjdi94 Жыл бұрын
There's one slide I'm not entirely sure if it's my misunderstanding, or the chart mismatched. at 9:45 it looks like on the increasing side, OCREF is high when counter=CCR. but on the falling side, OCREF is low when counter=CCR. Did I misunderstand?
@devilatha8343
@devilatha8343 6 жыл бұрын
Plese tell me What is formulas for finding pwm, CCR,arr.prescaler
@ehsandaneshvar
@ehsandaneshvar 3 жыл бұрын
thank you you solved my problem
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 3 жыл бұрын
Glad to know that. :)-
@ayoubkouch56
@ayoubkouch56 3 жыл бұрын
that would be more than perfect if you can put with this a vhdl code of it. therefore is still a perfect explanation
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 3 жыл бұрын
VHDL? Are you sure?
@syauqisabili3776
@syauqisabili3776 4 жыл бұрын
Nice video sir! and thank you for ur explanation But i can't still understand about Auto-Reload Preload Enable (ARPE). could you give me example of ARPE's purpose? Because, I've experienced setting or clearing it in debug mode but I can't see the difference , It still generates the same PWM wave form .
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 4 жыл бұрын
When you update ARR, do you want the new ARR value to take effect immediately, or do you want the ARR update to wait until the current counting cycle completes? This is controlled by ARPE bit.
@rimpyjain5256
@rimpyjain5256 5 жыл бұрын
can u plzz help to write a code to shift the pwm in stm32f0
@crateer
@crateer 4 жыл бұрын
Why such a short Channel Name? Haha Great video
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 4 жыл бұрын
Did you mean the channel name is too long?
@ravikhandelwal2996
@ravikhandelwal2996 3 жыл бұрын
What is OCREF, CCER?
@paulpixzy5297
@paulpixzy5297 2 жыл бұрын
How can i make ocr a and ocr b go high and low at the same time
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 2 жыл бұрын
make sure they have the same settings.
@arunvarghese9015
@arunvarghese9015 10 ай бұрын
PWM mode 1: if (counter < CCR) output=H else output = L PWM mode 2: if (counter >= CCR) output = H else output = L
@CristianGomez-vc8pk
@CristianGomez-vc8pk 5 жыл бұрын
nice video, you have the book Embedded Systems with Arm Cortex-M Microcontrollers in Assembly Language and C(second edition) Can you pass this book to me? please
@aswahd
@aswahd 5 жыл бұрын
Do you have the pdf of the book?
@zohaibakramlali6261
@zohaibakramlali6261 6 жыл бұрын
plz tell me how many PWM can generate a arm cortex M3
@ahmetyildiz1306
@ahmetyildiz1306 6 жыл бұрын
for stm32F103 mainly there are 4 independent pwm(timer port). you can setup how ever you want. every port has 4 output that have same counter values but different output forms.
@devilatha8343
@devilatha8343 6 жыл бұрын
How can we give ARR & CRR values
@waynet8953
@waynet8953 5 жыл бұрын
They're are registers. You interface through a computer language (eg. C or assembler) and a program translates it to machine language of instructions. These registers just are just memory locations that can be written in assembler or C language. Placing data values in these memory correspond to giving values to ARR and CRR.
@MCSGproject
@MCSGproject 3 жыл бұрын
Eddie Amaya has good videos on how to read/write to registers for stm32, and the conventions used.
@kingfalconkhan
@kingfalconkhan 4 жыл бұрын
Nice video but a bit too advanced and things went over my head. Maybe I have to practice step by step and then understand it slowly.
@Jarrod_C
@Jarrod_C 5 жыл бұрын
This was way too advanced, wish you had a more basic explanation.
Lecture 14. Timer Input Capture
8:48
Embedded Systems and Deep Learning
Рет қаралды 37 М.
STM32 Guide #3: PWM + Timers
20:24
Mitch Davis
Рет қаралды 134 М.
Was ist im Eis versteckt? 🧊 Coole Winter-Gadgets von Amazon
00:37
SMOL German
Рет қаралды 13 МЛН
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 6 МЛН
Haha😂 Power💪 #trending #funny #viral #shorts
00:18
Reaction Station TV
Рет қаралды 14 МЛН
터키아이스크림🇹🇷🍦Turkish ice cream #funny #shorts
00:26
Byungari 병아리언니
Рет қаралды 27 МЛН
Lecture 9: Interrupts
20:43
Embedded Systems and Deep Learning
Рет қаралды 260 М.
Lecture 12: System Timer (SysTick)
10:57
Embedded Systems and Deep Learning
Рет қаралды 104 М.
Duty cycle, frequency and pulse width--an explanation
8:53
Justin Miller
Рет қаралды 457 М.
HAL #8: HowTo - Timer PWM
7:48
Web learning
Рет қаралды 66 М.
Lecture 15: Booting Process
9:35
Embedded Systems and Deep Learning
Рет қаралды 307 М.
Tutorial STM32 DAC Timer Triggered DMA
34:08
PR TechTalk
Рет қаралды 2,6 М.
Pulse Width Modulation (PWM) - Electronics Basics 23
7:28
Simply Electronics
Рет қаралды 645 М.
PWM and Timers :: Bare Metal Programming Series 3
1:11:25
Low Byte Productions
Рет қаралды 9 М.
Stm32 Timers in PWM mode
37:44
Eddie Amaya
Рет қаралды 47 М.
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 55 МЛН
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 728 М.
#miniphone
0:16
Miniphone
Рет қаралды 3,6 МЛН