Summary

  • In a YouTube video, Grug Huhler showcases how to create one’s own digital logic hardware using the ATtiny CCL (Configurable Custom Logic) peripheral to save on bill of materials (BOM) costs on one’s project.
  • For simple to moderately complex logic, one can use spare pins on their tinyAVR 0-, 1- and 2-series micro and use them with the CCL for “glue logic”.
  • The CCL consists of two Lookup Tables (LUTs) that can map binary inputs into binary outputs, where each LUT can be programmed with one byte to act as 2- or 3-input logic such as NOT, AND, OR, or XOR etc.
  • Each LUT’s output can be piped through a Filter/Sync function, an Edge Detector, and a Sequencer, with the option to mask out LUT inputs.
  • The YouTube video showcases a three-input AND gate, an SR Latch using the sequencer, an SR Latch using feedback, and a filter/sync and edge detection circuit.

By John Elliot V

Original Article