User’s Manual AppliletTM EZ for HCD Controller For Ver. 8.30 User’s 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). www.renesas.com Rev.12.
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.
How to Use This Manual Target Readers This manual is intended for user engineers who wish to understand the functions of the PD78F8024, 78F8025, 78F0754, or 78F0756 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 functions described in the Organization below. Organization This manual is broadly divided into the following parts.
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. PD78F8024, 78F8025 User’s Manual U18976E 78K0/Ix2 User’s Manual R01UH0010E RL78/I1A User’s Manual R01UH0169E Documents Related to Development Hardware Tools Document Name Document No.
Documents Related to Development Software Tools Document Name RA78K0 Ver.3.80 Assembler Package User’s Manual Note 1 Document No. Operation U17199E Language U17198E Structured Assembly Language Note 1 78K0 Assembler Package RA78K0 Ver.4.01 Operating Precautions (Notification Document) CC78K0 Ver.3.70 C Compiler User’s Manual Note 2 U17197E ZUD-CD-07-0181-E U17201E Operation U17200E Language Note 2 78K0 C Compiler CC78K0 Ver. 4.
Applilet, CubeSuite are a registered trademark of Renesas Electronics Corporation. Windows, Windows Vista, 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.
CONTENTS CHAPTER 1 OVERVIEW........................................................................................................................... 1 1.1 Overview.......................................................................................................................................... 1 1.2 Host Machine, Software, and Hardware Configurations ............................................................ 2 CHAPTER 2 INSTALLATION ...............................................................
B.1 Overview of Binary Type............................................................................................................. 42 B.1.1 Details of basic format 1 (host target)........................................................................................... 43 B.1.2 Details of basic format 2 (target host)........................................................................................... 44 B.1.3 Binary type execution example (EV-K0-HCD) ........................................
R20UT0435EJ1200 Rev. 12.00 Jul 31, 2014 Applilet EZ for HCD Controller Ver. 8.10 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.
Applilet EZ for HCD Controller CHAPTER 1 OVERVIEW 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 XPTM (32-bit mode), Windows VistaTM (32-bit mode), Windows 7 (32-/64-bit mode) CPU: Must satisfy the recommended requirements for each OS Memory: Must satisfy the recommended requirements for each OS USB: USB 1.
Applilet EZ for HCD Controller CHAPTER 1 OVERVIEW EZ-0005··················· This is an evaluation board for high-brightness LEDs that uses the PD78F0756 (78K0/IB2). (78K0/Ix2LED) Red, green, and blue LEDs are mounted on the board. The LEDs can be controlled by using the internal features of the PD78F0756 and an FET without the constant-current driver IC. EZ-0006··················· This is an evaluation board for high-brightness LEDs that uses the PD78F0754 (78K0/IA2).
Applilet EZ for HCD Controller CHAPTER 2 INSTALLATION CHAPTER 2 INSTALLATION 2.1 Installing Application The following applications must be installed to use Applilet EZ for HCD Controller. Applilit EZ for HCD Controller Compiler, assembler, or integrated development environment and device fileNote 1 Notes 1. 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.
Applilet EZ for HCD Controller CHAPTER 2 INSTALLATION 2.1.1 Installing Applilit EZ for HCD Controller Double-click the AppEZHCD.msi file to start the installation wizard of Applilet EZ for HCD Controller. Click the [Next] button and proceed with the installation by following the instructions that will be displayed in the wizard window. 2.1.
Applilet EZ for HCD Controller CHAPTER 2 INSTALLATION 2.1.3 Folder configuration Once the application has been successfully installed, the following folders are copied to the specified installation folder. Figure 2-1. Folder Configuration Installation folder (default: C:\Program Files\Renesas\Applilet EZ for HCD) BaseProject EV-K0-HCD INCLUDE ····· Include file folder OBJ ············· Object file folder SRC ············· Source file folder EZ-0005 INCLUDE OBJ SRC Sample EV-K0-HCD EV-K0-HCD2 xxxx.
Applilet EZ for HCD Controller CHAPTER 2 INSTALLATION 2.1.4 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. Figure 2-2. Windows [start] Menu (Windows XP) The following shortcut icon is displayed on the Windows desktop. Figure 2-3. Shortcut Icon 2.2 Installing USB Driver USB driver is required when using an evaluation board.
Applilet EZ for HCD Controller CHAPTER 3 STARTING AND ENDING 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] [Applilet EZ for HCD] (refer to Figure 2-2 Windows [start] Menu (Windows XP)), or double click the shortcut icon on the Windows Desktop (refer to Figure 2-3 Shortcut Icon). Once Applilet EZ for HCD Controller is started, the following Main window opens. Figure 3-1.
Applilet EZ for HCD Controller CHAPTER 3 STARTING AND ENDING 3.1.1 Setting up at the first startup Compiler setting On [Setting] menu, select [Select Compiler], and then select the compiler name to be used. Compiler folder setting (a) 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.
Applilet EZ for HCD Controller CHAPTER 3 STARTING AND ENDING (b) Specifying the folder in which to save the generated configuration file (*.xml) and the source and project files (*.prj). On the [Setting] menu, select [Project Folder] . The following dialog box will then be displayed. Folder in which to save the generated configuration file (*.xml) . Folder in which to save the source and project files (*.prj) . Change the location where the *.xml and *.prj files are saved as required.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION 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 Start Applilet EZ for HCD Controller Setting up at the first startup (refer to 3.1.1) · Compiler · Setting file (*.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION Setting up the evaluation board (from the previous page) Mode setting Switch mode Variable mode In this mode, the dimming levels are changed by the switch connected to the board. Refer to 4.3.7 In this mode, LED dimming can be continuously changed. The output pattern can be specified as in art software. Fix mode In this mode, the LEDs are dimmed according to the input fixed values.
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. (1) (2) (6) (3) (4) (7) (8) (5) (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.
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. (8) Logarithmic dimming control.: Select this checkbox to logarithmically change the dimming of the LEDs. If this checkbox is not selected, values such as duty factors are handled as direct values.
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. <2> Click the [Edit] button to open a separate window, shown below. Edit the output pattern in this window.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION (a) Selecting the channel to operate Select the channel to edit. Only channels that can be edited can be selected. Select all channels or individual channels. The brightness curve of a selected channel is displayed as a bold line. (b) Selecting the operation mode Range selection A range can be selected by left-clicking and then dragging the mouse in the brightness mode curve editing field.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION <3> When editing has been completed, click the [OK] button. <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. R20UT0435EJ1200 Rev. 12.
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 value to be used for the duty. (For the EV-K0-HCD) [each channel] The conversion value of each A/D conversion port is applied to the duty of the corresponding effective channel.
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. To use this mode, a host controller for serial communication must be connected to the serial communication port of the evaluation board.
Applilet EZ for HCD Controller [type] CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION Note 2 Select from ASCII and BINARY. ASCII Communication by using ASCII codes is performed. BINARY Communication by using binary data is performed. <2> Click Notes 1. icon or select Menu [File] [Save] to save the project. For the EV-K0-HCD, EV-K0-HCD2, and EZ-0009, UART6 cannot be selected when [Enable ‘On Chip Debug’] is checked in the [Board Property] dialog box. 2.
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. Note <1> Select the [DMX512] button in Dimmer Program . <2> Push the [Setting] button and then [DMX512…] in the menu, and then specify the channel number.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION 4.3.6 DALI mode 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. For the communication command of DALI, refer to APPENDIX D DALI MODE COMMUNICATION DATA. <1> Select the [DALI] button in Dimmer Program.
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. Only EZ-0011 can be selected. Each switch number corresponds to an LED channel in EZ-0011. 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.
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 Renesas format can be received. This mode can be selected only for EZ-0012. In this mode, the custom code and data code can be specified as a four-digit and a two-digit hexadecimal respectively.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION 4.4 Generation, Writing, and Evaluation In the following procedures, 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 write procedure differs depending on the board used. If the board has a USB interface, first confirm that the PC and USB cable are connected properly.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION Remark If an abnormality occurs during object code generation (*.hex) or flash writing, an error code may be displayed. Example: “code = xx” Take the following countermeasures according to the code number (xx) displayed. Code No. Countermeasures 2 Applilet EZ for HCD Controller may not be correctly installed. Reinstall it. 3 Data cannot be written because the folder that should be set via the [Folders...
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION <3> Writing • If the board has a USB interface Click OK button and flash programming is started. • If the board is using MINICUBE2 Press the OK button. The flash programmer GUI will start. Follow the flash programmer GUI operation procedure to write in the board. R20UT0435EJ1200 Rev. 12.
Applilet EZ for HCD Controller CHAPTER 4 APPLILET EZ FOR HCD CONTROLLER OPERATION <4> Operating preparation • If the board has a USB interface When the program has been written normally, toggle the Program (PROG)/Run (RUN) switch to “RUN” and then turn the evaluation board off and on. • If the board is using MINICUBE2 Switch OFF the power of the board, remove the connection of MINICUBE2, and turn ON the power of the evaluation board once again.
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE 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 Window/Dialog Box Name Main window Description This window is opened automatically when Applilet EZ for HCD Controller is started.
Applilet EZ for HCD Controller 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. Next, the window or dialog box’s functions are described briefly and an illustration of the window or dialog box is shown.
Applilet EZ for HCD Controller 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. Figure 5-1.
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE Menu bar (1) [File] menu [Create New] This option is used to create a new setting. Clicking the [Open...] button selects the same function. This option is used to open an existing setting file. Use the dialog box that opens for this option to select the existing setting file (*.xml). Clicking the [Save] button selects the same function. This option is used to save the current settings. Clicking the button selects the same function.
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE (5) [View] menu [Toolbar] Displays or hides the tool bar and status bar every time this is selected. [Statusbar] (default: display) (6) [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.
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. Figure 5-2. [UARTx Settings] dialog box (1) (2) (3) (4) The following parts of this window are described below.
Applilet EZ for HCD Controller Remark CHAPTER 5 WINDOW REFERENCE When the EV-K0-HCD, EV-K0-HCD2, and EZ-0009 are selected and the CPU clock is set to the internal high-speed oscillation clock (fRH), the data received first is used as data for calibration (refer to Remark in 4.3.4 Serial Command mode). The settings made via the [UART6 Settings] or [UART0 Settings] dialog box result in the communication data format after calibration.
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE [CSI Property] dialog box This dialog box can be opened by clicking [CSI...] in the [Project] menu. Set SS pin of CSI10 in this dialog box. This setting operates only in slave mode. Figure 5-4. [CSI Property] dialog box < For the EZ-0005> (1) (1) (2) (2) (3) (3) The following parts of this window are described below.
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE [DALI Property] dialog box This dialog box can be opened by clicking [DALI...] in the [Project] menu. Set parameter of DALI in this dialog box. Figure 5-5. [DALI Property] dialog box (1) (2) (3) (4) (5) (11) (6) (7) (8) (9) (10) The following parts of this window are described below.
Applilet EZ for HCD Controller CHAPTER 5 WINDOW REFERENCE (5) Power-On Level: Specify the dimming level for when turning 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).
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. Figure 5-6. [DMX512 Property] dialog box (1) (2) The following parts of this window are described below.
Applilet EZ for HCD Controller 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\Renesas\Applilet EZ for HCD\Sample\Board name\ Sample File Name Description Candle_xxxxx.xml Candle light color_temperature_3000K_xxxxx.xml Color temperature 3,000 K color_temperature_3500K_xxxxx.xml Color temperature 3,500 K color_temperature_4200K_xxxxx.
Applilet EZ for HCD Controller APPENDIX A SAMPLE FILE A.1 [Reference] Measurement Environment for the Color Temperature Data that was measured in the following environment is used for the color temperature sample file (color_temperature_xxxxxK_) included with Applilet EZ for HCD Controller. < Measurement environment > The whole measurement equipment is set up in a dark room where all outside light is cut off. A color sensor and lighting board are installed perpendicularly.
Applilet EZ for HCD Controller APPENDIX B SERIAL COMMAND MODE COMMUNICATION COMMANDS APPENDIX B SERIAL COMMAND MODE COMMUNICATION COMMANDS This chapter describes the communication commands used between a host device (such as a PC or a microcontroller) and a target device (the EV-K0-HCD, EV-K0-HCD2, or EZ-00xx evaluation board).
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. command block 1 [byte] data consisting of 8 bits. The meaning of each bit is as follows. R/W (1 bit): This bit specifies the flow of information.
Applilet EZ for HCD Controller APPENDIX B SERIAL COMMAND MODE COMMUNICATION COMMANDS parameter block 1 [byte] data consisting of 8 bits. This block has no meaning when set to status acquisition (during reception: R/W = 1)Note 1. Specify 0x00 for status acquisition (during reception). When it is set to setting (during transmission: R/W = 0), it has the following meaning according to “Command (5 bits)” of the command block.
Applilet EZ for HCD Controller APPENDIX B SERIAL COMMAND MODE COMMUNICATION COMMANDS B.1.3 Binary type execution example (EV-K0-HCD) 1. Target device status acquisition Transmission from the host device Hexadecimal: Binary: 00 00 C0 00 0000 0000 0000 0000 1100 0000 0000 0000 Reception from the target device (Enable status) Hexadecimal: Binary: 00 0000 0000 2.
Applilet EZ for HCD Controller APPENDIX B SERIAL COMMAND MODE COMMUNICATION COMMANDS B.2.1 Details of basic format 3 (host target) ch block 1 [byte] data. It specifies the channel to be controlledNote 1. Specifiable values: “1”, “2”, “3”, “4” cmd block 2 [byte] data. It can be used to specify for the duty and status of each channel of the target device, status acquisition (during reception) or setting (during transmission). The following four items can be specified.
Applilet EZ for HCD Controller APPENDIX B SERIAL COMMAND MODE COMMUNICATION COMMANDS B.2.2 Details of basic format 4 (target host) data block 3 [byte] data. The data is transmitted from the target device only when cmd is “rd” and “rs”, among the items specified for basic format 3. cmd = “rd”: cmd = “rs” This returns as 3 digits in decimal format the duty value of the specified channel. (“000” to “255”) Note 1 : This returns as 3 digits in decimal format the status state.
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. In communication using a UART, transmission and reception are performed completely asynchronously.
Applilet EZ for HCD Controller APPENDIX B SERIAL COMMAND MODE COMMUNICATION COMMANDS In communication using an IIC, the host device is the master device. A communication operation such as that shown below is performed for information acquisition (during reception) of the target device.
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. Host Machine (PC, microcontroller, etc.) Master board (EZ-0008, etc.) DMX communication Target Target Target DMX512 performs communication 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.
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. MTBF 1 data frame Start bit D D D D Name D D D Data width D Stop bits Level Start bit 4 s Data bits 4 s 8 bits Low-level/High-level Stop bits 4 s 2 bits High-level Low-level C.
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. Master board (EZ-0008, etc.) Host Machine (PC, microcontroller, etc.) DALI communication Target Target Target Remark The EV-K0-HCD is not supported DALI communication. DALI performs communication using the following protocol. D.
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 1 bit 1 bit a 6 bits 1 bit 8 bits 2 bits c d e f b 8 bits a: Start bit This indicates the start of the frame. It is always the same waveform as “1”. b-d: Address byte This specifies the transmission destination of the frame.
Applilet EZ for HCD Controller APPENDIX D DALI MODE COMMUNICATION DATA D.2 Transmission/Reception Timing Rules <1> Timing in the frame 1 bit width in DALI is 833.3 s 10% for both Forward and Backward frames. Figure D-4. Timing in the Frame Start bit Data bit Data bit 833.3 μs 833.3 μs 833.3 μs Data bit 833.3 μs Stop bitsNote 1666.67 μs Note Because there are two stop bits, their timing is 1666.67 s. <2> Timing among frames With DALI, the following timing must be controlled in frame units.
Applilet EZ for HCD Controller APPENDIX E RESERVED AREA USED IN ON-CHIP DEBUGGING APPENDIX E RESERVED AREAS USED IN ON-CHIP DEBUGGING The reserved areas shaded in gray in Figures F-1 and F-2 are used during on-chip debugging. Figure F-1.
Applilet EZ for HCD Controller APPENDIX E RESERVED AREA USED IN ON-CHIP DEBUGGING Figure F-3.
Applilet EZ for HCD Controller APPENDIX F 16-BIT TIMER/EVENT COUNTER 00 FUNCTIONS APPENDIX F 16-BIT TIMER/EVENT COUNTER 00 FUNCTIONS (FOR PD78F8024/78F8025 AND 78K0/Ix2 ONLY) Driver functions are provided for using 16-bit timer/event counter 00 as an interval timer or for pulse width measurement. When using the functions, they must be added to a PM+ (integrated development environment) or SubeSuite+ project. Add TM00Int.c and TM00Int_user.
Applilet EZ for HCD Controller APPENDIX F 16-BIT TIMER/EVENT COUNTER 00 FUNCTIONS [Return value] Processing result Successful Failed ... TRUE (1) ... FALSE (0) [Parameter] unsigned char ucUnit ..... Unit of interval setting value UNIT_SEC............1 s UNIT_MILLISEC.......1 ms UNIT_MICROSEC.......1 s UNIT_NANOSEC........1 ns UNIT_FALLING_EDGE...Number of times the falling edge of the TI000 pin is detected UNIT_RISING_EDGE....Number of times the rising edge of the TI000 pin is detected UNIT_BOTH_EDGE..
Applilet EZ for HCD Controller APPENDIX F 16-BIT TIMER/EVENT COUNTER 00 FUNCTIONS void PulseMeasure_Start() [Processing overview] This function starts a count operation of TM00, which has been initialized, in clear & start mode set by inputting the valid edge of the TI000 pin. Interrupts are set to be unmasked by detecting the valid edge of the TI000 pin and the interrupt handler is set to be called. [Return value] None [Parameter] None [Prototype definition source] TM00Pls.
Applilet EZ for HCD Controller APPENDIX F 16-BIT TIMER/EVENT COUNTER 00 FUNCTIONS (4) TM00Pls_user.c __interrupt void TI000_Capture_Interrupt( void ) [Processing overview] This function calculates the pulse cycle and positive and negative pulse widths, based on the TM00 count values stored in CR000 and CR010. [Return value] None [Parameter] None [Prototype definition source] TM00Pls_user.c R20UT0435EJ1200 Rev. 12.
Applilet EZ for HCD Controller User’s Manual Ver. 8.30 Publication Date: Rev.1.00 May 1, 2008 Rev.12.
http://www.renesas.com 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 1101 Nicholson Road, Newmarket, Ontario L3Y 9C3, Canada Tel: +1-905-898-5441, Fax: +1-905-898-3220 Renesas Electronics Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.
Applilet EZ for HCD Controller Ver. 8.