We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest. Update Here
Stay in the loop with the latest from Microchip. Update your profile while you are at it. Update Here
Complete your profile to access more resources. Update Here

AN564

Title
Title
Using the PWM
Name
Name
AN564
Date
Date
06/24/2015
Application Categories
Application Categories
Peripheral / PWM
Product Categories
Product Categories
Power Management ICs / PWM Controllers
Description
Description
The PICmico? family of RISC microcontrollers has been designed to provide advanced performance and a cost-effective solution for a variety of applications. This application note provides examples which illustrate some uses of Pulse Width Modulation (PWM) using the PIC17C42?s Timer1 or Timer2 module.These examples may be modified to suit the specific needs of your application. This Application Note describes the operation of the PWM. They include the following topics: 1. Simple PWM Operation 2. Variable Period / Variable Duty Cycle PWM 3. External Clock for Timer Time-base (ramifications/issues) The listing file for the Variable Period / Variable Duty Cycle example can be found in Appendix A.The source files can be found on the Microchip BBS. On directions on how to access the Microchip BBS please refer to DS30128, which can also be found in the Microchip Embedded Control Handbook (Literature Number DS00092).

Files


Title
Title
Date
Size
AN564 Source Code - Using the PWM 12.7 KB 09/24/2021 AN564 Source Code - Using the PWM 09/24/2021 12.7 KB Download