February 2014 DocID025866 Rev 1 1/31
UM1728
User manual
STM32F1xx DALI slave interface
Introduction
This document describes the implementation of the digital addressable lighting interface
(DALI) into the STM32F1xx 32-bit microcontroller family.
The DALI slave library for STM32F1xx microcontrollers simplifies integration of the DALI
slave interface into customer applications. The implementation of DALI into STM32,
together with the various STM32 features (peripherals, computation power, communication
interfaces), is mainly used in light control applications (example, electronic ballast control).
The STM32 DALI slave library was tested according to the DALI specification.
The DALI slave library comes with a simple application example (DALI slave device). The
example was designed (and tested) for use with the following evaluation boards:
• STM32VLDISCOVERY
• DALI transceiver board (see UM1032: STEVAL-ILM001V1 hardware module)
The application example controls the light of the on-board LED diode. Light intensity is
controlled by the PWM method using a built-in timer. The external DALI master device must
control this application example (which is the DALI slave device). The DALI master devices
were tested using the ST7DALI evaluation kit (master device board and PC software).
Useful information and links about DALI interface can be found on http://www.dali-ag.org.
www.st.com