Renesas r0k578g User Manual

User’s Manual
R01AN1911EJ0101_RL78G1C
Rev.1.01
Apr 10, 2014
RL78/G1C Grou p
USB Charger Solution Kit R0K578G1CD010BR
Summary
This document is a User's Manual for USB Charger Solution Kit R0K578G1CD010BR, which adopts Renesas Electronics Corporation 16-bit Microcomputer R78/G1C. R0K578G1CD010BR is a board product which compactly includes USB communication function, mobile battery function based on USB Battery Charging Specification Revision 1.2 (USB 1.2), temperature and illuminance logger function, mouse functi o n and o the rs.
Contents
1. Important ........................................................................................................................................... 3
2. Precautions for Safety ....................................................................................................................... 5
2.1 Definitions of symbols ....................................................................................................................... 5
2.2 Warnings ........................................................................................................................................... 6
2.3 Cautions ............................................................................................................................................ 7
3. Specification ...................................................................................................................................... 8
4. Features ............................................................................................................................................ 9
5. Components Names and Functions ................................................................................................ 10
6. Operations ....................................................................................................................................... 11
6.1 Setup ............................................................................................................................................... 11
6.1.1 How to install battery .................................................................................................................. 11
6.1.2 Unlock HOLD Switch ................................................................................................................. 13
6.1.3 Check LCD Displays .................................................................................................................. 13
6.2 Menu Functions ............................................................................................................................... 14
6.2.1 Software Version Display ........................................................................................................... 15
6.2.2 Time Settings ............................................................................................................................. 15
6.2.3 Formatting EEPROM ................................................................................................................. 16
6.3 Charging Battery ............................................................................................................................. 17
6.4 Supplying Power ............................................................................................................................. 18
6.5 USB Composite Devices (USB mouse + USB memory) ................................................................ 19
6.6 Android Open Accessory ................................................................................................................ 21
6.6.1 Starting the Demokit Applicatio n ................................................................................................ 21
6.6.2 Demokit Application Operations................................................................................................. 21
6.7 Power-saving Function .................................................................................................................... 22
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 1 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR Preface
All components of USB Charger Solution Kit R0K578G1CD010BR (hereinafter referred to as “this product”) are listed under “Conte nt s of Package” in release note of this product.
If you have a ny questions about this product, contact your local distributor.
The manuals relevant to usage of this product are listed below. You can download the latest manuals from the Renesas Electronics homepage.
RL78/G1C User's Manual: Hardware
http://www.renesas.com/products/mpumcu/rl78/rl78g1x/rl78g1c/Documentation.jsp
Renesas USB Basic Mini Firmware (R01AN0326EJ)
http://www.renesas.com/products/tools/middleware_and_drivers/c_driver/usb_driver/app_notes.jsp
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 2 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR

1. Important

Before usi ng this product, be sure to read this user’s manual carefully.
This Product:
"This product" in this document collectively refers to the following product manufactured by Renesas Electronics Corporation. "This product" herein encompasses neit her the customer's user system nor t he host machine.
(a) RL78/G1C USB Charger Solution Kit R0K578G1CD010BR
Purpose of use of this product:
This product is a solution kit which adopts Renesas Electronics Corporation 16-bit Microcomputer R78/G1C, has USB communication and charging/supplying power functions.
Be sure to use this product correctly according to said purpose of use. Please avoid using this product other than for its intended purpose of use.
For those who use this product:
This product can only be used by those who have carefully rea d the user’s manual and know how to use it . Use of this product requires basic knowledge of electric circuits, logical circuits, and MCUs.
When using this product:
(1) This product is a development-support unit for use in your program development and evaluation stages. When a
program you have fi nis hed developing is to be incorporated in a mass-produced product, the judgment as to whether it can be put to practical use is entirely your own responsibility, and should be based on evaluation of the device on which it is installed and other experiments.
(2) In no event shall Renesas Electronics Corporation be liable for any consequence arising from the use of this
product.
(3) Renesas Electronics Corporation strives to provide workarounds for and correct trouble with products
malfunctions, with some free and some incurring charges. Howe ver, this does not necessa rily mean that Renesas Electronics Corporation guarantees the provision of a workaround or correction under any circumstances.
(4) This product covered by this document has been developed on the assumption that it will be used for program
development and evaluation in laboratories. Therefore, it does not fall within the scope of applicability of the Electrical Appliance and Material Safety Law and protection against electromagnetic interference when used in Japan.
(5) Renesas Electronics Corporation cannot predict all possible situations and possible cases of misuse that carry a
potential for danger. Therefore, the warnings in this user's manual and the warning labels attached to this product do not necessarily cover all such possible situations and cases. The customer is responsible for correctly and safely using this product.
(6) This product covered by this document has not been through the process of checking conformance with UL or other
safety standards and IEC or other indu stry standards. This fact must be t aken into account when t his product is taken from J apan to some o ther country.
(7) Renesas Electronics Corporation will not assume responsibility of direct or indirect damage caused by an
accidental failure or malfunction in this product.
(8) The all operation of the USB device connected to this product is not guaranteed. (9) All of the application note and sample program provided about this product are reference data, and they do not
guarantee the operation. Please use as technical reference data for software development.
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 3 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR
When disposing of this product:
Penalties may be applicable for inco rrect disposal of this waste, in accordance with your national legislation.
Usage restrictions:
This product has been developed as evaluation system for RL78/G1C. Therefore, do not use it as an embedded device in other equipment. Also, do not use it to develop systems or equipment for use in the following fields.
(1) Transportation and vehicular (2) Medical (equipment that has an invol vement in human life) (3) Aerospace (4) Nuclear power control (5) Undersea repeaters
If you are considering the use of this product for one of the above purposes, please be sure to consult your local distributor.
About product changes:
We are constantl y making eff orts to improve the design and performance of our product. Therefore, the specification or design of this product, or this user's manual, may be changed without prior notice.
About rights:
(1) We assume no responsibility for any damage or infringement on patent rights or any other rights arising from the
use of any information, products or circuits presented in this user’s manual.
(2) The information or data in this user’s manual does not implicitly or other wise gra nt a license to patent rights or any
other rights belonging to Renesas or to a third party.
(3) This user ’s manual and this product (R0K578G1CD010BR) are copyrighted, with all rights reserved by Renesas.
This user’s manual may not be copied, duplicated or reproduced, in whole or part, without prior written co nsent from Renesas.
About diagrams:
Some diagrams in this user’s manual may differ from the objects they represent.
About warranty:
Exchange free only in the case of initial failure within one month after purchase. This product is provided "as is" and no repair, analysis, etc. are supported.
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 4 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR
means WARNING or CAUTION.
Example:
means PROHIBITION.
Example:

2. Precautions for Safety

2.1 Definitions of symbols

This chapter describes the precautions which should be taken in order to use this product safely and properly. Be sure to read and understand this chapter before using this product.
Contact us if you have any questions about the precautions described here. This chapter describes the precautions which should be taken in order to use this product safely and properly. Be sure to
read this chapter before using this product.
WARNING indicates a potentially dangerous situation that will cause death or heavy
WARNING
CAUTION
wound unless it is avoided.
CAUTION indicates a potentially danger ous situation that will cause a slight injury or a medium-degree injury or property damage unless it is avoided.
In addition to the two above, the following are also used as appropriate.
CAUTION AGAINST AN ELECTRIC SHOCK
DISASSEMBLY PROHIBITED
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 5 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR
Warnings for Battery:
Do not store and use battery at hot environment, such as near a stove and near fire. Do not
Warnings to Be Taken for Handling:
Do not disassemble this product. Personal injury due to electric shock may occur if this product is
Warning for Installation:
Do not set this product in water or areas of high humidity. Make sure that the product does not
Warning for Use temperature:
This equipment is to be used in an environment with a maximum ambient temperature of 35°C.

2.2 Warnings

WARNING
disassemble and modify battery. Do not solder directly to contacts of battery. May cause battery to ignite, burst, heat or leak.
Check the orientation of battery to install it to the product, and do not try to force the battery onto the product if you having trouble install ing it. May cause battery to ignite, burst, heat or leak.
Do not throw battery into fire or do not heat it. Do not nail battery, hit with a hammer or step on it. May cause battery to ignite, burst, heat or leak.
Do not connect a wire or other metal object to +/- contacts of battery. Do not store metal object with battery together. May cause battery to ignite, burst, heat or leak.
If battery’s fluid etc. contacts eyes, skin or cloth, immediately flush the eyes, skin or cloth with clean water and see a doctor right away. Do not rub the eyes. May cause loss of sight.
Do not use or charge a wet battery. May cause battery to ignite, burst, heat or leak.
If battery leaks or gives off a strange smell, immediately remove it from the vicinity of open flames. May cause battery to ignite, burst, heat or leak.
If battery charging is not finished even the charging time is longer than 7 hours, please unplug USB cable and stop battery charging. May cause battery to ignite, burst, heat or leak. The status of charging can be confirmed by “Charging LED”.
disassembled. Disassembling this produc t wil l void your warr anty. If this product gives off a strange smell, sound or smoke when it is used, immediately unplug
USB cable. Because it may cause battery to ignite, burst, heat and leak, stop to use and please be sure to consult your local distributor.
get wet. Spilling water or some other liquid into the product may cause un-repairable damage.
Care should be taken that this temperature is not exceeded.
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 6 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR
CAUTION
Cautions to Be Taken for Handling This Product:
Use caution when handling the product. Be careful not to apply a mechanical shock.
Note on Transporting the Product:
When sending your product for repair, use the packing box and cushioning material supplied with
Caution to Be Taken for System Malfunctions:
If this product malfunctions because of interference like external noise, do the following to
Caution to Be Taken for Disposal:
Penalties may be applicable for incorrect disposal of this waste, in accordance with your national
European Union regulatory notices:
The WEEE (Waste Electrical and Electronic Equipment) regulations put responsibilities on

2.3 Cautions

Do not touch the connector pins of this product and the target MCU connector pins directly. Static electricity may damage the internal circuits.
When attaching and removing the cable, hold the plug of the cable and do not touch the cable. Do not pull this product by the communications interf ac e cable or the flexible cable. And, excessive flexing or force may break conductors.
If the product is converted, it will become the outside for a guarantee.
If battery gives off a strange smell, sound or smoke when it is used, immediately remove battery and stop to use. May cause battery to ignite, burst, heat and leak.
Do not touch this product in wet hand. May cause this product to failure. Uninstall batteries when do not use this product over a prolonged per iod. May cause battery to over discharge.
the product when it was deliver ed to you and specify caution in handling (handling as precision equipment). If packing of your product is not complete, it may be damaged during transportation. When you pack your product in a bag, make sure to use the conductive plastic bag supplied with the product (usually a blue bag). If you use a different bag, it may lead to further trouble with your product due to static electricity.
remedy the trouble. (1) Exit this product d ebu gger , and shut OFF this product and the user system. (2) After a lapse of 10 seconds, turn ON the power of this product and the user system again,
then launch this product debugger.
legislation.
producers for the collection and recycling or disposal of electrical and electronic waste. Return of WEEE under these regulations is applicable in the European Union only. This equipment (including all accessories) is not intended for household use. After use the equipment cannot be disposed of as household waste, and the WEEE must be treated, recycled and disposed of in an environmentally sound manner. Renesas Electronics Europe GmbH can take back end of life equipment, register for this service at “http://www.renesas.eu/weee”.
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 7 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR
Items
Contents
Remarks
Type Name
R0K578G1CD010BR
Input
USB (input via micro-B connector)
Output
USB (output via standard-A connector)
Ni-MH battery AAA (HR03) x 6 Charging time: about 7 hours
Separately-sold item Note 1
Low Voltage
Charging
3V (Start to charge when no load)
Note 2
Feeding
2.9V (End to feed)
Note 3
Dimension
90 X 55 X 24 [mm]
Operation: 10 ~ 35 C Storage: -10 ~ 50 C
USB mouse
USB Full-Speed
Logs recorder (Illuminance, Temperature,
for confirming and deleting
Battery charging
Charging c urrent: Max. 500mA
Charging c urrent: Max. 1500mA Note 4
Data communication with smartphone
and temperature value
smartphone
Measure illuminance and temperature, display the value on LCD
Record illuminance and temperature value to log file
Recording time: 24 hours Recording interval: every 1 minute
Enter to sleep mode after 30 seconds. Note 6
Illuminace measurement
Temperature measurement
Depending on the environment condition
Remaining battery level
Clock
24 hour display, 1 minutes unit
Charging current
Supply current
1-1500mA, 1mA unit
When USB BC1.2 devices is connected
Display VID, PID (in 3 seconds)
When USB devices connected

3. Specification

Power Supply
Battery
for Operation
Environment Condition
Features of PC connection
Features of smartphone connection
Features of stand alone
Display Feature
Battery voltage, Charging and feeding current)
Supply power to smartphone
1) Display illuminance on smartphone
2) Control LCD brightness by operating
Clock, remaining battery level, sleep mode
0-65535 lux, 1lux unit
0-99 C, 1 C unit
0-5000mV, 1mV unit
1-500mA, 1mA unit
Dew condensation prevention
CSV format log file
The Demokit Application of Android
TM
Open Accessory is needed. Refer to Section 6.6. Note 5
Other features
Note 1: The charging time depends on the environment temperature and the USB specification. Do not use any other batteries
different from Ni-MH battery.
Note 2: The battery voltage may drop to low voltage impossible to charge after this product is not us e d over a prolonged period.
Uninstall and charge the batteries by dedicated charger.
Note 3: The voltage of battery may drop sharply while the feeding current is large. This is because of the internal impedance of
battery and this depends on specification of battery. Use batteries with large capacity when feeding current is large. Change batteries when battery performance becomes lo w because batteries are expendable supplies.
Note 4: The current of charging or feeding depend on the specification of the devices connected. (e.g. USB Battery Charging
Specification corresponding. etc.) This product detects if the device connected is correspond to USB Batter y Char gi ng
Specification or not, and controls the charging current according to USB specification. Note 5: Android is a trademark of Google Inc. Note 6: This product will enter to sleep mode when the un-used period is long than 30 seconds in standalone operation.
Please confirm the “HOLD” switch if this product set does not wakeup even if the left/right buttons are pushed.
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 8 of 23 Apr 10, 2014
Display USB BC1.2 Specification
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR

4. Features

USB BC1.2 support MCU RL78/G1C is used in this product. This product is available for boost USB power charge and USB power supply. RL78/G1C controls all peripheral devices.
The Renesas peripheral devices controlled by RL78/G1C:
EEPROM: R1EX25512ATA00I
*Note 1: Do not connect both USB device via USB A connect or and USB micro-B connector in same time, because this product does not correspond to this usage.
*Note 2: This product is compliant with “AndroidTM Open Accessory”. It is able to be recognized as an Android accessory when an Android mobile terminal device (Android 4.0 above) is connected. Android is a trademark of Google Inc.
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 9 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR
USB Micro
-
B Connector
USB interface to connect with PC and other devices via the USB cable included in this
product
.
HOLD Switch
Used to avoid miss operations. When set to right side, the board will not react to any key operation.
Reset Button (backside of PCB)
Press to clear all settings and reset to default setting.
USB Standard
-A Connector
USB interface to connect with Smartphone and other devices via the USB cable included in this product.
Temperature Sensor
(backside of PCB
)
Senses surrounding temperature.
When warmed
by a hand, it senses a change in temperature
.
RL78/G1C Microcomputer
[R5F10JGCAFB]
This microcontroller controls all the functions in this product, and also embeds USB functions.
Charge Level LED
Indicates the charge level with six orange-colored LEDs. It blinks faster when higher current is charged in the battery.
Left Button
Operate as the left click of mouse functions.
It is
also used as Enter (
OK
) key in configuration settings.
Ambient Light Sensor
Measures surrounding iluminance
. When covered by a hand, it displays the changes of
illuminance
.
Right Button
Operates as the right click of mouse functions. It is also used as “Cancel” key in configuration settings.
Supply Level LED
Indicates the supplying level with six green­colored LEDs. It blinks faster when higher current is supplied to the module.
LCD Display
Displays various statuses including temperature, illuminance, battery level
, time, charging/supplying power.
It comes with a white LED backlight. When display is off, device is in sleep mode. Press either right or left button to return to normal mode
.
Joystick
Operating this part will move the cursor. Use this to select target items when setting configurations in the menu.
EEPROM
[R1EX25512ATA001] Stores sensor data and is used as temporary memory for the USB interface.
Charge Control IC
(back side of PCB) Controls charging of Ni-
MH
battery.
Charge LED
Turns ON when charging battery
.

5. Components Names and Functions

The following shows the t op layer component layout and key parts functions.
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 10 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR

6. Operations

This section describes how to use this product.

6.1 Setup

6.1.1 How to install battery

* Batteries are not included in this product. Prep ar e 6 AAA Ni-MH batteries for this pr oduct.
This product has battery charging function. Use chargeable battery for this pr oduct.
1. Remove the four screws (red circled in the picture) at the four corners of the bottom plate using a Phillips head screw driver.
2. Detach the bottom plate from the main body. Do not lose the screws.
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 11 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR
3. Install batteries to batter y socket. Do not mistake the bat ter y electrodes.
4. Tighten the four screws at the four corners of the bottom plate.
Both the bottom plate and t he screws are made of plastic. Please be careful when tightening the screws; tightening the screws too hard can cause the bottom
plate to split or the screws to break.
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 12 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR
[Default Display]
Temperature
Battery Voltage Level
Illuminance
Time
25 3752 mV 1000 lx 0:00

6.1.2 Unlock HOLD Swi tc h

1. Unlock the HOLD switch by sl iding it to the left.

6.1.3 Check LCD Displays

1. Make sure the LCD displays the following items in the correct format.
- Temperature The LCD displays measur ed real-time temperature readings of the built-in temperature sensor
from 0 to 99 (˚C).
- Illuminance The LCD displays measur ed real-time illuminance readings of the built-in ambient light sensor
from 0 to 65535 (lx).
- Battery Voltage Level The LCD displays the real-time battery voltage lev el in 1mV unit.
- Time
The LCD displays the current time in the format of hh: m m. The colon blinks every 0.5 seconds.
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 13 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR
Move the joystick
Move the joystick
Press the Right and Left
Move the joystick
Move the joystick
[Default Display]
[Menu Display 1]
[Menu Display 1]
[Menu Display 2]
[Menu Display 3]
25
3752 mV
1000
lx
0
:
00
[ MENU]
> S / W Version
[ MENU]
> S / W Version
S / W Version
> Set Time
Set Time > Format

6.2 Menu Functions

1. When the USB is not connected, display the menu in the LCD by pressing both Left and Right buttons simultaneously.

* The menu will not be displayed when battery voltage level is 0mV.
buttons at the same time.

2. Select the desired functi on by moving the joystick up and down.

up.
up.
down.
down.

3. Select the desired item by pressing the Left button. To return to the i nitial screen, pr e ss the Right button.

After selecting an item in [Menu Display 1] , follow t he r est of in st r uct ions in section 6.2.1. After selecting an item in [Menu Display 2], follow the rest of inst r uctions in section 6.2.2. After selecting an item in [Menu Display 3] , follow t he r est of in st r uct ions in section 6.2.3.
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 14 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR
( C ) ルネサスエレクトロニクス
Version 1 . 00N
12/ 11
/ 01 00: 00
[Time Setting Display]
[Software Version Display]
* Number depends on the software version

6.2.1 Software Version Display

1. The LCD display s t he software version as follows.

6.2.2 Time Settings

1. Select the year by moving the joystick up and down (00 to 99).
2. Press the Left button to enter setting.
3. Select the month by moving the joy stick up and down (01 to 12).
4. Press the Left button to enter setting.
5. Select the date by moving the joystick up and down ( 01 to 31).
6. Press the Left Button to enter setting.
7. Select the hour by moving the joystick up and do wn ( 00 to 23).
8. Press the Left button to enter setting.
9. Select the minutes by moving the joystick up and down (00 to 59).
10. Press the Left button to enter setting.
(Once you have started these set t ings, you cannot return to a previous step in t he pr ocess. If you make a mistake, complete that setting and then go b ack to step 1 and start over.)
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 15 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR
Move the joystick up.
Move the joystick down.
[Format Display 2]
[Format Display 1]
Format EEPROM? YES > NO
Format EEPROM? > YES NO

6.2.3 Formatting EE PROM

1. Select "YES" or "NO" by moving the joystick up and down.
2. To format the built-in EEPROM, press the Left button to select "YES". This will clear the data log and delete all the written files.
* Please format very car efully si nce this function will format t he EEPROM by clearing the data log and deleting all the written files.
* Carry out this formatting oper ation only after attaching the battery to the main body and setting time.
If the EEPROM is not formatted, log data may be inconsistent with the actual time. * After the EEPROM is formatted, the YYYYMMDD.csv file is generated automatically.
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 16 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR
USB Micro-B connection
[Default Display]
[Charge Display]
25 3752 mV 1000 lx 0:00
496 mA 3752 mV SDP 0:00

6.3 Charging Battery

1. Connect the USB Micro-B connector to a PC or USB c harger via the USB cable included in this product.

The battery starts char gin g after Battery Charging mode (Note 1) and amount of charging current are displayed in t he LCD.
The blinking speed of the LE Ds ( or ange) changes based on amount of current when charging.
Note 1 SDP: Standard Downstream Port
CDP: Charging Downstr eam Port DCP: Dedicated Charg ing Por t
The maximum charging current of t hi s pr oduct in all above cases is 500mA.

2. The charge automatically stops when the USB cable is di sconnected or the batt ery is charged to 100%.

Caution when battery voltage level becomes low: Battery charging will be st opped when battery voltage is low er t han 3V. Uninstall and ch ar ge batteries by dedicated ch arger when battery charging is not started even though the above procedures have been done. Change batteries w hen battery performance be comes low because batteries are expendable supplies.
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 17 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR
USB Standard-A connection
[Default Display]
[VID, PID Display]
After 3 seconds
[Power Supply Display]
25 3752
mV
1000 lx 0:00
VID=045B 3752 mV PID=8122 0:00
1230
mA 3752 mV
BC 0
:00

6.4 Supplying Po wer

1. Connect the USB Standard-A connector to a USB device via the USB cable included in this product.

The device starts charging after Power Supply mode (Note 1) and amount of pow er supply current are displayed in t he LCD.
The blinking speed of the LE Ds ( green) changes based on a m ount of power supply current.
Note 1 BC: Devices support ing B attery Charging
NON-BC: Devices not supporting Battery Charging

2. This product automatically stops supply ing power when the USB cable is disconnected or the battery voltage level is too low (2900 mV) .

R01AN1911EJ0101_RL78G1C Rev.1.01 Page 18 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR
File storing sensor

6.5 USB Composite Devi ces (USB mouse + USB memory)

1. Start up the PC.

2. Connect t he USB Micro-B connector to a PC via the USB cable included in this product.

The device driver for this US B device is automatically installed as it uses a gener ic driver standard in Windows PC.
Use the Left button, Right button and joystick as USB pointing devices to move the cursor around the PC screen and click.
This product is also rec ognized as USB memory. The data stored in this product’s EEPROM can be read/written from/to the PC.
data (in CSV format)
* Do not format the USB memory from your PC. * File name must be within 8 alphanumeric characters (double-byte charac t ers not
supported). * File name extension mu st be within 3 capital alphanumer ic characters. * Writable area size of this product is 1 KB. * Do not change the file name of th e C SV file storing the sensor data. * To change the CSV file storing the sensor data, format the EEPROM according to the
instructions describe d above.
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 19 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR

3. Open the CSV file st oring the sponsor data with a PC application.

R01AN1911EJ0101_RL78G1C Rev.1.01 Page 20 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR
Before operations
During operations

6.6 Android Open Accessory

To use the functions described in this chapter, you need to install the Demokit Application in your Android device.
For more information about the Demokit Application, see t he following:
http://developer.android.com/tools/adk/index.html

6.6.1 Starting the Demokit Application

1. Start up the Android device that has bee n i nstalled with the Demokit Application.
2. Connect the USB Standard-A connector to the USB Micro-B connector of the Android
device via the USB cable included this product.
3. This product will be recognized as an Andr oid accessory and the Demokit Application
will start automatically.
* In the Demokit Application, t he def ault temperature display set t ing is configured in Fahrenheit. To change the display mode t o Ce lsius (°C), it is necessary to configure t he Demokit Application.

6.6.2 Demokit Application Operations

1. Data transmission from this product to the Android d e vice
(1) Using the joystick on this product
- The cursor of the Demok it Application moves accordingly.
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 21 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR
[LCD
OFF]
[LCD Backlight ON] Before pressing
After pressing
[Temperature]
[Illuminance]
[OFF]
[ON]
LED Slide Bar
1230 mA 3752 mV BC 0:00
1230
mA 3752 mV
BC 0
:00
(2) Pressing buttons on this product
- B1 and B2 button i cons in the Demokit Application start blinking.
(3) The temperature and illuminance data measured by this product are displayed in the
Demokit Application.
* The illuminace value is displayed based on the results of the following calculation. Demokit Application Ambient Light Sensor Value [%] = Measured Value / 1024
2. Receiving data from Android dev ice
(1) Switch Android device setting to output mode by touching [OUT] icon on the Demokit
Application.
(2) Use one of the LED slide bar s in the Demokit Application.
- This product’s LCD backlight turns ON/OFF.
Backlight

6.7 Power-saving Function

This product goes into po wer-saving mode when it i s not c onnected via USB and there is no operation for over 30 seconds
LCD does not display during the power-saving mode. The following operations retur n t his product from the power-saving mode.
Pressing the Left button  Pressing the Right button  Connecting the USB micro-B connector to a USB charger or PC.
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 22 of 23 Apr 10, 2014
RL78/G1C Group USB Charger Solution Kit R0K578G1CD010BR

Website and Support

Renesas Electronics Website
http://www.renesas.com/index.jsp
USB Device Page
http://www.renesas.com/en/usb
Inquiries
http://www.renesas.com/contact/
All trademarks and registered trademarks are the property of their respective owners.
R01AN1911EJ0101_RL78G1C Rev.1.01 Page 23 of 23 Apr 10, 2014
Rev.
Date
Description
Page
Summary
1.00
Mar 31, 2014
-
First edition issued
1.01
Apr 10, 2014
8,10
Correction of the clerical error of "3. Specification".
Functions”.

Revision Record

Renewal of the photograph of “5. Components Names and
A-1
1. Handling of Unused Pins

General Precautions in the Handling of MPU/MCU Products

The following usage notes are applicable to all MPU/MCU products from Renesas. For detailed usage notes on this products covered by this manual, refer to the relevant sections of the manual. If the descriptions under General Precautions in the Handling of MPU/MCU Products and in the body of the manual differ from each other, the description in the body of the manual takes precedence.
Handle unused pins in accord with the directions given under Handling of Unused Pins in the manual. The input pins of CMOS products are generally in the high-impedance state. In operation with an
unused pin in the open-circuit state, extra electromagnetic noise is induced in the vicinity of LSI, an associated shoot-through current flows internally, and malfunctions occur due to the false recognition of the pin state as an input signal become possible. Unused pins should be handled as described under Handling of Unused Pins in the manual.
2. Processing at Power-on The state of this pr oduc t is undefined at the moment when power is supplied. The states of internal circuits in the LSI are indeterminate and the states of register settings and
pins are undefined at the moment when power is supplied. In a finished product where the reset signal is applied to the external reset pin, the states of pins
are not guaranteed from the moment when power is supplied until the reset process is completed. In a similar way, the states of pins in a product that is reset by an on-chip power-on reset function are not guaranteed from the moment when power is supplied until the power reaches the level at which resetting has been specified.
3. Prohibition of Access to Reserved Addresses Access to reserved addresses is prohibited. The reserved addresses are provided for the possible future expansion of functions. Do not access
these addresses; the correct operation of LSI is not guaranteed if they are accessed.
4. Clock Signals After applying a reset, only release the reset line after the operating clock signal has become stable.
When switching the clock signal during program execution, wait until the target clock signal has stabilized. When the clock signal is generated with an external resonator (or from an external oscillator)
during a reset, ensure that the reset line is only released after full stabilization of the clock signal. Moreover, when switching to a clock signal produced with an external resonator (or by an external oscillator) while program execution is in progress, wait until the target clock signal is stable.
5. Differences between Products Before changing from one product to another, i.e. to one with a different type number, confirm that the
change will not lead to problems. The characteristics of MPU/MCU in the same group but having different type numbers may differ
because of the differences in internal memory capacity and layout pattern. When changing to products of different type numbers, implement a system-evaluation test for each of the products.
Notice
1. Descriptions of circuits, sof t ware and ot her r elat ed infor m at ion in this document are provided only to illustrate t he oper at ion of s em iconductor pr oduc t s and application examples. You are fully responsible for the incorporation of t hese circ uits, s of t ware, and information in the design of your equipment. Renesas Electronics assumes no r esponsibility for any losses incurr ed by you or t hir d par t ies arising fr om t he use of these circuits, sof t war e, or infor m at ion.
2. Renesas Electronics has used reasonable care in preparing the inform ation included in this document, but Renesas Electronics does not warr ant t hat s uch infor m at ion is err or f r ee. Renesas Electr onics assumes no liability whatsoever for any damages incurr ed by y ou r esulting f r om er r ors in or om issions fr om t he inf or m at ion included herein.
3. Renesas Electronics does not assume any liability for infringement of pat ents, copyrights, or ot her int ellectual proper t y r ights of t hird par t ies by or ar ising fr om t he use of Renesas Electr onics pr oduct s or technical information described in this document . No license, expr ess, im plied or other wise, is granted hereby under any patent s, copyrights or other int ellectual proper t y r ight s of Renesas Electr onics or others.
4.
You should not alter, modify, copy, or otherwise misappropriat e any Renesas Electr onics produc t , whether in whole or in part. Renesas Electronics assumes no responsibility for any losses incur r ed by you or third parties arising from suc h alter at ion, m odificat ion, copy or otherwise misappropriation of Renesas Electronics produc t .
5.
Renesas Electronics products are classified according t o t he f ollowing two quality grades: "Standar d" and "High Quality". The recommended applications for each Renesas Electr onics pr oduct depends on the product's quality grade, as indicated below. "Standard": Computers; of f ice equipment ; c om m unications equipment ; test and measurem ent equipment ; audio and visual equipment; home electronic appliances; machine t ools; per sonal electr onic equipment; and industrial robots etc. "High Quality": Transportation equipment (autom obiles, t r ains, ships, etc.); t r af fic control systems; anti-disaster syst em s ; ant i-cr im e syst em s ; and saf et y equipment et c. Renesas Electronics products are neither intended nor aut hor ized f or use in produc t s or sys t em s t hat m ay pose a direct threat to hum an life or bodily injury (artificial life support devices or systems, surgical implantations etc.), or m ay cause ser ious pr oper t y dam ages ( nuclear r eac t or cont r ol syst em s, military equipment etc. ) . You must check the quality gr ade of each Renesas Electr onics pr oduct bef or e using it in a particular application. You may not use any Renesas Electronics produc t f or any application for which it is not int ended. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electr onics pr oduct f or which the pr oduct is not intended by Renesas Electronics.
6.
You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics, especially with respect t o t he m aximum r ating, operating supply voltage range, movement power volt age r ange, heat r adiat ion charact er ist ics, installation and ot her pr oduc t char act er ist ics. Renesas Electr onics shall have no liability for malfunct ions or dam ages ar ising out of t he use of Renesas Electronics products beyond such s pecified r anges.
7. Although Renesas Electronics endeavors to improve t he quality and reliability of its pr oduct s, semiconductor products have specific character istics such as t he occur r ence of failure at a cert ain rat e and malfunctions under cert ain use conditions. Further, Renesas Electronics product s ar e not subject to radiation resist ance design. Please be sure t o implement safety measur es t o guar d t hem against t he possibility of physical injury, and injury or damage caused by fire in the event of t he f ailure of a Renesas Electr onics product, such as safet y design f or har dware and sof t war e including but not limited t o redundancy, fire cont r ol and malfunc t ion prevent ion, appr opr iate t r eatment for aging degradat ion or any other appropriate m easur es. Because t he ev aluation of m icr ocom put er sof tware alone is very difficult, please evaluate the safety of t he f inal product s or sy st em s m anuf ac t ur ed by you.
8. Please contact a Renesas Electronics sales office for det ails as to envir onm ent al mat t er s such as t he env ironm ent al compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substanc es, including without limitation, t he EU RoHS Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations.
9. Renesas Electronics products and technology may not be us ed f or or incorpor at ed int o any pr oduct s or s yst em s whose m anuf acture, use, or sale is prohibited under any applicable domest ic or f or eign laws or regulations. You should not use Renesas Electronics products or t echnology descr ibed in this document for any purpose relating to m ilitary applications or use by t he m ilitary, including but not limited t o t he development of weapons of mass destruction. When expor t ing the Renesas Electr onics pr oduct s or technology described in this document, you s hould comply with the applicable export c ont r ol laws and regulations and follow the procedures required by such laws and regulations.
10. It is the responsibility of the buyer or distribut or of Renesas Electr onics products, who distributes, disposes of , or otherwise places the product with a t hird par ty, to notif y such t hir d par t y in advance of t he contents and conditions set f or t h in t his document , Renesas Electronics assumes no responsibility for any losses incur r ed by you or t hird par ties as a result of unauthor ized use of Renesas Electr onics products.
11. This document may not be r epr oduced or duplicated in any for m , in whole or in part, without prior written cons ent of Renesas Electr onics.
12. Please contact a Renesas Electronics sales off ice if you have any quest ions regar ding t he infor m at ion cont ained in this document or Renesas Electr onics pr oduct s, or if you have any other inquiries.
(Note 1)
"Renesas Electronics" as used in this document means Renesas Electronics Corporat ion and also includes its majority- owned subsidiaries.
(Note 2) "Renesas Electronics product( s) " m eans any pr oduct dev eloped or m anuf act ur ed by or f or Renesas Electronics.
http://www.renesas.com
Refer to "http:// www.r enes as. com /" for the l at es t and det ailed infor mation.
Renesas E l ect r onics A m erica Inc.
2801 Scott Boulevard S ant a C lara, CA 95050-2549, U. S.A. Tel: + 1- 408- 588- 6000, Fax: +1- 408- 588-6130
Renesas E l ect r onics C anada Limited
1101 Nicholson Road, New m ar ket , Ontari o L3Y 9C3, Canada Tel: + 1- 905- 898- 5441, Fax: +1- 905- 898-3220
Renesas E l ect r onics E urop e Limit ed
Dukes Meadow, M illboard Road, Bourne End, Bucki ngham s hi r e, SL8 5FH, U.K Tel: + 44- 1628- 585- 100, Fax: +44- 1628- 585-900
Renesas E l ect r onics E urop e GmbH
Arcadiast r as se 10, 40472 Düsseldorf , G er m any Tel: + 49- 211- 6503- 0, Fax: +49- 211- 6503-1327
Renesas E l ect r onics (China) Co., Ltd.
Room 1709, Quantum Plaz a, N o.27 ZhiC hunLu Haidian D i strict, Beiji ng 100191, P.R.China Tel: + 86- 10- 8235- 1155, Fax: +86- 10- 8235-7679
Renesas E l ect r onics (Shan ghai) Co., Ltd.
Unit 301, Tower A , C entral T ow er s, 555 Langao Road, P ut uo D istric t , Shanghai, P . R. China 200333 Tel: + 86- 21- 2226- 0888, Fax: +86- 21- 2226-0999
Renesas E l ect r onics H ong Kong Lim i t ed
Unit 1601- 1613, 16/ F., T ower 2, Gr and C ent ur y P lace, 193 Pr i nce Edward R oad West, Mongkok, Kowloon, H ong Kong Tel: + 852- 2265- 6688, Fax: +852 2886-9022/9044
Renesas E l ect r onics T aiwan C o., L t d.
13F, No. 363, Fu Shi ng North Road, Taipei 10543, Taiwan Tel: + 886- 2- 8175- 9600, Fax: +886 2- 8175- 9670
Renesas E l ect r onics S i ngap ore Pte. Ltd.
80 Bendemeer R oad, U nit #06-02 Hyflux Innovat i on Centre, S ingapore 339949 Tel: + 65- 6213- 0200, Fax: +65-6213- 0300
Renesas E l ect r onics Malaysia Sd n.Bh d.
Unit 906, Block B, M enar a Amcorp, Amcorp Tr ade Centre, N o. 18, Jln P er siaran Barat , 46050 Petali ng Jaya, Selangor D ar ul Ehsan, Malay si a Tel: + 60- 3- 7955- 9390, Fax: +60- 3- 7955-9510
Renesas E l ect r onics K orea Co . , Ltd.
12F., 234 Teheran-ro, G angnam - Ku, Seoul , 135- 920, Korea Tel: + 82- 2- 558- 3737, Fax: +82- 2- 558-5141
SALES OFFICES
© 2014 Renesas Electronics Corporati on. All r i ght s r eser ved.
Colophon 4.0
Loading...