MM MPLAB® Xpress IDE Edition - Episode 13 - Using the CLC to Create a PWM Signal

3,684 views · Published 14 December 2017 · 4:55 · Indexed 28 October 2026

Channel: Microchip Technology, Inc. · 2017 · Science & Technology

Watch on YouTube

In this How-To tutorial, we discuss  how to create a new peripheral using the custom logic provided by the Configurable Logic Cell on Microchip microcontrollers. We demonstrate how to combine a standard SPI module with a timer through the CLC in an SR-Latch configuration in order to create a new PWM signal. This is particularly useful if you have already used all the PWMs that are available,and still need one more. While this tutorial shows how to make a PWM signal, the CLC allows you to create many new peripherals by combining different peripheral input signals into a new final result.

You can find the full written example here: 
https://mchp.us/2KmA5l2

You can learn more about the CLC peripheral here:
https://mchp.us/317716L

Make sure to follow us on Facebook and Youtube for up to date content and leave comments below on what you think of the video!

More from this channel