Page 1
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.
Page 2
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.
Page 3
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.
Page 4
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 Document Name Document No. Japanese English RL78/I1A User’s Manual; Hardware R01UH0169J R01UH0169E Documents Related to Development Hardware Tools Document Name Document No.
Page 5
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.
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.
Page 7
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 .......
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.
Applilet EZ for HCD Controller CHAPTER 1 OVERVIEW 1. 2 Host Machine, Software, and Hardware Configurations <R> 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) ...
Page 10
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.
CHAPTER 2 INSTALLATION CHAPTER 2 INSTALLATION 2. 1 Installing Application <R> 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 ...
CHAPTER 2 INSTALLATION 2. 1. 1 Installing .NET Framework <R> 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.
Page 13
Applilet EZ for HCD Controller CHAPTER 2 INSTALLATION "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.
2. 1. 2 Installing Visual C++ Redistributable Package <R> 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.
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.
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).
3. 1 Starting <R> 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).
(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].
Page 19
Applilet EZ for HCD Controller CHAPTER 3 STARTING AND ENDING (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.
Page 20
Applilet EZ for HCD Controller CHAPTER 3 STARTING AND ENDING (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.
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]. R20UT0435EJ1300 Rev.13.00 March 31, 2016...
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.
Page 23
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION Setting up the evaluation board (from the previous Mode setting Variable mode Switch mode In this mode, the dimming levels are changed by In this mode, LED dimming can be continuously the switch connected to the board.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION 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.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION (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.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION 4. 3. 2 Variable mode In this mode, LED dimming can be continuously changed. The output pattern can be specified as in art software. (1) Select the [Variable] button in Dimmer Program.
Page 27
.csv) starts. Control does not return to mode Applilet EZ for HCD Controller until the application is closed. Editing tools Turns changes in the values of a selected channel or selected range into a straight line.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION (3) When editing has been completed, click [OK]. icon or select Menu → [File] → [Save] to save the project. (4) Click 4. 3. 3 Analog Input mode In this mode, the LEDs are dimmed according to the A/D converted values.
Page 29
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION (1) Select the [Analog Input] button in Dimmer Program and specify from the [use] drop-down list the A/D conversion port to be used for the dimming value.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION 4. 3. 4 Serial Command mode 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.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION 4. 3. 5 DMX512 mode In this mode, the LEDs are dimmed by using the DMX512 protocol. For the communication command of DMX512, refer to APPENDIX C DMX512 MODE COMMUNICATION DATA.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION 4. 3. 6 DALI mode <R> In this mode, the LEDs are dimmed by using the DALI protocol. DALI (Digital Addressable Lighting Interface) is an international open standard lighting control communication protocol, mainly used for light control of multiple fluorescent lamps or LED lights.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION 4. 3. 7 Switch mode In this mode, light is controlled depending on the switches connected to the board. Switch mode has 2 modes. Mode1: Fade mode You can press and hold the switch to gradually raise or lower (fade) the dimming level.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION 4. 3. 8 IR Remote controller control mode In this mode, lights are dimmed by using the on-board function for receiving remote control signals. Remote control signals in the NEC format can be received.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION 4. 3. 9 Master Control mode <R> This mode is only for RL78/I1A Lighting Communication Master Evaluation Board. It is possible not only to control the slave connected to the DALI Master Control GUI and DMX512 Master Control GUI, but also to transmit the DALI and IR commands by the implemented 9 switches without Master Control GUI.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION 4. 4 Generation, Writing, and Evaluation Object codes (*.hex) are automatically generated and software is written to a microcontroller. After writing has been completed, the operation can be checked by using the evaluation board.
Page 37
If a read-only folder or file exists under the folder set via the [Folders...] setting on the [Setting] menu, cancel all read-only settings. If the error still cannot be fixed, reinstall the compiler or assembler and the main body of Applilet EZ for HCD Controller.
Page 38
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION (3) Writing <R> If the board has a USB interface Click [OK] and flash programming is started. ↓ <R> If the board is using E1 Click [OK] and flash programming is started.
Page 39
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION (4) Operating preparation <R> If the board has a USB interface When the program has been written normally, turn the evaluation board off. If it is necessary to switch features of "write / normal operation", turn on the power of an evaluation board again after switching to "normal operation ".
CHAPTER 5 WINDOW REFERENCE 5. 1 Overview of Windows and Dialog Boxes The following windows and dialog boxes are provided with Applilet EZ for HCD Controller. Table 5-1 List of Windows and Dialog Boxes in Applilet EZ for HCD Controller <R>...
CHAPTER 5 WINDOW REFERENCE 5. 2 Description of Windows and Dialog Boxes The following format is mainly used to describe Applilet EZ for HCD Controller’s windows and dialog boxes. Window/dialog box name The name of the window or dialog box is indicated in this text frame.
Page 42
CHAPTER 5 WINDOW REFERENCE Main window This window is opened automatically when Applilet EZ for HCD Controller is started. Setting items (Setting up the evaluation board, mode setting (refer to 4.2 and 4.3), etc.) are sequentially selected in this window to automatically generate object codes (*.hex) that can be directly written to the flash memory of a microcontroller.
Page 43
This option is used to save the current settings with a newly named. [Exit] This option is used to close Applilet EZ for HCD Controller. [Read Sample Project…] This option is used to read a setting file created as a sample.
Page 44
(5) [Help] menu [Version...] This option is used to display version information about Applilet EZ for HCD Controller. Tool bar The icons on the Tool bar are provided to enable one-click selection of frequently used menu items.
Page 45
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE [UARTx Settings] dialog box This dialog box can be opened by clicking [UARTx...] in the [Project] menu. Set UARTx in this dialog box. The setting items are identical in both dialog boxes. The [UARTx Settings] dialog box is used below as an example.
Page 46
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE [DALI Property] dialog box (IEC62386-102 ed1.0) This dialog box can be opened by clicking [DALI...] in the [Project] menu or clicking [Variable] after selecting the edition to [IEC62386-102 ed1.0]. Set parameter of DALI in this dialog box.
Page 47
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE (3) Random Address: Specify a value when assigning a random address to the evaluation board. Set random address value (0 to 255) to Random Address(H),(M),(L). Caution When the Random Address(H),(M),(L) are assigned to the same address of the mounted LED channels, a short address cannot be set definitely in Random Address Allocation.
Page 48
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE [DALI Property Variable] dialog box (IEC62386-102+207 ed1.0) <R> This dialog box can be opened by clicking [DALI...] in the [Project] menu or clicking [Variable] after selecting the edition to [IEC62386-102+207 ed1.0].
Page 49
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE (2) Random Address: Specify a value when assigning a random address to the evaluation board. Set random address value (0 to 255) to Random Address(H),(M),(L). Caution When the Random Address(H),(M),(L) are assigned to the same address of the mounted LED channels, a short address cannot be set definitely in Random Address Allocation.
Page 50
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE (14) Features Specify the hardware features of the evaluation board. It is possible to select multiple. (15) Possible Operating Modes Specify the operational mode on the evaluation board. It is possible to select multiple.
Page 51
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE [DALI Property Variable] dialog box (IEC62386-102 ed2.0) <R> This dialog box can be opened by clicking [DALI...] in the [Project] menu or clicking [Variable] after selecting the edition to [IEC62386-102 ed2.0].
Page 52
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE (2) Random Address: Specify a value when assigning a random address to the evaluation board. Set random address value (0 to 255) to Random Address(H),(M),(L). Caution When the Random Address(H),(M),(L) are assigned to the same address of the mounted LED channels, a short address cannot be set definitely in Random Address Allocation.
Page 53
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE Function buttons Button Description Click this button to save the current settings and close the open dialog box. Click this button to close the open dialog box without saving the current settings.
Page 54
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE [DALI Property Memorybank] dialog box (IEC62386-102+207 ed1.0) <R> This dialog box can be opened by clicking [Memorybank] after selecting the edition to [IEC62386-102+207 ed1.0]. Set Memorybank parameter of DALI in this dialog box.
Page 55
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE The following parts of this window are described below. Description of function-related areas Function buttons Description of function-related areas (1) Selection Memorybank TAB Select the Memorybank to be set.
Page 56
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE [DALI Property Memorybank] dialog box (IEC62386-102 ed2.0) <R> This dialog box can be opened by clicking [Memorybank] after selecting the edition to [IEC62386-102 ed2.0]. Set Memorybank parameter of DALI in this dialog box.
Page 57
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE The following parts of this window are described below. Description of function-related areas Function buttons Description of function-related areas (1) Selection Memorybank TAB Select the Memorybank to be set.
Page 58
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE (9) OEM GTIN byte: Set the GTIN (the international standard for product identification code) that OEM of the evaluation board sets. (10) OEM Identification number byte: Set the Identification number that OEM of evaluation board sets.
Page 59
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE [DMX512 Property] dialog box This dialog box can be opened by clicking [DMX512...] in the [Project] menu. Set channel numbers of DMX512 in this dialog box. Figure5-8 [DMX512 Property] dialog box The following parts of this window are described below.
Page 60
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE [Master Control Setting] dialog box <R> This dialog box can be opened by clicking [Setting..] button on the [Master control]. Set transmission contents setting of SW 2 to 10 on Lighting Communication Master Evaluation Board in this dialog box.
Page 61
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE (a) Setting Protocol Display Protocol set for each SW is displayed. Displayed protocol DALI: DALI protocol IR : IR protocol (b) Setting Command Display Command set for each SW is displayed.
Page 62
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE [SW X Setting] dialog box <R> This dialog box can be opened by clicking [SW X] button on the [Master control Setting] dialog box. Set transmission of SW X in this dialog box.
Page 63
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE (a) Setting of address type Set an address type of DALI protocol. Setable address type Broadcast: Broadcast (all devices) transmission Group Address: Group address (group setting device) transmission ...
Page 64
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE (3)Setting of IR command Set the transmission command in the IR mode. (a) Customer code Set the manufacturer identification code. Setting range: 0000h-FFFFh (b) Channel 1 code Set control data at the time of the Channel 1 setting.
APPENDIX A SAMPLE FILE APPENDIX A SAMPLE FILE This chapter introduces sample files for specific colors. These sample files are stored in the following folder. -C:¥Program Files(x86)¥Renesas Electronics¥ Applilet EZ for HCD Ver9.0¥Sample¥Board name¥ Sample File Name Description Operation Mode Flash_xxxxx.xml...
(evaluation board). An application software that uses the communication commands can be generated by selecting [Serial Command] on the Applilet EZ for HCD Controller and determining the communication method. Refer to 4.3.4 for operation details.
Applilet EZ for HCD Controller APPENDIX B SERIAL COMMAND MODE COMMUNICATION COMMANDS B. 1. 1 Details of basic format 1 (host → target) -startcode block 2 [byte] data, each byte consisting of 8 bits fixed to 0. It is required when transmitting data from a host device to a target device.
Applilet EZ for HCD Controller APPENDIX B SERIAL COMMAND MODE COMMUNICATION COMMANDS B. 1. 2 Details of basic format 2 (target → host) -parameter block 2 [byte] data consisting of 8 bits. It is not transmitted when the host device has selected setting (during transmission: R/W = 0).
Applilet EZ for HCD Controller APPENDIX B SERIAL COMMAND MODE COMMUNICATION COMMANDS B. 2 Overview of ASCII Type Basic format 3 (host → target) Comma(0x2C) Comma(0x2C) data LineFeed(0x0D) CarriageReturn(0x0A) 1byte 1byte 2byte 1byte 5byte 1byte 1byte Basic format 4 (target → host)
Applilet EZ for HCD Controller APPENDIX B SERIAL COMMAND MODE COMMUNICATION COMMANDS B. 2. 2 Details of basic format 4 (target → host) data block 5 [byte] data. The data is transmitted from the target device only when cmd is "rd", among the items specified for basic format 3.
Applilet EZ for HCD Controller APPENDIX B SERIAL COMMAND MODE COMMUNICATION COMMANDS B. 3 Transmission/Reception Timing According to Communication Method The method and timing of transmission and reception differ according to the communication method. The differences of each communication method are as follows.
Applilet EZ for HCD Controller APPENDIX C DMX512 MODE COMMUNICATION DATA APPENDIX C DMX512 MODE COMMUNICATION DATA The communication data by DMX512 mode is described below. DMX communication Host Machine Master board Target (PC, microcontroller, etc.) Target Target Remark RL78/I1A AC/DC 1 converter LED evaluation unit and RL78/I1A AC/DC 2 converter LED evaluation unit <R>...
Applilet EZ for HCD Controller APPENDIX C DMX512 MODE COMMUNICATION DATA <2> Frame One frame is configured of one start bit, eight data bits, and two stop bits. One frame is equivalent to one UART communication data byte with a baud rate of 250 kbps, no parity, and two stop bits.
Applilet EZ for HCD Controller APPENDIX D DALI MODE COMMUNICATION DATA APPENDIX D DALI MODE COMMUNICATION DATA The communication data by DALI (Digital Addressable Lighting Interface) mode is described below. DALI communication Host Machine Master board Target (PC, microcontroller, etc.)
Page 75
Applilet EZ for HCD Controller APPENDIX D DALI MODE COMMUNICATION DATA <2> Frame Forward frame This is a frame used when transmitting from the master to a slave. A frame consists of 19 bits. Figure D-2 Forward-Frame Structure 1bit 1 bit...
Applilet EZ for HCD Controller APPENDIX D DALI MODE COMMUNICATION DATA D. 2 Transmission/Reception Timing Rules <1> Timing in the frame (101ed1.0) 1 bit width in DALI is 833.3 µs ±10% for both Forward and Backward frames. FigureD-4 Timing in the Frame...
Page 77
Applilet EZ for HCD Controller APPENDIX D DALI MODE COMMUNICATION DATA <3> Timing among frames (101ed1.0) With DALI, the following timing must be controlled in frame units. Forward frame width: 15.83 ms±10 % Backward frame width: 9.17 ms±10 % ...
Applilet EZ for HCD Controller APPENDIX E RESERVED AREA USED IN ON-CHIP DEBUGGING APPENDIX E RESERVED AREAS USED IN ON-CHIP DEBUGGING <R> The reserved areas shaded in gray in Figures F-1 are used during on-chip debugging. FigureF-1 Reserved Areas Used in On-chip Debugging (RL78/I1A)
Page 79
REVISION Applilet EZ for HCD Controller For Ver9.00 User’s Manual HISTORY Rev. Date Description Page Summary - 1.00 May 1, 2008 First edition issued - 13.00 March 31, 2016 Corresponding to DALI IEC62386-102ed2.0, Corresponding to Lighting Communication Master Evaluation Board.
Page 80
COLOPHON Applilet EZ for HCD Controller For Ver.9.00 User’s Manual Publication Date May 1, 2008 Rev.1.00 March 31, 2016 Rev.13.00 Published by Renesas Electronics Corporation...
Page 81
SALES OFFICES Refer to "http://www.renesas.com/" for the latest and detailed information. Renesas Electronics America Inc. 2801 Scott Boulevard Santa Clara, CA 95050-2549, U.S.A. Tel: +1-408-588-6000, Fax: +1-408-588-6130 Renesas Electronics Canada Limited 9251 Yonge Street, Suite 8309 Richmond Hill, Ontario Canada L4C 9T3...
Page 82
BACKCOVER Applilet EZ for HCD Controller Ver.9.00 R20UT0435EJ1300 Renesas Electronics Corporation...
Need help?
Do you have a question about the Applilet and is the answer not in the manual?
Questions and answers