STM32 TIMERS #1. PWM Output || DMA

preview_player
Показать описание
________________________________________________________________________________________

________________________________________________________________________________________

******* SUPPORT US BY DONATING******

*******Join the Membership*******

Рекомендации по теме
Комментарии
Автор

Because the output control value changes the moment the CCRx value is reached and the moment the timer overflows, and the timer doesn't overflow until the clock edge after the ARR value is reached, the Duty Cycle should equal CCRx/(ARR+1) and not CCRx/ARR. By adding the "-1" to the "Period" configuration parameter, you are technically setting the ARR value to be one less than what your calculation is using. So when you set the period equal to "10-1", the ARR value is technically 9 (and not 10 as you suggest. And so the equation should have (ARR+1) in the denominator.

knightdaleknights
Автор

Suas aulas e demostração me ajudam muito, muito obrigado, sou do Brasil 🇧🇷 e agradeço muito 👍👍

luizazeredo
Автор

ControllersTech! You never disappoint. Thanks a bunch....

God_controls_all
Автор

the best explenation i have seen, thank you !

yunesrahem
Автор

Such quality content. Nice work. Thanks.

firstprinciples
Автор

Thank you very much, I searched just for this all the day. Problem solved!

ahmetefeakyazi
Автор

There is a error, if you not put DMA Request Settings changing from Normal to Circular the 10 different PWM not work.

alexandrev.
Автор

Thanks for this video. I have a question. What type of Logic Analyzer in this video?

truongtansang
Автор

Thank you very much! I applied each step but with the DMA part I got only 5 pulses (10, ..50)us with a period of 200us, is there a specific setting I should add to the DMA controller? thanks again

dimaabualfoul
Автор

ooh damn, when I heard the robot voice I thought this was gonna be a garbage video but your english is actually spot on. perhaps speed it up just a little bit in the future?

Tristoo
Автор

7:16 what program did you use to see pulse wave??

deduybs
Автор

First of all, it's a very good video. but for example can it take a value processed inside the while loop as pwm with dma?

huseyinulupinar
Автор

It's genuinely funny. I did the exact same thing, adapted to my Nucleo C031C6 board, connected it to a Logic analyzer and there's no signal on the pin, just a low active fucking bar.

zero
Автор

Best tutorial was so simple to implement

omaiswaseem
Автор

can we use pwm in fsk transmitter? if yes can you please guide us a little?

sajalqasim
Автор

Which software you used to see waveforms?

surajjadhav
Автор

can you tell me ...what will be the prescaler and counter period for 1 min?

sangitamainali
Автор

I am using logic analyzer like yours, i put trigger and see the different pwms 10%, 20% to 90% one time, not in cycle, don´t work like you explain, stops and do only one time this presentation. Have to set OUTPUT COMPARE PRELOAD to enable because if you set to disable will not work. So this works only one time and not repeat the signals.

alexandrev.
Автор

What software are you using to get the waveforms? I've been using an actual oscilloscope, and it is fine, but having that built into your software looks nice.

icollided
Автор

hi, I am a beginner, can you please explain, how many clocks are there, what is internal and external clock, what are the channels, PLL,

sudhansumtripathy