1 / 16

Timer 1 and 2 operation , PWM Principles

Timer 1 and 2 operation , PWM Principles. Timer 1 Operation. Timer 1 Control Register. Pulse Width Modulation (PWM). Generating PWM signals in Software. Generating PWM using HW (1). Generating PWM using HW (2). Timer 2 Block diagram. Timer 2 Control Register. Capture, Compare, PWM (CCP).

Download Presentation

Timer 1 and 2 operation , PWM Principles

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Timer 1 and 2 operation , PWM Principles

  2. Timer 1 Operation

  3. Timer 1 Control Register

  4. Pulse Width Modulation (PWM)

  5. Generating PWM signals in Software

  6. Generating PWM using HW (1)

  7. Generating PWM using HW (2)

  8. Timer 2 Block diagram

  9. Timer 2 Control Register

  10. Capture, Compare, PWM (CCP) • There are two CCP modules in the 16F877. • Each has two eight bit registers. • They modules work in conjunction with either timer1 or timer2. • They have three main modes of operation.

  11. CCPxCON Register

  12. Capture Mode Operation

  13. Compare Operation Diagram

  14. PWM Operation Diagram

  15. PWM Output at Pin RC2

  16. PWM Calculations and Setup

More Related