Lecture 13: Timer PWM Output

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

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.😃
@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
@MCU_STM
@MCU_STM 5 жыл бұрын
Really perfect. Lots of details have been told. Great tutorial on timers.Tnx!
@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 :::《)))
@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
@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.
@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...!!
@ofentsetshepe
@ofentsetshepe 6 жыл бұрын
amazing stuff
@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 ?
@kareemelgamal759
@kareemelgamal759 5 жыл бұрын
Nice explanation , thanks
@devilatha8343
@devilatha8343 6 жыл бұрын
Plese tell me What is formulas for finding pwm, CCR,arr.prescaler
@sunilvasudevan01
@sunilvasudevan01 2 жыл бұрын
Please add one more condition for triggering the OCREF output. For upcounting trigger point condition is TIMx_CNT TIMx_CCRx
@josephzhang1797
@josephzhang1797 4 жыл бұрын
So the clock is implemented by the GTM?
@maestososhifu
@maestososhifu 4 жыл бұрын
Fantastic
@pinindumihiranga7738
@pinindumihiranga7738 3 жыл бұрын
Thank You very much
@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?
@rimpyjain5256
@rimpyjain5256 5 жыл бұрын
can u plzz help to write a code to shift the pwm in stm32f0
@ravikhandelwal2996
@ravikhandelwal2996 3 жыл бұрын
What is OCREF, CCER?
@ehsandaneshvar
@ehsandaneshvar 3 жыл бұрын
thank you you solved my problem
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 3 жыл бұрын
Glad to know that. :)-
@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.
@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.
@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.
@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?
@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.
@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?
@crateer
@crateer 4 жыл бұрын
Why such a short Channel Name? Haha Great video
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 4 жыл бұрын
Did you mean the channel name is too long?
@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
@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
Рет қаралды 135 М.
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 4,7 МЛН
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 44 МЛН
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 132 МЛН
Lecture 9: Interrupts
20:43
Embedded Systems and Deep Learning
Рет қаралды 261 М.
Lecture 12: System Timer (SysTick)
10:57
Embedded Systems and Deep Learning
Рет қаралды 105 М.
Pulse Width Modulation (PWM) - Electronics Basics 23
7:28
Simply Electronics
Рет қаралды 646 М.
STM32 PWM basics
18:31
Random Rick
Рет қаралды 19 М.
Tutorial STM32 DAC Timer Triggered DMA
34:08
PR TechTalk
Рет қаралды 2,6 М.
Stm32 Timers in PWM mode
37:44
Eddie Amaya
Рет қаралды 48 М.
DEC #023 | Arduino PWM modes explained - Atmega328p timers | Part 1
17:31
Digital Electronics Circuits Lab
Рет қаралды 1,4 М.
HAL #8: HowTo - Timer PWM
7:48
Web learning
Рет қаралды 67 М.
Lecture 15: Booting Process
9:35
Embedded Systems and Deep Learning
Рет қаралды 308 М.
Duty cycle, frequency and pulse width--an explanation
8:53
Justin Miller
Рет қаралды 458 М.
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 1,4 МЛН
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 4,8 МЛН
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,6 МЛН
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 8 МЛН