background image

RL78/I1A 

Chapter 8  Applilet EZ for HCD Controller

 

Make sure that SW2 dip switch of the 

RL78/I1A DC/DC LED Control Evaluation 

Board

 is in flash programming mode, and that the USB and power supply cables 

are connected correctly. Click the

 “Save” 

button and then the

 “All P.” 

button. 

After downloading the application, please disconnect the USB and power supply 
cables and set the board to the normal operation mode.  

<4> 

 

Plug again the DC 5V power supply, and you should now be able to control the 
LEDs on the

 RL78/I1A DC/DC LED Control Evaluation Board

 via the IR remote 

control protocol by using an IR transmitter device. For example, Renesas 
Electronics offers the 

Lighting Communication Master Evaluation Board

 (EZ-

0008). This board can be used as a communication master device supporting 
DMX512, DALI and IR communications. 

<5> 

 

System Configuration for IR Remote Control 

Figure 39: 

 

On the 

Lighting Communication Master Evaluation Board

, please confirm that 

SW4 is set to “RUN“ and SW1 to the expected channel (the channel should be 
the same as the one set in Applilet EZ for HCD). 

<6> 

The output code is based on NEC IR remote control protocol: 

CH1: Send custom code data code 0x5AA5 

CH2: Send custom code data code 0xDA25 

 
Place the IR transmitter (LED1) of the 

Lighting Communication Master Evaluation 

Board

 in the line-of-sight of the IR receiver (U2) of the 

RL78/I1A DC/DC LED 

Control Evaluation Board

<7> 

 

Connect the 

Lighting Communication Master Evaluation Board

 to the host PC 

using a USB cable. 

<8> 

 

Plug the DC 5V power supply cable to the 

RL78/I1A DC/DC LED Control 

Evaluation Board

 via connector CN1.  

<9> 

 

Press switch SW2 of the 

Lighting Communication Master Evaluation Board

 to 

send IR signals to the 

RL78/I1A DC/DC LED Control Evaluation Board

<10> 

R01UH0363EJ0100 Rev. 1.00 

 

35 

March 23, 2012 

Содержание RL78/I1A

Страница 1: ...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 m...

Страница 2: ...he number of instances minus one Module instances Symbols and notation are used as follows Legend Weight in data notation Left is high order column right is low order column Active low notation xxx pi...

Страница 3: ...behaviors that are prohibited in order to prevent injury or accident General prohibition The action mentioned is prohibited Do not touch Touching the specified location may cause injury Do not disass...

Страница 4: ...or other cables are not properly connected Doing so may cause the product to fail heat up or catch fire or result in electric shock Do not plug in or unplug a connector or cable with power applied to...

Страница 5: ...ironments where static electricity or electrical noise is readily generated Such influences can lead to electric shock or product failure If liquid enters the board disconnect the power supply and con...

Страница 6: ...ness LED Be careful to avoid burns Parts of the board especially the area enclosed by a dotted line become extremely hot Do not look directly at LEDs on this board Doing so may weaken eyesight Use thi...

Страница 7: ...d Doing so may cause a product failure Caution For usage of this board see the User s Manual The User s Manual can be downloaded from the following webpage URL http tool support renesas com eng toolne...

Страница 8: ...6 Configuration Switch SW1 3 3 6 Configuration Switch SW3 3 4 7 Reset Switch SW501 3 5 7 External Power Supply CN1 3 6 7 DALI Interface Connector CN2 3 7 7 DMX512 Interface Connector CN3 3 8 7 InfraR...

Страница 9: ...Variable Dimmer Program 8 4 29 Analog Input Dimmer Program 8 5 30 DMX512 Dimmer Program 8 6 32 DALI Dimmer Program 8 7 34 IR Remote Control Dimmer Program Chapter 9 36 Troubleshooting Chapter 10 38 Sc...

Страница 10: ...emote control interface Easy to use device demonstration capabilities RL78 I1A DC DC LED Control Evaluation Board contains elements to easily demonstrate simple I O functions i e LED output I O lines...

Страница 11: ...is required for the development tools installation A Pentium processor with at least 1 GHz CPU performance with at least 256 Mbytes of RAM allowing you to fully utilize and take advantage of the produ...

Страница 12: ...connection for an external 20 MHz oscillator not fitted if the user wishes to use a different clock frequency than that provided by the internal high speed oscillator An external low power 32 768 KHz...

Страница 13: ...s Manual of the RL78 I1A device carefully to get information about the electrical specification of the available I O ports before you connect any external signal to the RL78 I1A DC DC LED Control Eval...

Страница 14: ...to use the on board debug or Flash programming mode Bits Configuration 1 OFF 2 OFF 3 ON 4 OFF 5 ON 6 OFF 7 ON 8 OFF SW2 On Board Debug Flash Programming Mode Table 2 When DALI or DMX512 communication...

Страница 15: ...rotocol to be used by the RL78 I1A DC DC LED Control Evaluation Board When using DALI or DMX512 communication please don t forget to set bits 1 and 2 of switch SW2 to ON position Configuration Functio...

Страница 16: ...intends to use On Board debugging flash programming or virtual UART communication via the PD78F0730 78K0 8 bit microcontroller 3 6 DALI Interface Connector CN2 CN2 is the connector for DALI interface...

Страница 17: ...ctor J3 Connector J3 is provided for production programming of the PD78F0730 78K0 8 bit microcontroller during manufacturing The 78K0 USB device should not be reprogrammed 3 11 Mini B USB Interface Co...

Страница 18: ...gged directly into an available USB port 3 12 External Connectors J1 and J2 J1 to J2 are connectors for external user hardware Standard 0 1 pitch 10 way double row straight headers are mounted to brin...

Страница 19: ...Signal name RL78 G13 Pin Name Comment 1 P21 P21 ANI1 AVREFM Connected to VSS 2 P22 P22 ANI2 CMP0P 3 P24 P24 ANI4 CMP1P 4 P25 P25 ANI5 CMP2P 5 P26 P26 ANI6 CMP3P 6 P27 P27 ANI7 CMP4P 7 P147 P147 CMPCO...

Страница 20: ...mily 3 14 RL78 I1A Memory Map The RL78 I1A memory layout is shown in the table below 0xFFFFF 0xFFF00 SFR Area 256 bytes Free for user application 0xFFEFF software 0xFFF00 Internal RAM 4KB 0xFFEFF 0xF2...

Страница 21: ...ors The RL78 I1A DC DC LED Control Evaluation Board comes already flash programmed with the LED control sample program The Quick Start Guide supplied in printed form and on the CD as a PDF file will t...

Страница 22: ...1A DC DC LED Control Evaluation Board connect the supplied USB cable to the board This driver must be installed before the user can use the debugger to do this just install the software supplied pleas...

Страница 23: ...tion Chapter 6 Software Installation Please refer to the accompanying Quick Start guide D011299 11 also found on the Software CD for instructions on how to install the software for this product R01UH0...

Страница 24: ...Clock setting Internal OSC Port COMxx 115200bps Software Configuration of WriteEZ5 GUI Operation mode Chip Write HEX file hex Option Setting Blank check before Erase Running the Software CD installat...

Страница 25: ...eEZ5 GUI from the start menu Start All Programs Renesas Electronics Tools WriteEZ5 Or use the shortcut icon on your Desktop WriteEZ5 Start up Screen 6 1 Select Device Setup from the menu bar or click...

Страница 26: ...d to open the parameter file selection window Select the parameter file R5F107DE pr5 and then click Open Parameter File Selection Figure 9 6 3 From the Port list box select the communication port that...

Страница 27: ...ports can be checked using Device Manager The user must have installed the software first Remark 6 5 Switch to the Advance dialog box In Command Options check Blank check before Erase In Security flag...

Страница 28: ...e Advance Device Setup Dialog Box Figure 11 6 6 Click on the button OK The GUI software sets the parameters When the settings have bee completed the following screen is displayed Completion of Paramet...

Страница 29: ...7 Selecting a user program Completion of HEX File Download Figure 13 Select Device Autoprocedure EPV form the menu bar or click on the Autoprocedure icon When the Autoprocedure EPV command is execute...

Страница 30: ...9 Terminating the GUI Set the RL78 I1A DC DC LED Control Evaluation Board to the normal operation mode by applying the following settings 10 Execute application Bits Configuration 1 OFF 2 OFF 3 OFF 4...

Страница 31: ...using the RL78 I1A DC DC LED Control Evaluation Board By using Applilet EZ for HCD Controller a digital RL78 I1A based lighting system can be designed without requiring a detailed knowledge of comple...

Страница 32: ...e 16 In the CPU settings select Target to EZ 0012 board 3 Applilet EZ for HCD Controller CPU Settings Figure 17 The Applilet EZ tool is able to generate code and projects for different compilers one o...

Страница 33: ...pplilet EZ project Click OK Applilet EZ for HCD Controller Project Folder Figure 19 8 2 Fix Dimmer Program This program sets a fixed duty value for each of the 3 LED channels Make sure that all settin...

Страница 34: ...ramming mode Then plug the power cable to the RL78 I1A DC DC LED Control Evaluation Board and plug the USB connector Click the All P button 4 Applilet EZ for HCD Controller All Program Button Figure 2...

Страница 35: ...ramming 7 Applilet EZ for HCD Controller Flash Programming Status Figure 25 Click CLOSE to exit the Build window Remove the USB cable and the power supply cable and change the SW2 dip switch positions...

Страница 36: ...for example To finish click Save 2 Applilet EZ for HCD Controller Save As Window Figure 26 We now have a new Applilet EZ project file and we will change the dimmer program to Variable 3 Applilet EZ f...

Страница 37: ...er Applilet EZ for HCD Controller Dimmer Programming Variable Figure 28 Draw something close to the sinusoidal wave below and then click OK 5 Applilet EZ for HCD Controller Wave Editor 1 channel Figur...

Страница 38: ...he Save button and then the All P button After downloading the application please disconnect the USB and power supply cables and set the board to the normal operation mode 7 Plug again the DC 5V power...

Страница 39: ...supply cables and set the board to the normal operation mode 4 Plug again the DC 5V power supply and you should now see the on board LED brightness changing according to the actions applied to the var...

Страница 40: ...ly cables and set the board to the normal operation mode 5 You should now be able to control the LEDs on the RL78 I1A DC DC LED Control Evaluation Board via the DMX512 protocol by connecting a DMX512...

Страница 41: ...ter Controller GUI 11 To find details about the DMX512 Master Controller GUI please refer to the corresponding User s Manual U19596EJ1V0UM00 that can be downloaded from the Renesas Electronics website...

Страница 42: ...supply cables and set the board to the normal operation mode 5 You should now be able to control the LEDs on the RL78 I1A DC DC LED Control Evaluation Board via the DALI protocol by connecting a DALI...

Страница 43: ...ster Controller GUI please refer to the corresponding User s Manual U19607EJ1V1UM00 that can be downloaded from the Renesas Electronics website Note 8 7 IR Remote Control Dimmer Program This sample sh...

Страница 44: ...nd IR communications 5 System Configuration for IR Remote Control Figure 39 On the Lighting Communication Master Evaluation Board please confirm that SW4 is set to RUN and SW1 to the expected channel...

Страница 45: ...In checking by Device Manager USB Serial Port or USB High Speed Serial Converter is not displayed Alternatively the or is prefixed Cause The USB connector may not be inserted normally into the USB por...

Страница 46: ...r 6 Software Installation Communication with the RL78 I1A DC DC LED Control Evaluation Board is disabled Cause The driver may not be installed correctly Action Check if the USB driver is installed cor...

Страница 47: ...RL78 I1A Chapter 10 Schematics Chapter 10 Schematics RL78 I1A DC DC LED Control Evaluation Board Schematic Figure 40 R01UH0363EJ0100 Rev 1 00 38 March 23 2012...

Страница 48: ...RL78 I1A Chapter 10 Schematics Top and Bottom Silkscreen Figure 41 R01UH0363EJ0100 Rev 1 00 39 March 23 2012...

Страница 49: ...V 0 4 A DIP 17 DB Bridge diode 600 V 0 5 A SMD 18 J1 J2 DIP pin header 20 p DIP 19 J3 SIP pin header 6 p DIP 20 L1 L3 Inductance 150 H 400 mA SMD 21 LED101 High power LED Red SMD 22 LED201 High power...

Страница 50: ...012 44 R514 SMT resistor 100 0 125 W 2012 45 46 SW1 Slide switch Black SMD 47 SW2 DIP switch 8 poles SMD 48 SW3 Slide switch 1 pole DIP 49 SW501 Push switch 1 pole SMD 50 U1 CPU 38 pins SMD 51 U2 RECE...

Страница 51: ...REVISION HISTORY RL78 I1A DC DC LED Control Demonstration Kit User s Manual Hardware Description Rev Date Page Summary 1 00 Mar 23 2012 First edition issued C 1...

Страница 52: ...RL78 I1A DC DC LED Control Demonstration Kit User s Manual Hardware Publication Date Rev 1 00 Mar 23 2012 Published by Renesas Electronics Corporation...

Страница 53: ...RL78 I1A DC DC LED Control Demonstration Kit R01UH0363EJ0100...

Отзывы: