This application note describes a method of implementing digital peak current mode control of a power supply using the Texas Instruments Piccolo MCU. The theory of operation and all relevant equations are given, as well as a design example and complete compile ready project files.