Lecture 13: Timer PWM Output

Поделиться
HTML-код
  • Опубликовано: 5 фев 2025

Комментарии • 50

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

  • @nehatawale7140
    @nehatawale7140 6 лет назад +11

    The best explanation for the topic possible.😃

  • @OverlordNibble
    @OverlordNibble 7 лет назад +28

    you have a great voice

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

  • @MCU_STM
    @MCU_STM 6 лет назад +2

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

  • @krish2nasa
    @krish2nasa 8 лет назад +4

    Excellent Explanation, Thank you very much Yifeng

  • @sagar73594
    @sagar73594 6 месяцев назад

    Precisely as always. Thanks

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

  • @梦醒红楼
    @梦醒红楼 6 лет назад +1

    sincere thanks, save me a lot of trouble

  • @male22male22
    @male22male22 7 лет назад +6

    excellent explaination

  • @sunilvasudevan01
    @sunilvasudevan01 2 года назад

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

  • @Hanutabluta
    @Hanutabluta 4 года назад

    just a PERFECT explanation

  • @PhuongNguyen-ui5mq
    @PhuongNguyen-ui5mq 3 года назад

    Thanks so much for such detailed information!

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

  • @arunvarghese9015
    @arunvarghese9015 Год назад

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

  • @maestososhifu
    @maestososhifu 5 лет назад +1

    Fantastic

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

  • @kareemelgamal759
    @kareemelgamal759 5 лет назад

    Nice explanation , thanks

  • @ravikhandelwal2996
    @ravikhandelwal2996 3 года назад

    What is OCREF, CCER?

  • @ofentsetshepe
    @ofentsetshepe 7 лет назад +1

    amazing stuff

  • @pinindumihiranga7738
    @pinindumihiranga7738 4 года назад

    Thank You very much

  • @ehsandaneshvar
    @ehsandaneshvar 4 года назад

    thank you you solved my problem

  • @devilatha8343
    @devilatha8343 6 лет назад

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

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

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

  • @rimpyjain5256
    @rimpyjain5256 6 лет назад

    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

  • @devilatha8343
    @devilatha8343 6 лет назад

    How can we give ARR & CRR values

    • @waynet8953
      @waynet8953 6 лет назад +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.

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

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

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

  • @Jarrod_C
    @Jarrod_C 6 лет назад +1

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

  • @paulpixzy5297
    @paulpixzy5297 2 года назад

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