This application note describes a software example for driving a DALI slave board using an ST7DALI (ST7LITE2 family) microcontroller.
The document describes the software implementation required to drive a DALI slave board using the ST7DALI (ST7LITE2 family) microcontroller. It is supplied with the evaluation kit ST7DALI-EVAL and includes source code compatible with Metrowerks and Cosmic compilers.
The text details the general structure of the software, including modules for main control, DALI command handling, register management, and peripheral interfaces such as timers, EEPROM, and I/O ports. It explains how the system initializes, processes incoming frames from a master board, manages fading effects, and controls lamp power levels via PWM.
The software is written in C language.
It is compatible with both Metrowerks and Cosmic compilers.
It is supplied with the kit ST7DALI-EVAL.