Renesas Applilet User Manual Download 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. 

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 

Summary of Contents for Applilet

Page 1: ...ion 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 ...

Page 2: ...e 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 t...

Page 3: ... 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 I...

Page 4: ...I1A DC DC LED Control Evaluation Board User s Manual R01UH0363J R01UH0363E Documents Related to Development Software Tools 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 R20UT2623...

Page 5: ...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 ...

Page 6: ...rd 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 an...

Page 7: ...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 ...

Page 8: ...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...

Page 9: ...ammer 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 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 interna...

Page 10: ... 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 develop...

Page 11: ...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 IAR Systems Integrated development environment IAR Embedded Workbench Compiler IAR C C Compiler for Renesas RL78 Assembler IAR Assembler for Re...

Page 12: ...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 I...

Page 13: ...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 ...

Page 14: ...s 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 P...

Page 15: ...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 refe...

Page 16: ... 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 follow...

Page 17: ...CD 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 R ...

Page 18: ... 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 ...

Page 19: ...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 Folder...

Page 20: ...ash 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 ...

Page 21: ...h 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 ...

Page 22: ...atically 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 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...

Page 23: ...ands 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...

Page 24: ...ot 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 sel...

Page 25: ...rom 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 ...

Page 26: ...ecified as in art software 1 Select the Variable button in Dimmer Program 2 Click the Edit button to open a separate window shown below Edit the output pattern in this window a Selecting the channel to operate b Selecting the operation mode c Editing tools The cursor position and specified values are displayed Specify the number of data units and speed Specify repetition Field for editing and disp...

Page 27: ...s of the start and end positions in the selected range Maximization Sets the values in the selected range to their maximum specifiable values Minimization Sets the values in the selected range to their minimum value 0 Color specification Specifies the color of a value in the selected range from the color specification window This tool is enabled only if all operation channels All and a range are s...

Page 28: ...D CONTROLLER OPERATION 21 R20UT0435EJ1300 Rev 13 00 March 31 2016 3 When editing has been completed click OK 4 Click icon or select Menu File Save to save the project 4 3 3 Analog Input mode In this mode the LEDs are dimmed according to the A D converted values ...

Page 29: ...l 2 ANIx only The conversion value of the selected A D conversion port is applied to the dimming value of all effective channels Example When ANI3 is selected and Channels 1 and 2 are effective ANI3 Channel 1 2 Caution ANIx varies depending on the evaluation board 2 Set the number of samples to be used in moving average processing Caution When the number of samples is set to 1 the moving average p...

Page 30: ...ommand of Serial Command mode refer to APPENDIX B SERIAL COMMAND MODE COMMUNICATION COMMANDS 1 Select the Serial Command button in Dimmer Program and specify from the by and type drop down lists the communication mode and communication command system to be used respectively by Select from UART1Note 1 UART1 Serial communication is performed in this mode by using UART Universal Asynchronous Receiver...

Page 31: ...col For the communication command of DMX512 refer to APPENDIX C DMX512 MODE COMMUNICATION DATA 1 Select the DMX512 button in Dimmer Program 2 Push the Setting button and then DMX512 Property in the menu and then specify the channel number For details about this setting see the DMX512 Property dialog box described in CHAPTER 5 WINDOW REFERENCE 3 Click icon or select Menu File Save to save the proje...

Page 32: ...roperty dialog box described in CHAPTER 5 WINDOW REFERENCE 3 IEC62386 102 207 ed1 0 and IEC62386 102 ed2 0 is available for the setting of the memory bank Open the DALI Property Memorybank dialog box by clicking the Memorybank button and then specify the parameter For details about this setting see the DALI Property Memorybank dialog box described in CHAPTER 5 WINDOW REFERENCE 4 Click icon or sele...

Page 33: ...ard Switch mode has 2 modes Mode1 Fade mode You can press and hold the switch to gradually raise or lower fade the dimming level Press and release the switch to turn the light ON or OFF Direction of the dimming level of the raise lower by pressing and holding switches every time you press and hold Mode 2 Level dimming mode Go to 15 20 30 50 100 50 30 20 15 by pressing down the switch to change the...

Page 34: ... the NEC format can be received In this mode the custom code and data code can be specified as a four digit and a two digit hexadecimal respectively The dimming level is changed as OFF 100 50 10 OFF every time the remote control code is received When an evaluation is performed using the infrared remote control function of the Lighting Communication Master Evaluation Board which is optionally avail...

Page 35: ...ter Control GUI but also to transmit the DALI and IR commands by the implemented 9 switches without Master Control GUI 1 Select the RL78 I1A Lighting Communication Master Evalution Board in the Board Property dialog box 2 Other than the Master Control button in Dimmer Program cannot be selected 3 Open the Master Control Setting dialog box by clicking the Setting button and then specify the operati...

Page 36: ...uation 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 The writing procedure differs depending on the board used 1 Click icon to open the Build window Preparation for generating object codes hex and writing will be performed ...

Page 37: ...or HCD Controller Handle this error by checking the following points 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 26 Illegal value of DALI propaty Details of the error are displayed by text ...

Page 38: ...4 APPLILET EZ FOR HCD CONTROLLER OPERATION 31 R20UT0435EJ1300 Rev 13 00 March 31 2016 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: ...connected channels first to check the characteristics of the connected LEDs Start the auto tuning by pushing the switchNote1 after power ON The operation of auto selected program starts after the auto tuning If an illegal condition such as internal overvoltage occurs the LEDs are automatically turned off and the operation backs before auto tuning In that case push the switchNote1 again to start ag...

Page 40: ...Memorybank dialog box This dialog box is used to set memory bank configuration of DALI It s effective only at the time of selection of IEC62386 102 207 ed1 0 and IEC62386 102 ed2 0 DMX512 Property dialog box This dialog box is used to set DMX512 Master control setting dialog box This dialog box is used to set SW2 to 10 of Lighting Communication Master Evaluation Board SW X Setting dialog box This ...

Page 41: ...re described briefly and an illustration of the window or dialog box is shown Menu bar The options that appear in pull down menus under each item in the window s menu bar are enumerated and described briefly Tool bar The functions corresponding to the buttons in the window s tool bar are described Description of function related areas The areas corresponding to functions set via the dialog box are...

Page 42: ...valuation 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 Figure5 1 Main Window The following parts of this window are described below Menu bar Tool bar Note For the mode setting area refer to 4 3 Mode Setting Menu bar Tool bar Mode setting areaNote ...

Page 43: ...logue box specified the folder that the sample setting file is saved is displayed Please select the sample setting file to use 2 Project menu Cpu This option is used to open the Board Property dialog box which sets an evaluation board UARTx This option is used to open the UARTx Settings dialog box which sets UARTx DALI This option is used to open the DALI Property Variable dialog box which sets DA...

Page 44: ...he generated files 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 This selects the same function as when Create New is selected in the File menu This selects the same function as when Open is selected in the File menu This selects ...

Page 45: ...f this window are described below Description of function related areas Function buttons Description of function related areas 1 Speed This can be selected from 9 600 19 200 and 115 200 bps 2 Data bits This is fixed to 8 bits and cannot be changed 3 Parity This can be selected from None Odd and Even 4 Start bit Stop bit These are fixed to LSB and 1 bit respectively and cannot be changed Function b...

Page 46: ...roperty dialog box The following parts of this window are described below Description of function related areas Function buttons Description of function related areas 1 Version Number Specify the version number of the evaluation board as a value from 0 to 255 2 Short Address Specify the default address of the evaluation board as a value from 0 to 63 and 255 Caution When the short address is assign...

Page 47: ...g on power as a value from 1 to 255 6 System Failure Level Specify the dimming level for when a failure occurs as a value from 0 to 255 7 Max Level Specify the maximum dimming level as a value from the minimum level to 254 8 Min Level Specify the minimum dimming level as a value from the physical minimum level to the maximum level 9 Fade Rate Specify the amount by which the dimming level is change...

Page 48: ...er of DALI in this dialog box Figure5 4 DALI Property dialog box The following parts of this window are described below Description of function related areas Function buttons Description of function related areas 1 Short Address Specify the default address of the evaluation board as a value from 0 to 63 and 255 Caution When the short address is assigned to the same address of the mounted LED chann...

Page 49: ...power as a value from 1 to 255 5 System Failure Level Specify the dimming level for when a failure occurs as a value from 0 to 255 6 Max Level Specify the maximum dimming level as a value from the minimum level to 254 7 Min Level Specify the minimum dimming level as a value from the physical minimum level to the maximum level 8 Fade Rate Specify the amount by which the dimming level is changed by ...

Page 50: ...e 15 Possible Operating Modes Specify the operational mode on the evaluation board It is possible to select multiple 16 Gear Type Specify the type of the evaluation board It is possible to select multiple 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 51: ...ter of DALI in this dialog box Figure5 5 DALI Property dialog box The following parts of this window are described below Description of function related areas Function buttons Description of function related areas 1 Short Address Specify the default address of the evaluation board as a value from 0 to 63 and 255 Caution When the short address is assigned to the same address of the mounted LED chan...

Page 52: ... dimming level for when a failure occurs as a value from 0 to 255 6 Max Level Specify the maximum dimming level as a value from the minimum level to 254 7 Min Level Specify the minimum dimming level as a value from the physical minimum level to the maximum level 8 Fade Rate Specify the amount by which the dimming level is changed by fading as a value from 1 to 15 9 Fade Time Specify the time requi...

Page 53: ... REFERENCE 46 R20UT0435EJ1300 Rev 13 00 March 31 2016 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: ...h 31 2016 DALI Property Memorybank dialog box IEC62386 102 207 ed1 0 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 Figure5 6 DALI Property Memorybank dialog box 2 3 1 4 6 7 8 9 5 R ...

Page 55: ...ard 4 OEM GTIN byte Set the GTIN the international standard for product identification code that OEM of the evaluation board sets 5 OEM Serial number byte Set the serial number that OEM of the evaluation board sets 6 channel TAB Select the logical device of the evaluation board 7 Subsystem and Device Set the subsystem number bit7 4 and device number bit3 0 including Control gear 8 Lamp type number...

Page 56: ...ch 31 2016 DALI Property Memorybank dialog box IEC62386 102 ed2 0 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 Figure5 7 DALI Property Memorybank dialog box 2 4 1 9 11 10 3 5 6 7 8 R ...

Page 57: ...ersion number Select the IEC62386 101 version number to be used on the evaluation board Caution This item is common to all channels This can be set only on youngest TAB of channel number 7 Number of logical control gear unit in the bus unit Set the number of connected Control gear on the same BUS unit Caution This item is common to all channels This can be set only on youngest TAB of channel numbe...

Page 58: ...entification number byte Set the Identification number that OEM of evaluation board sets 11 Indicator byte Purpose and the set value of this byte are left to the manufacturer Set the value the manufacturer has decided as a value from 0 to 255 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 b...

Page 59: ...this window are described below Description of function related areas Function buttons Description of function related areas 1 Channel X Enter a number from 1 to 512 in order to assign each channel to a slot channel of the DMX512 protocol If an existing setting file is open the value in that file is displayed Function buttons Button Description Click this button to save the current settings and cl...

Page 60: ...ng Communication Master Evaluation Board in this dialog box FIgure5 9 Master Control Setting dialog box The following parts of this window are described below Description of function related areas Function buttons Description of function related areas 1 SW X settings dialog box display button Display the settings dialog box for each SW In the dialog box the value that set currently is displayed 2 ...

Page 61: ...Code Setting Ch1 Setting Ch2 c Setting Operation mode Display Operation mode setting when you hold down the SW X is displayed Once Single transmission command only transmit once Resend Continuous transmission command transmitted every 150msec Repeat Continuous transmission Repeat command transmitted every 108msec when the IR only Function buttons Button Description Click this button to save the cu...

Page 62: ...ting dialog box Set transmission of SW X in this dialog box FIgure5 10 Master Control Setting dialog box The following parts of this window are described below Description of function related areas Function buttons Description of function related areas 1 Mode selection radio button Set a mode DALI or IR protocol to set in SW 2 Setting of DALI command Set a transmission command in DALI 2 1 3 a b c ...

Page 63: ...ff UP UP the 200msec dimming level according to the Fade rate DOWN DOWN the 200msec dimming level according to the Fade rate STEP UP Dimming level 1 impossible to OFF STEP DOWN Dimming level 1 impossible from OFF RECALL MAX LEVEL Maximize dimming level RECALL MIN LEVEL Minimize dimming level STEP DOWN AND OFF Dimming level 1 possible to OFF ON AND STEP UP Dimming level 1 possible from OFF GO TO SC...

Page 64: ...of the Channel 2 setting Setting range 00h FFh d Setting of operation mode Set the operating mode when SW that is set to DALI protocol is continued to be pushed Setable operation mode Once Single transmission command only transmit once Resend Continuous transmission command transmitted every 150msec Repeat Continuous transmission Repeat command transmitted every 108msec when the IR only Function b...

Page 65: ...ogram Files x86 Renesas Electronics Applilet EZ for HCD Ver9 0 Sample Board name Sample File Name Description Operation Mode Flash_xxxxx xml Flash Variable mode Rainbow_xxxxx xml Rainbow Random_xxxxx xml Random color Remarks 1 In the sample file names xxxxx represents the name of an evaluation board 2 Depending on the board these files may not exist 3 If the LED being beforehand mounted on a board...

Page 66: ...erview of Binary Type B 2 Overview of ASCII Type for details of each type Refer to B 3 for the timings of each communication method B 1 Overview of Binary Type Basic format 1 host target Basic format 2 target host Basic formats 1 and 2 are binary type communication formats Basic format 1 is used to transmit data from a host device to a target device and consists of a startcode block a command bloc...

Page 67: ... Status acquisition during reception When this command is selected the target device returns as 2 byte data the dimming value setting value of the channel instructed with Ch Refer to B 1 2 for details Setting during transmission When this command is selected the dimming value of the channel instructed with Ch is set by using the value specified by parameter Ch 2 bit These bits specify the target c...

Page 68: ... 2 byte data the dimming value setting value of the channel instructed with Ch The dimming value holds a value within the range of 0 to 0x2710 10000 100 00 B 1 3 Binary type execution example 1 Setting the dimming value of channel 1 of the target device to 10 00 Transmission from the host device Hexadecimal 00 00 20 03 E8 Binary 0000 0000 0000 0000 0010 0000 0000 0011 1110 1000 Reception from the ...

Page 69: ...ion or setting during transmission The following four items can be specified Specifiable items wd Set Duty This sets the dimming value of the channel specified with the ch block rd Read Duty This requests the setting of dimming value of the channel specified with the ch block When requesting to the target device has been specified the target device returns the current status Refer to B 2 2 for det...

Page 70: ... decimal format the dimming value of the specified channel 00000 to 10000 B 2 3 ASCII type execution example Remark LineFeed 0x0D and CarriageReturn 0x0A are expressed as r and n respectively in this section 1 Setting the dimming value of channel 1 of the target device to 10 00 Transmission from the host device 1 wd 01000 r n Reception from the target device None 2 Acquiring the dimming value of c...

Page 71: ... reception are performed completely asynchronously A transmission operation of the target device uses basic format 1 or 3 and occurs only when the host device has requested information acquisition during reception to the target device UART communication example Notes 1 Name of the signal line on the host side 2 This is a waveform of when parity has been set to None D0 D1 D6 D7 ST bit SP bit D0 D1 ...

Page 72: ...mmunication using the following protocol C 1 Protocol Specifications 1 Packet One packet is configured of one MTBP one BREAK one MAB 513 frames and 512 MTBFs The first frame is a start code and data is fixed to 0 Name Data width Level MIN TYP MAX BREAK 88 s 88 s 176 s Low level MAB 8 s 8 s 1 s High level FRAME 44 s 44 s 44 s Low level High level MTBF 0 s 1 s High level MTBP 0 s 1 s High level MTBP...

Page 73: ... bits 4 s 8 bits Low level High level Stop bits 4 s 2 bits High level C 2 Communication Data Specification The frame data bits are LSB first The start code is fixed to 0x00 Packets with a start code other than 0x00 are invalid Brightness data corresponding to channels 1 to 4 on the board are set to each frame 0 brightness data 255 Example of communication data Break MAB Start code 0x00 Channel 1 b...

Page 74: ...o 64 short addresses and 16 group addresses and performs half duplex command communication between one master and one slave or multiple slaves DALI commands are used for purposes such as setting the dimming level with 8 bit accuracy and saving or switching among up to 16 arbitrary dimming levels The communication speed is 1 200 Hz 10 1 Bit definition A falling edge is bit defined as 0 and a rising...

Page 75: ...ransmission destination of the frame e Data byte This specifies a command f Stop bits These indicate the end of the frame These are fixed to the high level Backward frame This is a frame used when transmitting from the slave to a master A frame consists of 11 bits FigureD 3 Backward Frame Structure a Start bit This indicates the start of the frame It is always the same waveform as 1 b Data byte Th...

Page 76: ...µs for both Forward and Backward frames The allowable range of the bit width is 1 bit 666 7 µs 1000 µs FigureD 5 Timing in the Frame The last bit 0 FigureD 6 Timing in the Frame The last bit 1 Note The start of the Stop condition starts from the end of the rising edge Starting timing of Stop condition changes whether the last bit is 0 or 1 Start bit 833 3μs Data bit 833 3μs Data bit 833 3μs Data b...

Page 77: ...ames 101ed2 0 With DALI the following timing must be controlled in frame units Forward frame width 15 83 ms 12 66 to 19 00ms Backward frame width 9 17 ms 7 33ms to 11 00ms Communication interval between one Forward frame and the Backward frame 2 4 12 4 ms Settling time Communication interval between one Forward frame and the next Forward frame 2 4 ms min Settling time Communication interval betwee...

Page 78: ... In debugging reset vector is rewritten to address allocated to a monitor program 4 Since this area is allocated immediately before the stack area the address of this area varies depending on the stack increase and decrease That is 4 extra bytes are consumed for the stack area used When using self programming 12 extra bytes are consumed for the stack area used 512 bytes or 256 bytes Note 2 Debug m...

Page 79: ...t EZ for HCD Controller For Ver9 00 User s Manual 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: ...anghai P R China 200333 Tel 86 21 2226 0888 Fax 86 21 2226 0999 Renesas Electronics Hong Kong Limited Unit 1601 1611 16 F Tower 2 Grand Century Place 193 Prince Edward Road West Mongkok Kowloon Hong Kong Tel 852 2265 6688 Fax 852 2886 9022 Renesas Electronics Taiwan Co Ltd 13F No 363 Fu Shing North Road Taipei 10543 Taiwan Tel 886 2 8175 9600 Fax 886 2 8175 9670 Renesas Electronics Singapore Pte L...

Page 82: ...BACKCOVER Applilet EZ for HCD Controller Ver 9 00 R20UT0435EJ1300 Renesas Electronics Corporation ...

Reviews: