STMicroelectronics AN1601 Software Implementation for ST7DALI-EVAL Application Note

This application note describes a software example for driving a DALI slave board using an ST7DALI (ST7LITE2 family) microcontroller.


STMicroelectronics AN1601 Software Implementation for ST7DALI-EVAL Application Note - cover page
Brand
STMicroelectronics
Category
Other Electronics
Document type
Application Note
Language
English
Pages
23
File format
PDF
File size
175 KB
Published
06 August, 2012
Updated
30 September, 2023
MD5 checksum
927C415B832C793D14CC8758D9E32595

About this manual

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.

What's inside

  • Process Overview
  • General Structure of DALI Slave Software
  • Main.c Module
  • DALI_CMD Module
  • DALI_REG Module
  • Peripheral Modules
  • DALL_PUB Module
  • Fading Functions
  • Arc Power Control Functions
  • DALI Register Access

Frequently asked questions

What language is the software written in?

The software is written in C language.

Which compiler families are supported by this software?

It is compatible with both Metrowerks and Cosmic compilers.

What evaluation kit is this application note supplied with?

It is supplied with the kit ST7DALI-EVAL.

Download PDF (175 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →