App Note: Combining peripherals to implement a high resolution PWM
Here’s an app note from Microchip describing how to use the configurable logic cell (CLC) and the numerically controlled oscillator (NCO) peripherals to generate a high resolution pulse-width modulation signal. These peripherals are relatively new to Microchip’s product line and can only be found on some PIC10F and PIC16F devices:
This entry was posted in app notes and tagged app note, microchip.
By itself, the NCO peripheral cannot produce a PWM signal, but we will change its behavior by adding some logic using the CLC to produce a PWM output. We will achieve this by using the conventional PWM as a clock source to trigger the PWM period, and use the NCO to determine the pulse width.