Lecture 13: Timer PWM Output

Поділитися
Вставка
  • Опубліковано 3 лис 2024

КОМЕНТАРІ • 50

  • @nehatawale7140
    @nehatawale7140 6 років тому +11

    The best explanation for the topic possible.😃

  • @radhey04ec
    @radhey04ec 4 роки тому +3

    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

  • @siva643
    @siva643 3 роки тому +1

    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

  • @OverlordNibble
    @OverlordNibble 7 років тому +28

    you have a great voice

  • @sagar73594
    @sagar73594 3 місяці тому

    Precisely as always. Thanks

  • @timowolff1105
    @timowolff1105 4 роки тому +3

    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?

  • @MCU_STM
    @MCU_STM 5 років тому +2

    Really perfect. Lots of details have been told. Great tutorial on timers.Tnx!

  • @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?

  • @krish2nasa
    @krish2nasa 8 років тому +4

    Excellent Explanation, Thank you very much Yifeng

  • @sunilvasudevan01
    @sunilvasudevan01 2 роки тому

    Please add one more condition for triggering the OCREF output. For upcounting trigger point condition is TIMx_CNT TIMx_CCRx

  • @mousumimandal5464
    @mousumimandal5464 5 років тому +2

    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 :::《)))

  • @male22male22
    @male22male22 7 років тому +6

    excellent explaination

  • @梦醒红楼
    @梦醒红楼 6 років тому +1

    sincere thanks, save me a lot of trouble

  • @Hanutabluta
    @Hanutabluta 4 роки тому

    just a PERFECT explanation

  • @arunvarghese9015
    @arunvarghese9015 Рік тому

    PWM mode 1:
    if (counter < CCR)
    output=H
    else
    output = L
    PWM mode 2:
    if (counter >= CCR)
    output = H
    else
    output = L

  • @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 ?

  • @PhuongNguyen-ui5mq
    @PhuongNguyen-ui5mq 3 роки тому

    Thanks so much for such detailed information!

  • @maestososhifu
    @maestososhifu 4 роки тому +1

    Fantastic

  • @josephzhang1797
    @josephzhang1797 4 роки тому

    So the clock is implemented by the GTM?

  • @pinindumihiranga7738
    @pinindumihiranga7738 4 роки тому

    Thank You very much

  • @devilatha8343
    @devilatha8343 6 років тому

    Plese tell me What is formulas for finding pwm, CCR,arr.prescaler

  • @ofentsetshepe
    @ofentsetshepe 7 років тому +1

    amazing stuff

  • @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 роки тому +1

      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.

  • @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

  • @kareemelgamal759
    @kareemelgamal759 5 років тому

    Nice explanation , thanks

  • @ehsandaneshvar
    @ehsandaneshvar 4 роки тому

    thank you you solved my problem

  • @paulpixzy5297
    @paulpixzy5297 2 роки тому

    How can i make ocr a and ocr b go high and low at the same time

  • @ravikhandelwal2996
    @ravikhandelwal2996 3 роки тому

    What is OCREF, CCER?

  • @rimpyjain5256
    @rimpyjain5256 6 років тому

    can u plzz help to write a code to shift the pwm in stm32f0

  • @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.

  • @CristianGomez-vc8pk
    @CristianGomez-vc8pk 6 років тому

    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 7 років тому +1

    plz tell me how many PWM can generate a arm cortex M3

    • @ahmetyildiz1306
      @ahmetyildiz1306 7 років тому

      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.

  • @crateer
    @crateer 4 роки тому

    Why such a short Channel Name? Haha
    Great video

  • @Jarrod_C
    @Jarrod_C 6 років тому +1

    This was way too advanced, wish you had a more basic explanation.

  • @devilatha8343
    @devilatha8343 6 років тому

    How can we give ARR & CRR values

    • @waynet8953
      @waynet8953 5 років тому +1

      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.