Renesas Applilet User Manual

All information contained in these materials, including products and product specifications, represents information on the product at the time of publication and is subject to change by Renesas Electronics Corp. without notice. Please review the latest information published by Renesas Electronics Corp. through various means, including the Renesas Electronics Corp. website (http://www.renesas.com).
Cover
Applilet EZ for HCD Controller
For Ver.9.00
User’s Manual
Rev.13.00 2016.03
Renesas Electronics www.renesas.com
Notice
1. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software, and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information.
2. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein.
3. Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights of third parties by or arising from the use of Renesas Ele ctronics products or technical information described in this document. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics or others.
4. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from such alteration, modification, copy or otherwise misappropriation of Renesas Electronics product.
5. Renesas Electronics products are classified according to the following two quality grades: “Standard” and “High Quality”. The recommended applications for each Renesas Electronics product depends on the product’s quality grade, as indicated below.
“Standard”: Computers; office equipment; communications equipment; test and measurement equipment; audio and visual
equipment; home electronic appliances; machine tools; personal electronic equipment; and industrial robots etc.
“High Quality”: Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-
crime systems; and safety equipment etc.
Renesas Electronics products are neither intended nor authorized for use in products or systems that may pose a direct threat to human life or bodily injury (artificial life support devices or systems, surgical implantations etc.), or may cause serious property damages (nuclear reactor control systems, military equipment etc.). You must check the quality grade of each Renesas Electronics product before using it in a particular application. You may not use any Renesas Electronics product for any application for which it is not intended. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for which the product is not intended by Renesas Electronics.
6. You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges.
7. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Further, Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Becaus e the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or systems manufactured by you.
8. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations.
9. Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations. You should not use Renesas Electronics products or technology described in this document for any purpose relating to military applications or use by the military, including but not limited to the development of weapons of mass destruction. When exporting the Renesas Electronics products or technology described in this document, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations.
10. It is the responsibility of the buyer or distributor of Renesas Electronics products, who distributes, disposes of, or otherwise places the product with a third party, to notify such third party in advance of the contents and conditions set forth in this document, Renesas Electronics assumes no responsibility for any losses incurred by you or third parties as a result of unauthorized use of Renesas Electronics products.
11. This document may not be reproduced or duplicated in any form, in whole or in part, without prior written consent of Renesas Electronics.
12. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products, or if you have any other inquiries.
(Note 1) “Renesas Electronics” as used in this document means Renesas Electronics Corporation and also includes its majority-
owned subsidiaries.
(Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.
(2012.4)
How to Use This Manual
Readers This manual is intended for user engineers who want to understand the features of the
RL78/I1A in order to design and develop its application systems and programs.
Purpose This manual is intended to give users an understanding how to use Applilet EZ for HCD
Controller and of the features described in the Organization below.
Organization This manual is broadly divided into the following parts.
Overview Installation Starting and Ending Applilet EZ for HCD Controller operation Windows reference
How to Use This Manual It is assumed that the readers of this manual have general knowledge of electrical
engineering, logic circuits, and microcontrollers.
To understand the overall features of Applilet EZ for HCD Controller
Read this manual in the order of the CONTENTS. The mark "<R>" shows major revised points. The revised points can be easily searched by copying an "<R>" in the PDF file and specifying it in the "Find what:" field.
To learn the details of the hardware features of the RL78/I1A
Refer to RL78/I1A User’s Manual (R01UH0169E).
Conventions Data significance: Higher digits on the left and lower digits on the right Active low representation: xxx (overscore over pin or signal name) Note: Footnote for item marked with Note in the text Caution: Information requiring particular attention Remark: Supplementary information Numerical representation: Binary ... xxxx or xxxxB Decimal ... xxxx Hexadecimal ... xxxxH
Document Name
Document No.
Japanese
English
RL78/I1A User’s Manual; Hardware
R01UH0169J
R01UH0169E
Document Name
Document No.
Japanese
English
RL78/I1A DC/DC LED Control Evaluation Board User’s Manual
R01UH0363J
R01UH0363E
Document Name
Document No.
Japanese
English
CubeSuite+ V.2.02.00 User’s Manual
Start
R20UT2865J
R20UT2865E
Analysis
R20UT2868J
R20UT2868E
Message
R20UT2871J
R20UT2871E
RL78 Design
R20UT2684J
R20UT2684E
RL78, 78K0R Coding
R20UT2774J
R20UT2774E
RL78, 78K0R Build
R20UT2623J
R20UT2623E
RL78 Debug
R20UT2867J
R20UT2867E
Related Documents
The related documents indicated in this publication may include preliminary versions. However, preliminary versions are not marked as such.
Documents Related to Devices
Documents Related to Development Hardware Tools
Documents Related to Development Software Tools
Caution The related documents listed above are subject to change without notice. Be sure to use the latest version
of each document for designing.
Applilet and CubeSuite are a registered trademark of Renesas Electronics Corporation. Windows, Internet Explorer, and Excel are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Pentium is a trademark of Intel Corporation in the United States.
CONTENTS
CHAPTER 1 OVERVIEW .............................................................................................. 1
1. 1 Overview .................................................................................................................................... 1
1. 2 Host Machine, Software, and Hardware Configurations ............................................................ 2
CHAPTER 2 INSTALLATION ........................................................................................ 4
2. 1 Installing Application .................................................................................................................. 4
2. 1. 1 Installing .NET Framework ............................................................................................ 5
2. 1. 2 Installing Visual C++ Redistributable Package ............................................................. 7
2. 1. 3 Installing Applilit EZ for HCD Controller ........................................................................ 8
2. 1. 4 Installing compiler, assembler, or integrated development environment and device file
....................................................................................................................................... 8
2. 1. 5 Windows [start] menu and shortcut icon ....................................................................... 9
2. 2 Installing USB Driver .................................................................................................................. 9
2. 3 Uninstall...................................................................................................................................... 9
CHAPTER 3 STARTING AND ENDING ...................................................................... 10
3. 1 Starting 10
3. 1. 1 Setting up at the first startup ....................................................................................... 11
3. 2 Ending 14
CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION ......................... 15
4. 1 Operation Flow ......................................................................................................................... 15
4. 2 Setting Up the Evaluation Board .............................................................................................. 17
4. 3 Mode Setting ............................................................................................................................ 18
4. 3. 1 Fix mode ..................................................................................................................... 18
4. 3. 2 Variable mode ............................................................................................................. 19
4. 3. 3 Analog Input mode ...................................................................................................... 21
4. 3. 4 Serial Command mode ............................................................................................... 23
4. 3. 5 DMX512 mode ............................................................................................................ 24
4. 3. 6 DALI mode .................................................................................................................. 25
4. 3. 7 Switch mode................................................................................................................ 26
4. 3. 8 IR Remote controller control mode ............................................................................. 27
4. 3. 9 Master Control mode .................................................................................................. 28
4. 4 Generation, Writing, and Evaluation ........................................................................................ 29
CHAPTER 5 WINDOW REFERENCE ......................................................................... 33
5. 1 Overview of Windows and Dialog Boxes ................................................................................. 33
5. 2 Description of Windows and Dialog Boxes .............................................................................. 34
APPENDIX A SAMPLE FILE ....................................................................................... 58
APPENDIX B SERIAL COMMAND MODE COMMUNICATION COMMANDS ............ 59
B.1 Overview of Binary Type ........................................................................................................... 59
B. 1. 1 Details of basic format 1 (host target) .................................................................. 60
B. 1. 2 Details of basic format 2 (target host) .................................................................. 61
B. 1. 3 Binary type execution example................................................................................... 61
B. 2 Overview of ASCII Type .......................................................................................................... 62
B. 2. 1 Details of basic format 3 (host target) .................................................................. 62
B. 2. 2 Details of basic format 4 (target host) .................................................................. 63
B. 2. 3 ASCII type execution example ................................................................................... 63
B. 3 Transmission/Reception Timing According to Communication Method .................................. 64
CONTENTS-1
APPENDIX C DMX512 MODE COMMUNICATION DATA .......................................... 65
C. 1 Protocol Specifications ............................................................................................................ 65
C. 2 Communication Data Specification ......................................................................................... 66
APPENDIX D DALI MODE COMMUNICATION DATA ................................................ 67
D. 1 Protocol Specifications ............................................................................................................ 67
D. 2 Transmission/Reception Timing Rules .................................................................................... 69
APPENDIX E RESERVED AREAS USED IN ON-CHIP DEBUGGING ....................... 71
CONTENTS-2
1
R20UT0435EJ1300
Rev.13.00
March 31, 2016
R20UT0435EJ1300 Rev.13.00 March 31, 2016
PC (GUI)
Evaluation board
(RL78/I1A AC/DC Full digital 3ch LED control unit, etc.)
USB cable
<Configuration example>
<R>
Applilet EZ for HCD Controller
For Ver.9.00
CHAPTER 1 OVERVIEW
1. 1 Overview
Applilet EZ for HCD Controller is a tool used to automatically generate software for microcontrollers for LED lamps and illumination and to write programs. By specifying dimming and the communication mode on the GUI, Applilet EZ for HCD Controller can be used to easily generate the programs that control the software for microcontrollers that control LEDs at a constant current. It can also be used to automatically write the generated software to the flash memory in microcontrollers via a USB cable and to check operation by using an evaluation board. By using Applilet EZ for HCD Controller, the labor hours for controlling LEDs, developing communication software, and checking operation can be significantly reduced. In addition, application systems for LED lamps and illumination that use microcontrollers can be evaluated without microcontroller expertise.
Caution For DALI communication, it's possible to output source files at the time of IEC62386-102 ed1.0 standard
selection.
The hex files are output at the time of IEC62386-102+207 ed1.0 and the IEC62386-102 ed2.0 standard
selection. For IEC62386-102+ 207 ed1.0 and IEC62386-102 ed2.0, a library is prepared separately. For details, contact your local Renesas Electronics sales.

Applilet EZ for HCD Controller CHAPTER 1 OVERVIEW

2
R20UT0435EJ1300 Rev.13.00 March 31, 2016
R>
1. 2 Host Machine, Software, and Hardware Configurations
The host machine, software, and hardware configurations for using Applilet EZ for HCD Controller are shown below.
(1) Host machine
OS: Windows 7 (32-/64-bit mode) CPU, Memory: Must satisfy the recommended requirements for each OS USB: USB 1.1 interface or later
(2) Software
Applilet EZ for HCD Controller (this software) Software that can edit CSV files, such as Microsoft Excel®  Assembler/compiler/integrated development environment/device file
<Renesas Electronics
Note 2
>
Integrated Development Environment: CubeSuite+ CA78K0R
<IAR Systems>
Integrated development environment: IAR Embedded Workbench Compiler Assembler Device file
Note 4
: IAR C/C++ Compiler for Renesas RL78
Note 4
: IAR Assembler for Renesas RL78
Note 4
: DF-RL78I1A-EE_xxxxx
<KPIT (GCC)>
Tool package: GNURL78
Note5
Renesas Flash Programmer
············· Software for flash memory programming
Board driver
············· Driver used to make the host PC recognize the evaluation board
(RL78/I1A AC/DC Full digital 3ch LED control unit, etc.)
(3) Hardware
Note 1
Note3
Evaluation board
RL78/I1A DCDC LED Control Evaluation Board
·································· This is an evaluation board for LEDs that uses the RL78/I1A. Red, green, and blue LEDs are mounted on the board. The LEDs can be controlled by using the internal features of the L78/I1A and an FET without the constant-current driver IC.
RL78/I1A AC/DC Full digital 3ch LED control unit
·································· This is an evaluation unit for the LED power source with the RL78/I1A implemented manufactured by Tessera Technology Inc. It can control the power factor correction circuit (PFC) and up to three channels of LED. Writing to the microcomputer and debugging are handled by using the on-board USB interface or E1.
RL78/I1A AC/DC 1 converter LED evaluation unit
·································· This is an evaluation board for LED control by non-isolated 1 converter system that uses the RL78/I1A. Writing to the microcomputer and debugging are handled by using the on-board USB interface or E1.
RL78/I1A AC/DC 2 converter LED evaluation unit
Applilet EZ for HCD Controller CHAPTER 1 OVERVIEW
3
R20UT0435EJ1300 Rev.13.00 March 31, 2016
·································· This is an evaluation board for LED control by non-isolated 2 converter system that uses the RL78/I1A. Writing to the microcomputer and debugging are handled by using the on-board USB interface or E1.
RL78/I1A Lighting Communication Master Evaluation Board
·································· It is possible to use as a communication master board for controlling various lighting evaluation board. Each interface of DALI protocol communication, DMX512 protocol communication and infrared remote control are supported. In addition, the communication only by the switch operation on the master board is also possible.
Notes1. The supported development environment differs depending on the OS used.
2. When using a software tool manufactured by Renesas Electronics, software can be automatically generated using Applilet EZ for HCD Controller without installing a device file.
3. "xxxx" indicates the version.
4. Applilet EZ for HCD may not operate depending on the versions of the complier, assembler, and device file.
5. Use e2studio manufactured by Renesas as the integrated development environment for GNURL78.
Cautions1. It is recommended that the latest service pack be installed for any OS.
2. Applilet EZ for HCD Controller requires the compiler, assembler, or integrated development environment and device file of an Renesas Electronics or IAR Systems product.
Remarks1. For details about how to obtain compilers, assemblers, integrated development environments,
and device files, contact your local Renesas Electronics sales representative.
2. For details of the evaluation boards, refer to each user’s manual.
Applilet EZ for HCD Controller CHAPTER 2 INSTALLATION
4
R20UT0435EJ1300 Rev.13.00 March 31, 2016
<R>
CHAPTER 2 INSTALLATION
2. 1 Installing Application
The following applications must be installed to use Applilet EZ for HCD Controller.
Microsoft .NET Framework 4.5 or later  Microsoft Visual Studio 2013 Visual C++ Redistributable Package  Applilet EZ for HCD Controller  Compiler, assembler, or integrated development environment and device file
Notes1. Install one of the following as the compiler, assembler, integrated development environment and device
file. Install the device file according to the chip mounted on the evaluation board.
<Renesas Electronics>
Integrated development environment: CubeSuite CA78K0R
Note 1
<IAR Systems>
Integrated development environment: IAR Embedded Workbench Compiler: IAR C/C++ Compiler for Renesas RL78 Assembler: IAR Assembler for Renesas RL78 Device file: DF-RL78I1A-EE_xxxxx
<KPIT (GCC)>
Tool package: GNURL78
Remark For details about how to obtain compilers, assemblers, integrated development environments, and
device files, contact your local Renesas Electronics sales representative.

Applilet EZ for HCD Controller CHAPTER 2 INSTALLATION

5
R20UT0435EJ1300 Rev.13.00 March 31, 2016
<R>
2. 1. 1 Installing .NET Framework
Install .NET Framework 4.5, which is required for using the Applilet EZ for HCD Controller.
(a) Download the required files
Download following files required for installation from the Microsoft website.
(1) .NET Framework 4.5Web installer
NDP452-KB2901954-Web.exe: Web installer (When a web access is possible, use a Web installer. Using a web installer, Language Pack which matches the language of the OS is also installed.)
(2) .NET Framework 4.5 offline installer & Language pack installer
NDP452-KB2901907-x86-x64-ALLOS-ENU.exe: Offline installer (When a web access is not possible, use an offline installer. Using an offline installer, Language Pack is not installed. For using in language other than English of Windows, install Language Pack after installing.NET Framework 4.5 by an offline installer.)
(b) Install .NET Framework
This step is described offline installation of .NET Framework 4.5. It is necessary to install Language Pack separately from the .NET Framework 4.5 by the offline installation.
When "NDP452-KB2901907-x86-x64-ALLOS-ENU.exe" is double-clicked, "User Account Control" dialog box is displayed.
Click [Yes].
Applilet EZ for HCD Controller CHAPTER 2 INSTALLATION
6
R20UT0435EJ1300 Rev.13.00 March 31, 2016
"Microsoft .NET Framework 4.5 Setup" dialog box is displayed.
After confirming the license terms, when agreeing, check "I have read and accept the license terms" and click [Install]. Proceed with the installation by following the instructions that will be displayed in the wizard window.
(c) Install Language pack
When using the language other than English of Windows, install the Language Pack.
Applilet EZ for HCD Controller CHAPTER 2 INSTALLATION
7
R20UT0435EJ1300 Rev.13.00 March 31, 2016
<R>
2. 1. 2 Installing Visual C++ Redistributable Package
Install Visual C++ Redistributable Package, which is required for using the Applilet EZ for HCD Controller.
(a) Download the required files
Download following files required for installation from the Microsoft website.
(1) Visual Studio 2013 Visual C++ Redistributable Package installer
Vcredist_x86.exe
(b) Install Visual C++ Redistributable Package
When "Vcredist_x86.exe" is double-clicked, "Visual C++ redistributable package Setup" dialog box is displayed.
After confirming the license terms, when agreeing, check "I agree to the license terms and conditions" and click [Install]. Proceed with the installation by following the instructions that will be displayed in the wizard window.
Applilet EZ for HCD Controller CHAPTER 2 INSTALLATION
8
R20UT0435EJ1300 Rev.13.00 March 31, 2016
2. 1. 3 Installing Applilit EZ for HCD Controller
Double-click the AppEZHCD_V90J.msi file to start the installation wizard of Applilet EZ for HCD Controller.
Click the [Next] and proceed with the installation by following the instructions that will be displayed in the wizard window.
2. 1. 4 Installing compiler, assembler, or integrated development environment and device file
Install the compiler, assembler, or integrated development environment and device file according to each product manual.
Caution After installation, the compiler to be used must be selected. For details, refer to 3.1.1 (a)Setting up at
the first startup and (B)Compiler setting.
Applilet EZ for HCD Controller CHAPTER 2 INSTALLATION
9
R20UT0435EJ1300 Rev.13.00 March 31, 2016
2. 1. 5 Windows [start] menu and shortcut icon
When installing of the application has been completed normally, the following folder will be copied into the specified installation folder.
Figure2-1 Windows [start] Menu
The following shortcut icon is displayed on the Windows desktop.
Figure2-2 Shortcut Icon
2. 2 Installing USB Driver
USB driver is required when using an evaluation board. The USB driver for evaluation board is stated in the disk media provided or in an e-mail message.
The first time that the host machine is connected to the evaluation board via the bundled USB cable, Windows’
[Found New Hardware Wizard] appears, prompting for installation of the USB driver. Proceed with the installation by following the windows that will be displayed.
2. 3 Uninstall
To uninstall Applilet EZ for HCD Controller, C compiler, and assembler, go to the Windows Control Panel and select [Programs and Features] (in Windows 7).
Applilet EZ for HCD Controller CHAPTER 3 STARTING AND ENDING
10
R20UT0435EJ1300 Rev.13.00 March 31, 2016
<R>
CHAPTER 3 STARTING AND ENDING
3. 1 Starting
To start Applilet EZ for HCD Controller, go to the Windows [start] Menu and select [All Programs] [Programs] [Applilet EZ for HCD Ver9.0] [Applilet EZ for HCD Ver9.0] (refer to Figure2-2 Windows [start] Menu), or double click the shortcut icon on the Windows Desktop (refer to Figure2-3 Shortcut Icon). Once Applilet EZ for HCD Controller is started, the following Main window opens.
Figure3-1 Main Window When Starting

Applilet EZ for HCD Controller CHAPTER 3 STARTING AND ENDING

11
R20UT0435EJ1300 Rev.13.00 March 31, 2016
3. 1. 1 Setting up at the first startup
(a) Setting up at the first startup
If starting Applilet EZ for HCD Controller for the first time after installation, the following window is displayed. Select the compiler to use from the compiler name that is displayed in the "Compiler Selection" window, click [OK].
(b) Compiler setting
When changing the compiler, perform it as follows. On [Setting] menu, select [Select Compiler], and then select the compiler name to be used.
Applilet EZ for HCD Controller CHAPTER 3 STARTING AND ENDING
12
R20UT0435EJ1300 Rev.13.00 March 31, 2016
Folder in which to save the generated configuration file (*.hcd) .
Folder in which to save the project folder.
(c) Compiler folder setting
On the [Setting] menu, select [Compiler Folder] to specify the folder in which the compiler to be used is
installed. Inputting the path is not usually required because the path is automatically retrieved. If the path is not automatically entered, enter it manually.
(d) Project folder setting
Specifying the folder in which to save the generated configuration file (*.hcd) and the project folder to create. On the [Setting] menu, select [Project Folder]. The following dialog box will then be displayed.
Change the location where the *. hcd and the project folder are saved as required.
Applilet EZ for HCD Controller CHAPTER 3 STARTING AND ENDING
13
R20UT0435EJ1300 Rev.13.00 March 31, 2016
(e) Flash programming setting
The COM Port connected to the flash memory programmer or the board is specified here. On the [Setting] menu, select [Flash Program…] .The following dialog box will be displayed.
Select the connection method from the list box [Tool:].
When selecting [E1], the [Power supply:] item is displayed.
If not supplying power from the E1, sets the [None], and if supplying, set according to the input voltage of the board to be used.
Applilet EZ for HCD Controller CHAPTER 3 STARTING AND ENDING
14
R20UT0435EJ1300 Rev.13.00 March 31, 2016
If selecting [COMx], [COM Port:] item is displayed. COM port that is currently connected to the PC is displayed in the [COM Port] list. Select the COM port to be used.
If setting ends, click [OK].
3. 2 Ending
To exit from Applilet EZ for HCD Controller, go to the Main window’s [File] menu and select [Exit].
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION
15
R20UT0435EJ1300 Rev.13.00 March 31, 2016
Start Applilet EZ for HCD Controller
Setting up the evaluation board Menu -> [Project] -> [cpu]
Refer to 4.2
Setting up at the first startup (refer to 3.1.1)
-Compiler
-Setting file folder
-Project file folder
-Flash programming
page)Mode setting (to the next page)
CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION
This chapter describes the operation flow, from automatically generating object codes (*.hex) by using Applilet EZ for HCD Controller and writing to the flash memory, up to checking operation by using the evaluation board.
4. 1 Operation Flow

Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION

16
R20UT0435EJ1300 Rev.13.00 March 31, 2016
Caution Some modes may be unavailable,
depending on the board specifications. For details, see the each boards manual.
Save the project
Generation, writing, and evaluation (refer to 4.4)
Mode setting
In this mode, the dimming levels are changed by the switch connected to the board.
Switch mode
Refer to 4.3.7
In this mode, the LEDs are dimmed using the remote control signal reception function on the board.
IR remote control mode
Refer to 4.3.8
In this mode, the LEDs are dimmed according to the A/D converted values.
Analog Input mode
Refer to 4.3.3
In this mode, the LEDs are dimmed by using commands depending on the type of communication. Specify the communication format, communication command type, and channels to use for serial communication.
Serial Command mode
Refer to 4.3.4
In this mode, the LEDs are dimmed according to the input fixed values.
Fix mode
Refer to 4.3.1
In this mode, the LEDs are dimmed using the DALI protocol.
DALI mode
Refer to 4.3.6,Chapter 5
Select
In this mode, LED dimming can be continuously changed. The output pattern can be specified as in art software.
Variable mode
Select
Click the [Edit] button
Refer to 4.3.2
It is the mode for exclusive use of the lighting communication master evaluation board. set the transmission command of the DALI / IR to nine switch on the evaluation board.
Master Control mode
Refer to 4.3.9
In this mode, the LEDs are dimmed using the DMX512 protocol.
DMX512 mode
Refer to 4.3.5,Chapter 5
Select
Click [Setting]
Setting up the evaluation board (from the previous
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION
17
R20UT0435EJ1300 Rev.13.00 March 31, 2016
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
4. 2 Setting Up the Evaluation Board
In the menu, select [Project] and then [CPU] to set up the evaluation board in the dialog box below. Performing this setup updates the specified mode displayed in the main window.
(1) Target:
Select the evaluation board to use.
(2) Device:
If an evaluation board is selected, the mounted microcontroller is displayed. (This setting cannot be
changed.)
(3) Clock Source:
Select the clock to use. This setting might be fixed depending on the setting of (1).
(4) Frequency (MHz):
Select the frequency. This setting might be fixed depending on the setting of (1) and (3).
(5) Channel X:
Specify the channels to enable by selecting their [Enable] checkboxes. Specify the color of the lighting of each channel by using the [Color] buttons. These settings might not be selectable or changeable depending on the setting of (1). Enter the max current level of each channel in [Limit]. * This setting may be unavailable, depending on the board.
(6) Enable On Chip Debug.:
If this checkbox is selected, a program that enables on-chip debugging is generated.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION
18
R20UT0435EJ1300 Rev.13.00 March 31, 2016
(7) All Channel Synchronized.:
If this checkbox is selected, the brightness of all selected channels will be the same. If only one channel is selected, this checkbox is disabled.
(8) Logarithmic dimming control.:
Select this checkbox to logarithmically change the dimming of the LEDs. If this checkbox is not selected, dimming values are handled as direct values. If the checkbox is selected,
the specified value is converted to logarithmic value.
4. 3 Mode Setting
Select a mode to use from Dimmer Program on the main window and set the details.
4. 3. 1 Fix mode
In this mode, the LEDs are dimmed according to the input fixed values. If multiple channels are set to synchronization mode (refer to 4.2 (7)), dimming values can be specified only for channels that have lower numbers. (The dimming value cannot be entered for the other channels, but the same dimming value applies.) The corresponding [Chx.] (where x is the channel number) turns black for the other channels to synchronize.
(1) Select the [Fixed Duty] button in Dimmer Program (This button is selected by default.). (2) Enter a value into the [Ch1] to [Ch4] boxes
(3) Click
Note The values that can be entered vary depending on the evaluation board.
Note
or select a color from the [Select Color] drop-down list.
icon or select Menu [File] [Save] to save the project.
Loading...
+ 57 hidden pages