Тёмный

Lecture 13: Timer PWM Output 

Embedded Systems and Deep Learning
Подписаться 38 тыс.
Просмотров 104 тыс.
50% 1

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

Наука

Опубликовано:

 

16 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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
@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...!!
@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
@maestososhifu
@maestososhifu 4 года назад
Fantastic
@pinindumihiranga7738
@pinindumihiranga7738 3 года назад
Thank You very much
@sunilvasudevan01
@sunilvasudevan01 2 года назад
Please add one more condition for triggering the OCREF output. For upcounting trigger point condition is TIMx_CNT TIMx_CCRx
@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 ?
@devilatha8343
@devilatha8343 6 лет назад
Plese tell me What is formulas for finding pwm, CCR,arr.prescaler
@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.
@josephzhang1797
@josephzhang1797 4 года назад
So the clock is implemented by the GTM?
@rimpyjain5256
@rimpyjain5256 5 лет назад
can u plzz help to write a code to shift the pwm in stm32f0
@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?
@ehsandaneshvar
@ehsandaneshvar 3 года назад
thank you you solved my problem
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 3 года назад
Glad to know that. :)-
@ravikhandelwal2996
@ravikhandelwal2996 3 года назад
What is OCREF, CCER?
@ayoubkouch56
@ayoubkouch56 4 года назад
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 4 года назад
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.
@arunvarghese9015
@arunvarghese9015 11 месяцев назад
PWM mode 1: if (counter < CCR) output=H else output = L PWM mode 2: if (counter >= CCR) output = H else output = L
@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.
@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.
@crateer
@crateer 4 года назад
Why such a short Channel Name? Haha Great video
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 4 года назад
Did you mean the channel name is too long?
@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?
@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
Просмотров 37 тыс.
Lecture 9: Interrupts
20:43
Просмотров 262 тыс.
Which national team are you rooting for at Euro 2024?
00:17
One moment can change your life ✨🔄
00:32
Просмотров 18 млн
Сколько метров чернил в ручке?
16:35
STM32 Guide #3: PWM + Timers
20:24
Просмотров 136 тыс.
Lecture 12: System Timer (SysTick)
10:57
Просмотров 105 тыс.
Tutorial STM32 DAC Timer Triggered DMA
34:08
Просмотров 2,8 тыс.
HAL #8: HowTo - Timer PWM
7:48
Просмотров 67 тыс.
Lecture 15: Booting Process
9:35
Просмотров 309 тыс.
Analog Chip Design is an Art. Can AI Help?
15:48
Просмотров 188 тыс.
HOW TRANSISTORS RUN CODE?
14:28
Просмотров 312 тыс.
Stm32 Timers in PWM mode
37:44
Просмотров 48 тыс.
Duty cycle, frequency and pulse width--an explanation
8:53
Здесь упор в процессор
18:02
Просмотров 344 тыс.
😮Новый ДИРЕКТОР Apple🍏
0:29
Просмотров 40 тыс.
OZON РАЗБИЛИ 3 КОМПЬЮТЕРА
0:57
Просмотров 1,8 млн