Timer 1 and 2 operation pwm principles
This presentation is the property of its rightful owner.
Sponsored Links
1 / 16

Timer 1 and 2 operation , PWM Principles PowerPoint PPT Presentation


  • 60 Views
  • Uploaded on
  • Presentation posted in: General

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


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)

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


CCPxCON Register


Capture Mode Operation


Compare Operation Diagram


PWM Operation Diagram


PWM Output at Pin RC2


PWM Calculations and Setup


  • Login