Infineon XC800 Series Using Manual

XC800 Family
Guide to using the DALI LightNet tool
AP08104
Application Note
V1.4, 2012-10
Microcontrollers
Edition 2012-10
© 2012 Infineon Technologies AG
All Rights Reserved.
LEGAL DISCLAIMER
THE INFORMATION GIVEN IN THIS APPLICATION NOTE IS GIVEN AS A HINT FOR THE IMPLEMENTATION OF THE INFINEON TECHNOLOGIES COMPONENT ONLY AND SHALL NOT BE REGARDED AS ANY DESCRIPTION OR WARRANTY OF A CERTAIN FUNCTIONALITY, CONDITION OR QUALITY OF THE INFINEON TECHNOLOGIES COMPONENT. THE RECIPIENT OF THIS APPLICATION NOTE MUST VERIFY ANY FUNCTION DESCRIBED HEREIN IN THE REAL APPLICATION. INFINEON TECHNOLOGIES HEREBY DISCLAIMS ANY AND ALL WARRANTIES AND LIABILITIES OF ANY KIND (INCLUDING WITHOUT LIMITATION WARRANTIES OF NON-INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS OF ANY THIRD PARTY) WITH RESPECT TO ANY AND ALL INFORMATION GIVEN IN THIS APPLICATION NOTE.
Information
For further information on technology, delivery terms and conditions and prices, please contact the nearest Infineon Technologies Office (www.infineon.com).
Warnings
Due to technical requirements, components may contain dangerous substances. For information on the types in question, please contact the nearest Infineon Technologies Office.
Infineon Technologies components may be used in life-support devices or systems only with the express written approval of Infineon Technologies, if a failure of such components can reasonably be expected to cause the failure of that life-support device or system or to affect the safety or effectiveness of that device or system. Life support devices or systems are intended to be implanted in the human body or to support and/or maintain and sustain and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons may be endangered.
Guide to using the DALI LightNet tool
We Listen to Your Comments
Is there any information in this document that you feel is wrong, unclear or missing? Your feedback will help us to continuously improve the quality of this document. Please send your proposal (including a reference to this document) to:
mcdocu.comments@infineon.com
XC83x Revision History: V1.4 2012-10
Previous Version(s): V1.3
Page Subjects (major changes since last revision)
Updated DALI Control Gear Schematic Part 1; Changed R5 from 1K to 560R
Trademarks
AP08104
Application Note 3 V1.4, 2012-10
Guide to using the DALI LightNet tool
AP08104
Table of Contents
Table of Contents
1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1 AP08104 Software Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 LightNet Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 DALI Control Device Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.4 DALI Control Gear Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.5 Hardware Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.5.1 Setting up the Control Device for LightNet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.5.2 Setting up the Control Gear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.5.3 Connecting DALI Master and Slave to the DALI Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3 LightNet Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.1 Connecting the LightNet tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.2 Address Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.3 General Control & Status Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.4 Detailed Configuration Command Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.5 Memory Access Control Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
APPENDIX - DALI PHY Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
APPENDIX - DALI Control Gear Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Application Note 4 V1.4, 2012-10
Guide to using the DALI LightNet tool
Complex System : Multiple DALI systems can be connected together utilising gateways to building
management systems . Software programs offer more sophisticated programming functionality for grouped systems , such as scenesetting , timeclock , and partition control .
Groupe d Sy stem : Brightness control within large open - plan office, lecture halls or conference rooms . DALI can provide zoned or localised control of lighting . Control could be offered through infra-red remote control or a software control with GUI support , or used together as an easy configuration tool to group loads together . Offering flexibility in customised lighting .
DALI Bus
DALI Control Gear
(e.g. Lamp)
DALI Control Device(s)
(e.g. Control Panel, Remote Controller
, software control with GUI support)
DALI Control Gear
(e.g. Lamp)
Can connect up to 64
DALI Control Gear
Building
Management
System
DALI Bus
DALI Control Gear
(e.g. Lamp)
DALI Control Device(s)
(e.g. Control Panel, Remote Controller
, software control with GUI support)
DALI Control Gear
(e.g. Lamp)
Can connect up to 64
DALI Control Gear
Gateway Gateway
DALI
Systems
Gateway
DALI
Systems
Gateway
DALI
Systems
DALI Power
Supply
DALI Power
Supply
AP08104
Overview
1Overview
Digital Addressable Lighting Interface (DALI) is a communication protocol for lighting control in buildings. The interface was first described in the IEC60929 standard for fluorescent lamp ballast, Annex E. The standard was subsequently updated to include other lighting devices, such as LED, HID, etc., to become IEC-62386. The complete standard for control interface of electronic control gears was published in June 2009, while the standard for lighting control devices is scheduled to be published in 2012.
Only a pair of wires are required to form the bus for communication to all devices on a single DALI network. Each piece of operating equiment with a DALI interface can be communicated with individually. Using a bi-directional data exchange, a DALI controller can query and set the status of each connected lighting device. As a standalone system, DALI can be operated with a maximum of 64 devices. Alternatively, DALI can be used as a subsystem via DALI gateways for connection to building management systems.
Figure 1 DALI system types
Application Note 5 V1.4, 2012-10
Guide to using the DALI LightNet tool
LightNET
DALI configuration SW for groups and scenes
Power
Supply
USB /UART
PC Connector
XC83x
SW Stack
DAL I
PHY
XC83x
SW Stack
DALI
PHY
XC83x
SW Stack
DAL I
PHY
DAL I BUS
Easy Kit as
DALI Master Board
XC83x
DALI Slave Board
XC83x
DALI Slave Board
AP08104
Figure 2 Block Diagram for DALI Control Device and Control Gear
Overview
Infineon has developed a solution for control gears based on the published IEC standard. The DALI Software Stack for Control Gear has been designed around the Infineon XC83x devices. ‘LightNet’ has been created to mimic the basic functions of a lighting control device and can therefore be used to evaluate the software. This document describes the setup of the LightNet tool.
The following items are required for use with this application note:
1x XC836 Easy Kit (to serve as a DALI Control Device; KIT_XC836_EK_V1)
1x DALI PHY (KIT_XC822_XC836_DALI)
1x XC836 DALI Slave (KIT_DALI_RGB_XC836_DKV1) including DALI Control Gear Software Stack (AP08102)
Infineon DALI LightNet tool
Application Note 6 V1.4, 2012-10
Guide to using the DALI LightNet tool
AP08104
Getting started
2 Getting started
This section is a guide to installing LightNet.
2.1 AP08104 Software Package
This software package consists of the installation package for the LightNet software running on the computer and a DALI Software for Control Device developed to support the use of the LightNet tool.
The following figures step through the software installation on the user’s computer.
Figure 3 Copying ap08104
Figure 4 Selecting destination location
Application Note 7 V1.4, 2012-10
Guide to using the DALI LightNet tool
AP08104
Figure 5 Start the copy process
Getting started
Figure 6 Copy completed
2.2 LightNet Installation
The LightNet software is designed to provide the control device the facility to send basic DALI commands to the connected control gear. Installation is only to be performed once, using the file: LightNet_setup_V1_3.exe.
The following figures step through the LightNet tool installation process.
Application Note 8 V1.4, 2012-10
Guide to using the DALI LightNet tool
AP08104
Getting started
Figure 7 LightNet tool installation window
Application Note 9 V1.4, 2012-10
Guide to using the DALI LightNet tool
AP08104
Getting started
Figure 8 LightNet tool license agreement
Figure 9 LightNet tool destination location selection
Application Note 10 V1.4, 2012-10
Loading...
+ 21 hidden pages