Skip to content
Tomas Hlavacek edited this page Jun 27, 2016 · 2 revisions

Omnia LED driver

Driver architecture

There is an ARM Cortex-M0 MCU. The MCU drives common PWM signal for all LEDs (global brightness settings) and RGB signals for 3x STP16CPC26PTR LED drivers connected in SPI daisy-chain.

The MCU has the I2C command interface that is connected to the main CPU. The MCU has two slave adresses: 0x2a and 0x2b. The first should be used by userspace utilities that are not related to LEDs. The second address should be used by the LED kernel driver.

The kernel LED driver implements standard LED driver kernel interface. It can be manually configured through the /sys interface.

Moreover there are additional files in the /sys filesystem that allow setting of non-standard features: Global brightness, color of the LEDs (all LEDs are RGB) and autonomous operation

Kernel LED driver sysfs interface