
The CCL peripheral offers two LookUp Tables (LUT). The CCL can serve as “glue logic” between the device peripherals and external devices. Think of CCL as a rudimentary CPLD - a programmable logic peripheral, which can be connected to a wide range of internal and external inputs such as device pins, events, or other internal peripherals. The “ Getting Started with Core Independent Peripherals on AVR®” application note is a good place to get an overview of how the CIP functionality works. Configurable Custom Logic (CCL) is among one of the powerful CIP peripherals.
#Power mosfet bidirectional switch software
Such an implementation allows for a software configurable switch-mode regulator and easy topology changes (boost, buck, fly back etc.).

Even so, the ability to use the micro-controller itself as the regulator can have several use cases. A search for switching regulators or controllers throws up thousands of parts, and it’s possible to select one specifically well suited for any desired application. Designed, built and tested a switched-mode DC-DC boost regulator using the core independent peripherals (CIP) of an ATtiny214 micro-controller as a proof of concept, and it looks pretty promising!Ī Buck, Boost, or Buck-Boost switching regulator topology usually consists of a diode, a switching element (MOSFET) and an energy storage device (inductor/capacitor) in the power path, and a controller that can measure the output voltage, control the switching element and add safety features such as current limiting and temperature shutdown.
