Fast prototyping board 16-bit single-chip microcontrollers (37 pages)
Summary of Contents for Renesas RL78/I1A
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
Preface Readers This manual is intended for users who want to understand the functions of the concerned microcontrollers. Purpose This manual presents the hardware manual for the concerned microcontrollers. Organization This system specification describes the following sections: Introduction How to use WriteEZ5 flash programming software ...
Page 3
Safety Precautions This document describes items to be observed to ensure the safe use of this evaluation board. Be sure to read this document before using the board. Symbols Used This document uses the following symbols for items to be observed to ensure the safe use of the unit. The symbols are followed by a brief explanation of the possible extent of problems which may occur if the items are not observed.
Page 4
Warnings Warning Be careful to avoid burns. The temperature of this part of board increases when AC power is connected. Be careful of LED brightness and the LED On/Off interval. Simulations of strong light may cause symptoms linked to an epileptic condition. Do not use this board for a purpose other than the evaluation of an MCU.
Page 5
- Environments 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 consult your dealer or Renesas Electronics sales representative. Even if the unit appears to be dry, internal moisture may remain.
Page 6
Appearance of the board Surface appearance (top view) Analog volume switch DC plug for AC adaptor Connector for DALI Connector for DMX512 USB connector Surface appearance (back view) High brightness LED Warning 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.
Page 7
Caution Do not touch directly LEDs on this board. Doing so may cause a product failure. 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/toolnews/download/exel/solution_lighting.html...
Table of Contents Chapter 1 Introduction ................1 Main features of RL78/I1A DC/DC LED Control Evaluation Board ....1 System requirements ..................2 Package contents ....................2 Chapter 2 System Configuration ............3 ...
Page 9
Fix Dimmer Program ..................24 Variable Dimmer Program ................27 Analog Input Dimmer Program ..............29 DMX512 Dimmer Program ................30 DALI Dimmer Program ..................32 IR Remote Control Dimmer Program ............34 Chapter 9 Troubleshooting ..............
RL78/I1A DC/DC LED Control Evaluation Board is powered via a 5V DC jack connector. This power supply is used to power the RL78/I1A as well as the LEDs. When On-Board debug function is used, the USB interface is used to power the µPD78F7030 78K0 USB microcontroller.
The IAR Embedded Workbench for RL78 and the IAR C-SPY debugger are included. These packages are restricted in such that maximum program code size is limited to 16 Kbytes. Full documentation is included for the Renesas software tools and the RL78/I1A device. 1.2 System requirements...
2.1 RL78/I1A DC/DC LED Control Evaluation Board RL78/I1A DC/DC LED Control Evaluation Board is a demonstration board for evaluating the new Renesas RL78/I1A family of devices. The device used is the RL78/I1A (R5F107DEG). The board can be directly connected to the host system via a USB port.
Please read the User’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 Evaluation Board.
Additionally the built-in Flash memory of the RL78/I1A device can be re- programmed by using the WriteEZ5 Flash programming GUI. Configure switch SW2 as following to use the on-board debug or Flash...
3.3 Configuration Switch SW3 The switch SW3 selects the IR remote control channel. Two different channels can be selected on the RL78/I1A DC/DC LED Control Evaluation Board, CH1 corresponds to a 0x5AA5 data code, and CH2 to a 0xDA25 data code.
RL78/I1A Chapter 3 Board Components 3.4 Reset Switch SW501 The switch SW501 is the reset switch of the RL78/I1A DC/DC LED Control Evaluation Board. It can be used to reset operation during on-board debugging or during normal operation mode. 3.5 External Power Supply CN1 External power is supplied by connecting a regulated 5V DC to the jack connector CN1.
UART0 serial interface that can use the Renesas Virtual UART to interface to the PC. For this function a 14- way (2 x 7) standard pitch connector needs to be mounted and connected as shown below.
CN501 Table 7: Pin Configuration of mini-B USB Connector CN501 For connection with the host machine, the RL78/I1A DC/DC LED Control Evaluation Board can be plugged 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 bring all I/Os for usage.
Page 19
RL78/I1A Chapter 3 Board Components Signal Name RL78/I1A Pin Name Comment P20/ANI0/AVREFP Connected to VDD P03/RXD1/CMP5P/ANI16 P02/TXD1/ANI17 P120 P120/ANI19 P40/TOOL0 RESET RESET P124 P124/XT2/EXCLKS P123 P123/XT1 P137 P137/INTP0 P122 P122/X2/EXCLK P121 P121/X1 REGC REGC P31/TI03/TO03/INTP4 P77/INTP11 P76/INTP10 P61/SDAA0 P75/INTP9 No connection...
RL78/I1A Chapter 3 Board Components 3.13 Low Power 32 KHz Resonator Y1 The RL78/I1A DC/DC LED Control Evaluation Board is fitted with an external 32 KHz resonator (Y1) characterized specifically for the RL78 devices supplied by Seiko Instruments Inc. This is a specially designed low power resonator designed to support the very low power consumption of the RL78 family.
Chapter 4 Getting Started Chapter 4 Getting Started The default setting of the RL78/I1A DC/DC LED Control Evaluation Board is set for demonstration of LED constant current control and dimming control using on- board variable resistors. The RL78/I1A DC/DC LED Control Evaluation Board comes already flash programmed with the LED control sample program.
Chapter 5 Hardware Installation Chapter 5 Hardware Installation After unpacking the RL78/I1A 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;...
RL78/I1A Chapter 6 Software Installation 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. R01UH0363EJ0100 Rev. 1.00 March 23, 2012...
Software This chapter explains the basic operations of the WriteEZ5 GUI for programming the RL78/I1A DC/DC LED Control Evaluation Board. This chapter covers how to start the system, execute the EPV command (Erase, Program, Verify), and program the target RL78/I1A device.
Page 25
RL78/I1A Chapter 7 How to Use WriteEZ5 Flash Programming Software Figure 6: SW2 for Mode Configuration Connect the RL78/I1A DC/DC LED Control Evaluation Board with the host machine. <5> Starting Start the WriteEZ5 GUI from the start menu: [Start] [All Programs] [Renesas Electronics Tools] [WriteEZ5] Or use the shortcut icon on your Desktop.
Page 26
RL78/I1A Chapter 7 How to Use WriteEZ5 Flash Programming Software Figure 8: Standard Device Setup Dialog Box (6.2) Click on PRM File Read to open the parameter file selection window. Select the parameter file “R5F107DE.pr5”, and then click Open .
Page 27
RL78/I1A Chapter 7 How to Use WriteEZ5 Flash Programming Software Figure 10: Port Selection Remark Selectable ports can be checked using Device Manager. The user must have installed the software first. (6.5) Switch to the “Advance” dialog box: In “Command Options”, check “Blank check before Erase”.
Page 28
RL78/I1A Chapter 7 How to Use WriteEZ5 Flash Programming Software Figure 11: Advance Device Setup Dialog Box (6.6) Click on the button OK . The GUI software sets the parameters. When the settings have bee completed, the following screen is displayed:...
Page 29
<8> Auto procedure (EPV) command [Autoprocedure] icon. execution When the [Autoprocedure(EPV)] command is executed, Blank Check Erase Program and Flash Internal Verify are executed sequentially for the RL78/I1A device. Figure 14: Completion of EPV Command R01UH0363EJ0100 Rev. 1.00...
Page 30
Select [File] [Quit] to terminate the GUI software. All settings executed are <9> Terminating the saved, so that those settings can be reused when the WriteEZ5 GUI is restarted. <10> Execute Set the RL78/I1A DC/DC LED Control Evaluation Board to the normal operation application mode by applying the following settings. Bits...
LED current. Software can be easily generated by specifying the setting and operation of the RL78/I1A on the GUI. The generated software can be directly written into the flash memory of the RL78/I1A microcontroller via a USB cable and the operation can be performed and checked by using the RL78/I1A DC/DC LED Control Evaluation Board.
Page 32
RL78/I1A Chapter 8 Applilet EZ for HCD Controller <2> Under the Project menu all of the MCU settings will be listed for configuration, select CPU or simply press the “New” button. Figure 16: Applilet EZ for HCD Controller New Project <3>...
RL78/I1A Chapter 8 Applilet EZ for HCD Controller Note Make sure that you have installed the selected compiler correctly to your host PC before building the project. <5> It is also possible to configure the output project folders by clicking on the Setting menu and then selecting Project Folder.
Page 34
<4> Please make sure to set the SW2 dip switch to the flash programming 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. Figure 22: Applilet EZ for HCD Controller All Program Button <5>...
Page 35
RL78/I1A Chapter 8 Applilet EZ for HCD Controller <6> Next click OK when prompt to start flash programming. Figure 24: Applilet EZ for HCD Controller Start Flash Programming <7> During the flash programming procedure you will be informed about the actual status of the programming.
RL78/I1A Chapter 8 Applilet EZ for HCD Controller 8.3 Variable Dimmer Program This program sets the duty value for each channel according to a drawing pattern data. Make sure that you have set all the settings as explained in the 8.1 General <1>...
Page 37
RL78/I1A Chapter 8 Applilet EZ for HCD Controller Figure 28: Applilet EZ for HCD Controller Dimmer Programming (Variable) <5> Draw something close to the sinusoidal wave below and then click OK. Figure 29: Applilet EZ for HCD Controller Wave Editor (1 channel) R01UH0363EJ0100 Rev.
Applilet EZ for HCD Controller Wave Editor (3 channels) <7> 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.
Applilet EZ for HCD Controller Dimmer Program Selection (Analog) <4> 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.
Page 40
After downloading the application, please disconnect the USB and power supply cables and set the board to the normal operation mode. 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 master device.
Connect the Lighting Communication Master Evaluation Board to the host PC <9> using a USB cable. <10> Plug the DC 5V power supply cable to the RL78/I1A DC/DC LED Control Evaluation Board via connector CN1. <11> Send DMX512 commands to the RL78/I1A DC/DC LED Control Evaluation Board using the DMX512 Master Controller GUI.
Page 42
After downloading the application, please disconnect the USB and power supply cables and set the board to the normal operation mode. 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 master device.
Connect the Lighting Communication Master Evaluation Board to the host PC <9> using a USB cable. <10> Plug the DC 5V power supply cable to the RL78/I1A DC/DC LED Control Evaluation Board via connector CN1. <11> Send DALI commands to the RL78/I1A DC/DC LED Control Evaluation Board using the DALI Master Controller GUI.
Page 44
CH2: Send custom code 0x0000+data code 0xDA25 <7> 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. <8> Connect the Lighting Communication Master Evaluation Board to the host PC using a USB cable.
RL78/I1A Chapter 9 Troubleshooting Chapter 9 Troubleshooting In driver installation, recognition based on Plug and Play is disabled. Cause: The USB connector may not be inserted normally into the USB port of the personal computer. Action: Check that the USB connector is inserted fully into the USB port of the personal computer.
Page 46
WriteEZ5 may not be set correctly. Action: Set the port checked using Device Manager. Cause: The RL78/I1A DC/DC LED Control Evaluation Board is operating in Virtual UART mode. Action: Set the board to the On-Board Debugging / Flash Programming mode.
RL78/I1A Chapter 11 Bill of Materials Chapter 11 Bill of Materials Item Reference Parts name Rating Type C1, C2 Laminated ceramic capacitor 3.7 pF @ 50 V 1005 0.47 F @ 25 V Laminated ceramic capacitor 1608 0.1 F @ 50 V...
Page 50
RL78/I1A Chapter 11 Bill of Materials Item Reference Parts name Rating Type R501, R505 SMT resistor 1.5 k, 0.125 W 2012 27 , 0.125 W R502, R503 SMT resistor 2012 R507-R510, R515 SMT resistor 100 k, 0.125 W 2012 100 , 0.125 W...
Page 51
RL78/I1A DC/DC LED Control Demonstration Kit REVISION HISTORY User’s Manual: Hardware Rev. Date Description Page Summary 1.00 Mar. 23, 2012 First edition issued C - 1...
Page 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...
Page 53
RL78/I1A DC/DC LED Control Demonstration Kit R01UH0363EJ0100...