Download XC800 Family AP08104 Microcontrollers Application Note

Transcript
AP08104
Guide to using the DALI LightNet tool
Getting started
2.4
Hardware Setup
The LightNet tool acts as the software for the DALI Control Device, and can be used with either the XC822 or
XC836 Easy Kit.
The following sections describe how to setup the LightNet tool to evaluate the DALI protocol at the Microcontroller
level.
Control Device Setup
LightsON
Tool
XC836
Easy Kit
`
DALI BUS @ MCU Levels
Control Gear Setup
XC822
Easy Kit
LED
MODULE
Computer
Figure 10
Hardware Setup Block Diagram for Control Device and Control Gear
2.4.1
Setting up the Control Gear
For the DALI Control Gear setup using the XC822 Easy Kit, connect the LED module and enable the boost
converter by connecting the BC_EN jumper as shown below. Also, using XC800 FLOAD, change the XC822 Easy
Kit Boot Mode to User Mode (Diagnostic) with SPD pin SPD_0.
Connect the LED
module to VOUT
Connect the
jumper to BC _EN
Figure 11
Connecting the LED module and boost converter jumper
2.4.2
Setting up the Control Device for LightNet
The XC836 Easy Kit board can be used as the LightNet DALI Control Device, with the following steps:
1. Modify the XC836 Easy Kit board.
2. Connect and download the generated hexfile (File:Elpis.hex) from Section 2.2 into the XC836 Easy Kit board
using XC800 FLOAD.
3. Using XC800 FLOAD, change the XC836 Easy Kit Boot Mode to UART BSL Mode, then configure the
COM_SEL jumper to support UART BSL mode.
Note: To ensure the success of the following procedures, please ensure that the device has been successfully
configured to UART BSL mode .
Application Note
12
V1.1, 2011-02