The Cypress Programmable System-on-Chip (PSoC®) family of devices is well established in programmable mixed-signal microcontroller based devices. The traditional method to implement power management systems involves the use of a similar system-on-chip to interface with high power discrete devices such as constant current drivers and MOSFET switches.
The PSoC core present in PowerPSoC is the same powerful and flexible device that is present in the Cypress PSoC family of devices. Apart from the 8-bit MCU and embedded flash, there are programmable analog blocks that can implement ADCs, DACs, amplifiers, and filters; programmable digital blocks that can implement counters, timers, modulators, UARTs, SPI interfaces, and an I2C hardware module. These provide the capability to perform intelligent microcontroller functions and interface with external sensors for temperature, ambient light, and more. The presence of communication blocks allows this device to provide standard lighting communication interfaces such as DMX512 and digital addressable lighting interface(DALI).
This guide is primarily divided into two sections. The PowerPSoC firmware design guidelines section describes a step-by-step process to build an HB LED driver using PowerPSoC. It is followed by sections on lighting control interfaces that describes the implementation of DMX512 and DALI protocols in PowerPSoC.