STMicroelectronics AN3298 STM8S DALI Slave Library Application Note

This application note describes the implementation of the Digital Addressable Lighting Interface (DALI) into the STM8S 8-bit microcontroller family. The STM8S DALI slave library simplifies integration of the DALI slave interface into customer applications.


STMicroelectronics AN3298 STM8S DALI Slave Library Application Note - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
27
File format
PDF
File size
392 KB
Published
07 August, 2012
Updated
30 September, 2023
Model
STM8S
MD5 checksum
911C6F5678E131B38E39A73D3C1F1C02

About this manual

This document details the implementation of the Digital Addressable Lighting Interface (DALI) into the STM8S 8-bit microcontroller family. The provided DALI slave library simplifies the integration of the DALI slave interface into customer applications, particularly for electronic ballast control and other light control scenarios.

The library has been tested according to the DALI specification and includes a simple application example designed for use with the STM8S-DISCOVERY evaluation board and the STEVAL-ILMOO1V1 DALI transceiver board. The example demonstrates controlling an on-board LED diode's light intensity using PWM, managed by an external DALI master device.

What's inside

  • DALI standard overview
  • DALI purpose and properties
  • DALI physical layer
  • STM8S DALI slave library overview
  • Structure of final user application
  • Function description
  • I/O pin driver layer functions
  • DALI stack layer functions
  • Resources and examples
  • Revision history

Specifications

Microcontroller FamilySTM8S 8-bit
Communication Speed1200 Bd
Bus Length (1.5 mm² cable)300 m
Max Bus Current250 mA
Max Receive Current2 mA

Frequently asked questions

What is the purpose of the STM8S DALI slave library?

The library simplifies the integration of the DALI slave interface into customer applications.

What is the STM8S DALI slave library used for?

It simplifies the integration of the DALI slave interface into customer applications, such as electronic ballast control.

How is light intensity controlled in the application example?

Light intensity is controlled by the PWM method using a built-in timer.

Download PDF (392 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →