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


  • 56 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 and 2 operation , PWM Principles


Timer 1 operation

Timer 1 Operation


Timer 1 control register

Timer 1 Control Register


Pulse width modulation pwm

Pulse Width Modulation (PWM)


Generating pwm signals in software

Generating PWM signals in Software


Generating pwm using hw 1

Generating PWM using HW (1)


Generating pwm using hw 2

Generating PWM using HW (2)


Timer 2 block diagram

Timer 2 Block diagram


Timer 2 control register

Timer 2 Control Register


Capture compare pwm ccp

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

CCPxCON Register


Capture mode operation

Capture Mode Operation


Compare operation diagram

Compare Operation Diagram


Pwm operation diagram

PWM Operation Diagram


Pwm output at pin rc2

PWM Output at Pin RC2


Pwm calculations and setup

PWM Calculations and Setup


  • Login