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
Loading...
+ 18 hidden pages