Go to GlobalSpec.com Home
Toolbar   The Engineering Toolbar
The Ultimate Resource for Engineering and Technical Research. (Learn More)

PWM, A Software Solution using the 16CXXX Devices

From Microchip Technology, Inc.
 

 
The low cost, high performance features of a PIC16CXXX microcontroller make it a suitable device for automatic control technology applications. Sometimes, an additional PWM output is needed. For some devices, such as the PIC16C71, the addition of a software PWM adds the missing element. It is possible to use Timer (which also provides the system clock) and its corresponding interrupt to generate a PWM output with a duty cycle that can vary from nearly 10% to 90%. However, some applications require a greater duty cycle range. This application note provides a software solution for a more accurate and flexible PWM output, which is characterized by the following: 1. PWM frequency up to 19.6 kHz (20 MHz crystal). 2. Variable duty cycle from 0% to 100%. 3. 8-bit resolution. 4. PWM step size of 1 TCY (Instruction Cycle Time). 5. Simultaneous generation of a system time clock.

Products & Services
Microprocessor and IC programmers, compilers and debuggers are programs that translate high-level language codes into assembly (machine) code, or track and correct errors (bugs) in program code. Learn more about Microprocessor and IC Programmers, Compilers and Debuggers

Product Announcements
Renesas Technology America, Inc. - High-Efficiency MCU Families for Motor Control
Renesas announces the launch of two families of highly efficient MCUs –R8C and SuperH– for implementing control functions in BLDC Motors. (read more)
Atmel Corporation - AVR MCUs Combine USB, Battery Charging and Analog
New AVR® microcontrollers combine USB controller and high performance analog features. The ATmega16U4 and ATmega32U4 reduce system cost in battery powered devices such as gaming accessories. (read more)
Microchip Technology, Inc. - First PIC Microcontrollers w/ Mid-range 8-bit Core
New Family with eXtreme Low-Power nanoWatt XLP Technology Delivers Enhanced C Support; Broad Peripheral Set Includes mTouch™ Capacitive Sensing and LCD Drive... (read more)
JMC Products - Pulse Width Modulated DC Fans
JMC offers a host of high frequency Pulse Width Modulated (PWM) fans that perform at low noise levels by eliminating the power switching noise of the fan. The speed of the fan is controlled by an... (read more)
Microchip Technology, Inc. - Next Generation 16-Bit Digital Signal Controllers
Microchip Technology Inc., a leading provider of microcontroller and analog semiconductors, today announced the first seven next-generation 16-bit dsPIC® Digital Signal Controllers (DSCs) for common,... (read more)
MetricTest - Get Different Signals From One Generator!
Agilent 81150A Pulse Function Arbitrary Noise Generator Key Features 120 MHz pulse generation with variable rise / fall time and a trigger up to 120 MHz 240 MHz sine waveform output 14 bit, 2... (read more)
Newark - FREESCALE SEMICONDUCTOR Do More With Less
Extends the advantages of the HCS08 core and peripherals to 5V. Gives you the choice of cost-effective higher-pin-count devices, with 20 MHz CPU, for entry-level products. (read more)
Advanced Orientation Systems, Inc. - EZ-TILT-5000 Dual axis advanced inclinometer.
EZ-TILT-5000 advanced dual axis temperature-linearity compensated industrial inclinometer that outputs up to +-90 arcdeg Pitch/Roll tilt information in RS-232, PWM, ANALOG and ALARM formats. Internal... (read more)

Topics of Interest
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... (Read More)
9.6 More Advanced Operation of the ADC10 It is time to look at some of the more advanced features of the ADC10. These include direct triggering from Timer_A and automatic storage of results. I... (Read More)
PIC16CXXX microcontrollers from Microchip Technology, Inc., high-performance, EPROM-based 8-bit microcontrollers. Some of the members of this series (like the PIC16C71 and PIC16C84) do not have an... (Read More)
The recent interest in intelligent power supplies has driven the development of a new class of microcontroller friendly PWM generators. These PWM generators are the mixed signal control blocks for... (Read More)
The PIC17C42 is equipped with two high frequency Pulse Width Modulation (PWM) outputs. In a pulse width modulated signal the period of the signal is (usually) kept fixed, while the duty cycle is... (Read More)