RX231 Group RX231 Human Machine Interface Solution Kit R0K5RX231D000BR

RX231 Group RX231 Human Machine Interface Solution Kit R0K5RX231D000BR
APPLICATION NOTE
R01AN2585EJ0101_RX231
Rev.1.01
2015.12.04
RX231 Group
Human Machine Interface Solution Kit R0K5RX231D000BR
Overview
This document is the user’s manual for the Human Machine Interface Solution Kit (R0K5RX231D000BR).
R0K5RX231D000BR (also referred to as the HMI Solution Kit herein) uses the Renesas Electronics Corporation
RX231 32-bit microcontroller and Smart Analog IC. The HMI Solution Kit board serves as a demo and evaluation
system for USB, LCD, touch key, voice record & playback, and motion detection functions and low-power operations.
(1) Demo applications
Demo programs are preloaded before shipment; the R0K5RX231D000BR is ready for immediate use.
・Low-power demo: power-saving example of device using wake-up upon motion detection
・Voice record & playback demo: voice memo and pre-set sound replay based on MCU software
(2) Evaluation Applications
・Software development using Kit system hardware
・ Function expansions to MCU or Smart Analog IC using connectors CN5 and CN6
・ Increase number of wireless modules (BLE) using connector CN3
・ Sensor mediation through Workbench6: Integrated Development Environment for Renesas Capacitive Touch
・ Debugging via E1 emulator. Programing in USB boot mode.
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 1 of 34
RX231 Group
Human Machine Interface Solution Kit R0K5RX231D000BR
Contents
1.
Important Notes ................................................................................................................................. 4
2.
2.1.
2.2.
2.3.
Safety Items ...................................................................................................................................... 6
Definitions of Symbols ....................................................................................................................... 6
Warnings ........................................................................................................................................... 7
Cautions ............................................................................................................................................ 8
3.
Specifications .................................................................................................................................... 9
4.
4.1.
4.1.1.
4.1.2.
4.1.3.
Part Names ..................................................................................................................................... 11
RX231 and Expansion Connector Pin Assignments ....................................................................... 12
RX231 Pin Assignments ................................................................................................................. 12
Expansion Connector CN3 .............................................................................................................. 13
Expansion Connectors CN5 and CN6 ............................................................................................. 14
5.
Operating Procedures ..................................................................................................................... 15
5.1. Power Supply at Startup ................................................................................................................. 15
5.1.1. Select Power Supply Input ............................................................................................................ 15
5.1.2. Select Startup Mode ........................................................................................................................ 15
5.1.3. Startup Procedure ........................................................................................................................... 16
5.2. Demo Operations ............................................................................................................................ 17
5.2.1. Normal Mode Operations ................................................................................................................ 17
5.2.1.1. Low-power demo: Demo1 (ECO) ................................................................................................. 18
5.2.1.2. Playback of preset voice data, Voice record & playback demo: Demo2 (SOUND) ..................... 19
5.2.1.3. Normal Mode: OTHER (Time setting) .......................................................................................... 23
5.2.1.4. Normal Mode: OTHER (Version Display) .................................................................................... 24
5.2.1.5. Normal Mode: OTHER (Timeout period selection) ...................................................................... 25
5.2.1.6. Normal Mode: OTHER (Pedometer) ............................................................................................ 26
5.2.1.7. Normal Mode: OTHER (Cap Touch Adjustments) ....................................................................... 27
5.2.1.8. Preparations of using Workbench6 (Connection with PC) ........................................................... 28
5.2.1.9. Preparations of using Workbench6 (USB driver Installation) .................................................... 29
5.2.2. Storage Mode Operations ............................................................................................................... 30
5.2.3. USB Boot Mode Operations ............................................................................................................ 31
5.3. E1 Connection ................................................................................................................................. 32
6.
Notes when using expansion connectors CN3, CN5 and CN6 ....................................................... 33
Website and Support .................................................................................................................................. 34
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 2 of 34
RX231 Group
Human Machine Interface Solution Kit R0K5RX231D000BR
Introduction
Thank you for purchasing the Renesas Electronics Corporation RX231 Human Machine Interface Solution Kit
(R0K5RX231D000BR).
Before using this kit, check the contents of the package as listed in the “Package Contents” section in the release notes
included with the product.
If you have any questions about this produce, contact Renesas Electronics Corporation, Renesas System Designs, or a
licensed distributor.
Related Manuals and Application Notes
Refer to the manuals and application notes listed below as needed when using this product.
RX231 User’s Manual: Hardware (R01UH0496EJ)
http://www.renesas.com/products/mpumcu/rx/rx200/index.jsp
Renesas USB MCU USB Basic Mini Firmware (R01AN 2166EJ)
http://www.renesas.com/products/tools/middleware_and_drivers/c_driver/usb_driver/app_notes.jsp
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 3 of 34
RX231 Group
Human Machine Interface Solution Kit R0K5RX231D000BR
1. Important Notes
Read this document carefully before using this product.
What this product is:
The term “this product” as used in this document refers to the following product manufactured by Renesas
Electronics Corporation. The term “this product” does not include the customer’s user systems or host machines.
a) RX231 Human Machine Interface Solution Kit (R0K5RX231D000BR)
Intended uses:
This product is a demo plus evaluation board product for demonstrating the features of the Renesas Electronics
Corporation RX231 32-bit microcontroller.
This product should only be used for these purposes.
Intended users:
This product should only be used by persons who have read and understood this document. A basic knowledge of
electrical circuits, logic circuits, and microcontrollers is required to use this product.
When using this product:
(1)Renesas assumes no responsibility for the results of customer development projects using this product.
(2)Renesas will, in response to defects or problems found in this produce, either suggest workarounds or repair said
defects, either for a fee or without charge. However, in no case will Renesas guarantee the suggested workaround or
repair.
(3)When this product is used in Japan, it is not subject to laws concerning electrical safety or electromagnetic
interference.
(4)Renesas cannot foresee all possible conditions or usages that have hidden dangers. Therefore, the warnings in this
document and the warnings attached as labels to the product do not cover all cases. The customer must take
responsibility for using this product safely.
(5)This product has not been approved under UL, or any other, safety standards, nor under IEC or other similar
standards. Therefore, if this product is transported outside Japan, the user must be fully aware of this point.
(6)This product may not be included in a user end product for mass production.
(7)If a problem occurs in a device included in this product, Renesas will not replace it with product in which the
device problem has been resolved.
(8)Operation with all connected USB devices is not guaranteed.
(9)The application notes and sample programs provided with this product are all provided for reference purposes
only. Their operation is not guaranteed. These should only be used as reference materials when the customer is
developing their own software.
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 4 of 34
RX231 Group
Human Machine Interface Solution Kit R0K5RX231D000BR
Usage restrictions:
This product may only be used for verifying the functions of the RX231 microcontroller.
Thus it may not be embedded in a customer’s end product for mass production. Furthermore, this product may not
be used for the following development purposes.
1. Transportation or mobile applications
2. Medical applications (equipment on which a human life depends)
3. Aerospace applications
4. Nuclear power control applications
5. Submarine repeater/relay applications
Customers who are considering these types of application should contact Renesas Electronics Corporation,
Renesas System Design, or a licensed distributor.
Product modifications:
Renesas has a policy of continually improving this product. Therefore the specifications, design, and documentation
of this product are subject to change without notice.
Rights:
1. Renesas will accept no responsibility for any damage, or any infringement of patent or any other rights, arising
from the use of any information included in this document, or the use of this product or these circuits.
2. This document does not grant the user any license for patent rights or any other rights belonging to Renesas or
any third party.
3. All rights concerning this document and this product (R0K5RX231D000BR) remain the property of Renesas
Electronics Corporation.
Figures:
Parts of the figures in this document may differ from the actual product.
Guarantee:
Renesas will replace this product without charge if any defect is found within one month of purchase.
In all other cases, this product is provided "as is" and no repair, analysis, etc. are supported.
EMC Directive:

CAUTION
With reference to Directive 2014/30/EU Article 2, clause 2 (e) this is a custom built evaluation kit
destined for professionals to be used solely at research and development facilities for such purposes.
This equipment can cause radio frequency noise when used. In such cases, the user/operator of the
equipment may be required to take appropriate countermeasures under his responsibility.
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 5 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
2. Safety Items
2.1. Definitions of Symbols
A variety of symbols are used in this document and on the product itself to prevent in advance danger to you the
user or any third parties and to prevent in advance damage to any physical property.
This section, Safety Items, presents these symbols and their meanings. It also presents safety notes to assure that
this produce is used safely and correctly.
This product should only be used after fully understanding the material presented in this section.
Warning
Caution
Warning items indicate things that, if not avoided, could lead to death or
serious injury.
Caution items indicate both latent dangers that can lead to minor or
moderately severe injury and latent dangers that can lead to property
damage if not avoided.
In addition to the above two markings, the following are displayed at the same time if appropriate.
[Important] Indicates a point that can lead to equipment failure or malfunction if incorrectly set when setting up this
product.
A triangular mark
indicates a warning or caution.
Example:
Electrical Shock Hazard
The
mark indicates something that is forbidden.
Example:
Do Not Disassemble
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 6 of 34
RX231 Group
Human Machine Interface Solution Kit R0K5RX231D000BR
2.2. Warnings
Warning
Battery related warnings:
Warnings:
Do not use or place batteries near an open flame or fire, near a stove, or in any other hightemperature location. Also, do not disassemble, modify, or directly solder to batteries. These can lead
to leakage of battery fluids, internal heat generation, rupture, or ignition of batteries.
When connecting batteries to this product, do not use unreasonable force if it is difficult to connect the
battery. Always check the battery polarity before connecting. This can lead to leakage of battery
fluids, internal heat generation, rupture, or ignition of the battery.
Do not apply flames or other heat sources to batteries. Batteries may explode if heated.
Do not hammer, nail, or step on batteries. Batteries may explode if mechanical force or shock is
applied.
Do not connect a battery’s plus (+) and minus (−) terminals together with a wire or any object made of
metal. Do not transport or store batteries along with metal objects. These can lead to leakage of
battery fluids, internal heat generation, rupture, or ignition of the battery.
If any battery fluids leak out of the battery and get on your skin or clothes, immediately wash the
battery fluids away completely with water. Battery fluids can cause skin burns and other harm. If any
battery fluid gets in your eyes, it can cause blindness. In the event that battery fluids get in your eyes,
wash your eyes with water thoroughly and seek medical attention immediately.
Do not allow water or other fluids to get onto a battery. This can cause battery heating, the risk of
electrical shock, or failure of the battery. Keep this in mind when considering battery usage location
and handling.
If a battery leaks or emits an unusual odor, immediately remove it from the vicinity of any flame or
spark. A flame or spark may ignite the leaked battery fluid and cause a fire or rupture of the battery.
Handling related warnings:
Do not disassemble or modify this product. Renesas does not guarantee this product if it has
been disassembled or modified.
The power supply for this product can be selected to be either the USB bus or a DC jack. A jumper is
used to select the power supply. Always check the jumper position before connecting a power source.
An incorrect jumper position can lead to leakage of battery fluids, internal heat generation, rupture, or
ignition of battery or damage to this evaluation board itself or any USB connected equipment.
This product does not include any battery charging functionality.
If, during either use or storage of this product, any abnormality in the product itself (including
abnormal odors, heating, color changes, or shape changes to the product itself) are observed,
disconnect the USB cable and power supply cable immediately.
When such an abnormality occurs, it may result in heating, rupture, or ignition of the battery.
Therefore, do not continue using this product. Contact either Renesas Electronics Corporation,
Renesas System Design, or a licensed distributor.
Installation:
Do not install this equipment in a location that has a high humidity or where water or other fluids could get
on it. This equipment may be damaged if water or other fluids could get on it.
Ambient temperature:
The upper limit for the ambient temperature under which this product may be used is 35°C.
This maximum rated ambient temperature must not be exceeded.
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 7 of 34
RX231 Group
Human Machine Interface Solution Kit R0K5RX231D000BR
2.3. Cautions
Caution
Handling:
This product must be handled carefully. Do not drop, knock over, or apply any strong mechanical
shocks to this product.
Do not touch this product’s connectors or component pins with bare hands. Internal components
may be damaged by electrostatic discharge.
When connecting or disconnecting cables from this product, hold the parts of the cable intended
to be grasped (such as the plugs) and avoid putting stress on the cable. Do not pull on this
product when it is connected to a communications cable or user system connection cable. Stress
on the cable can result in internal disconnections in the cable. When connecting a cable to a
connector, be careful not to insert the plug in the reverse orientation. Reverse insertion can result
in damage to this product itself or to connected equipment.
The power supply for this product can be selected from two options (the provided battery box or
the USB cable). The jumper J1 (on the back side of the circuit board) is used to select the power
supply. Always check the jumper position before connecting a power source. An incorrect jumper
position can result in damage to this product or the PC connected over the USB cable.
Do not handle this product with wet hands. This can lead to failure of the product.
Transport methods:
When transporting this product, use the product’s packing box and cushioning materials and ship
it with precision equipment handling. If the products packing is insufficient, it may be damaged
during shipping.
If it must be transported by some other method, pack it carefully as precision equipment.
When packing this product, always use the antistatic pouch included with this product.
If some other pouch is used, damage to the product may be caused by electrostatic discharge.
Abnormal operation:
If operation of this product becomes abnormal due to interference from, for example, external
noise, apply the following procedure.
1. Turn off the power.
2. Wait 10 seconds and then turn the power back on.
Disposal:
When disposing of this product, handle it as industrial waste according to all applicable laws.
To dispose of batteries, follow the instructions of the local government that collects batteries for
disposal or recycling
European Union regulatory notices:
The WEEE (Waste Electrical and Electronic Equipment) regulations put responsibilities on
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”.
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 8 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
3. Specifications
Hardware specifications for R0K5RX231D000BR are shown in Table 3.1 and the functions realized by the product
using the MCU software included in this product are described in general in Table 3.2.
Table 3.1 Hardware Specifications
Item
Catalog number
Power supply
Description
R0K5RX231D000BR
[1]DC jack (J1)
Center plus
[2]USB micro-B (CN2)
Input voltage
3.5V-5.5V
Current drain
Max: 300mA
Dimensions
Remarks
a. Battery box (three AA
batteries)
b. AC adapter (sold separately) *1
c. USB bus-powered
Select [1] or [2] using JP1
jumper.
Refer to 5.1.1 for details.
Main unit: 120 x 70×27mm, Battery box: 70 x 48 x 20mm
Environmental
conditions
Operating: 10 to 35°C, storage: 10 to 50°C
No condensation
Microcontroller
R5F52318ADFP(ROM:512KB, RAM:64KB, 100LQFP)
RX231
RAA7301013CBG
SAIC101
MX25L6433FM2I-08G (64Mbit)
SPI communication
USB Standard-A (CN1)
USB micro-B 8 CN2)
CN3: for wireless module evaluation (24 5602 024 000 829 H+)
CN5,CN6: for function expansion (2.54mm pitch through-hole)
Refer to Note 2, Note 4
Refer to Note 4
E1 connector (CN4)
Refer to section 5.3
Pyroelectric infrared sensor
Detected by SAIC101
Acceleration sensor
Detected by MCU
LCD displays: 1 (16 characters x 2 lines)
LED displays: 2, (LED1 - green, LED2 - orange)
Cap touch (4 buttons, 1 slider)
Mechanical push button (interrupt : SW1, reset: SW3)
Mechanical slide (mode switch: SW2, USB boot: SW4)
1.2 W power amp (TS4990IST)
Playback
Circuit board mounted speaker or earphone jack
(J3, φ3.5mm, monaural)
Capacitor microphone, Op-amp (HA1630D06TELRecording
E)
16-bit audio DAC ((PCM1774RGPT)
40mW+40mW headphone output (J2, φ3.5mm, stereo)
I2C communication
Smart Analog IC
Flash memory
Standard interface
Evaluation interface
Debugging interface
Refer to Note 2
Sensors
Display
Key input
Voice record/playback
(S/W
encoding/decoding)
Music playback
Current measurement
Current measurement of Board power supply (3.2V)
Oscillation device
Oscillator: 16 MHz, 32.768kHz; oscillation (module)
11.2896MHz
Refer to Note 3
Refer to Note 2
Note 1: When using an AC adapter, make sure it meets the following specifications:
Plug shape: external diameter 5.5mm, internal diameter 2.1mm
Electrical specifications: 5V±5%, 0.5A or higher, Center plus
Modifying the software (especially values corresponding to the USB host) will change current consumption as well. Make
sure current specification meets all requirements.
Note 2: Not supported by the standard software included in this product. The user must provide the appropriate software to use this
function.
Note 3: The volume adjustment knobs VR1 and VR2 reduce volume when turned to the left and increase volume when turned to the
right. Turning this knob beyond its normal range of operation will cause damage to the product. Do not use excessive force
when using.
Note 4: Don’t connect USB cable to CN1 and CN2 at the same time. This can lead to failure of the product.
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 9 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
Table 3.2
Function Outline (Software Version: V1.00)
Item
Description
1) Normal mode
Demo applications can be used on the HMI Solution Kit as is.
Connect the board to the user PC with a USB connection to employ
Workbench6 (Integrated Development Environment for Renesas
Capacitive Touch) (Note 1).
Startup modes
(select from three types)
2) Storage mode
The on-board flash memory can be used as a USB memory when
the board and user PC are connected with a USB connection.
Remarks
Select the operating mode at
startup.
Refer to section 5.1.2
3) USB boot mode
MCU’s can be reprogrammed using the Renesas FLASH
Programmer when the board and PC are connected using a USB
connection. (Note 2)
Startup mode descriptions
1) Normal mode
Low-power demo
Voice recording demo
Refer to section 5.2
Refer to section 5.2.1
Low-power operations demonstration using a motion detection sensor
(pyroelectric infrared sensor, acceleration sensor)
・Normal operating state: all board internal power supplies are set to
ON.
If motion is not detected for the set period, the mode goes to lowpower 1 state.
・Low-power 1 state: LCD display back lighting turns off.
If motion is not detected for another set period, the mode goes to
low-power 2.
Returns to normal operating mode when motion is detected.
・Low-power 2 state:Suppresses power consumption for some of the
embedded circuits to a level even lower than low-power 1 state.
Press SW1 to return to normal operating mode.
a. Voice playback
Plays back voice data stored in MCU memory before product
shipment. (Note 3).
Refer to section 5.2.1.1
LCD indicates consumption
current of board’s internal
power supply (3.2V).
Use SW2 to enable/disable
motion detection function of
pyroelectric infrared sensor.
Refer to section 5.2.1.2
b. Voice record/playback
Records up to 10 seconds of voice with on-board microphone, and
plays back recorded voice.
Recorded data is stored in flash memory.
Refer to section 5.2.1.2
a. Time setting
b. Software version confirmation
c. Low-power state transition time selection
d. Pedometer
e. Touch key adjustments
Refer to section 5.2.1.3
Refer to section 5.2.1.4
Refer to section 5.2.1.5
Refer to section 5.2.1.6
Refer to section 5.2.1.7
2) Storage mode
*Same as “Startup modes” above.
Refer to section 5.2.2
3) USB boot mode
*Same as “Startup modes” above.
Refer to section 5.2.3
System controls
Note 1: Refer to Renesas website for details on Workbench6 (Integrated Development Environment for Renesas Capacitive Touch).
http://renesas.com/applications/key_technology/human_interface/touch_sensor_system_2gen/child/technology_child.jsp
Note 2: Refer to Renesas website for details on Renesas FLASH Programmer.
http://www.renesas.com/products/tools/flash_prom_programming/rfp/index.jsp
Note 3: Renesas Electronics Corporation holds all rights to the voice data provided with this product. Use of this voice data anywhere
else is strictly prohibited.
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 10 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
4. Part Names
CN6 (expansion
connector)
Pyroelectric infrared
sensor
LED1 LED2
LCD
JP1 (power supply
select)
1-2: DC jack
2-3: USB micro-B
VR2
(voice volume)
U1 Smart Analog IC
(SAIC101)
U2
RX231
Speaker
SW1 (interrupt)
Acceleration sensor
SW2 (mode
select)
Capacitor microphone
CN5 (expansion
connector)
Cap touch
buttons (4)
CN1 (USB
Standard-A)
Cap touch slider
Top side of board
CN4 (E1 connector)
J2
SW3 (reset)
(stereo jack)
J3
(monaural jack)
CN5 (expansion
connector)
SW4
(USB boot select)
Flash memory
J1(DC jack)
power supply
input
CN3 (expansion
connector)
Audio DAC
CN2 (USB
micro-B)
VR1
(microphone volume)
CN6 (expansion
connector)
Back side of board
Figure 4.1 Circuit Board Part Names
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 11 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
4.1. RX231 and Expansion Connector Pin Assignments
The HMI Solution kit is equipped with expansion connectors (CN3, CN5, and CN6) for function expansion and user
evaluation.
4.1.1.
RX231 Pin Assignments
Table 4.1 RX231 Pin Assignments
Pin
No.
Pin Name (Note 1)
Pin
No.
Pin Name (Note 1)
Pin
No.
Pin Name (Note 1)
Pin
No.
Pin Name (Note 1)
1
VREFH
26
CN5:7
51
PC1
76
CN6:7
2
DA0
27
Test PAD
52
PC0
77
CN6:8
3
VREFL
28
Test PAD
53
SMOSI9
78
CN6:9
4
MTIOC3C
29
Test PAD
54
SMISO9
79
Test PAD
5
VCL
30
USB0_VBUS
55
SCK9
80
Unused pin (Note 2)
6
VBATT
31
Test PAD
56
PB4
81
IRQ5
7
MD/FINE
32
USB0_OVRCURA
57
PB3
82
Test PAD
8
XCIN
33
P13
58
PB2
83
CN5:6
9
XCOUT
34
CN5:3
59
SSDA6
84
PD2
10
RES#
35
VCC_USB
60
VCC
85
IRQ1
11
XTAL
36
USB_DM
61
SSCL6
86
IRQ0
12
VSS
37
USB_DP
62
VSS
87
AN007
13
EXTAL
38
VSS_USB
63
PA7
88
AN006
14
VCC
39
TS15
64
SSIWS0
89
AN005
15
UPSEL
40
TS16
65
PA5
90
AN004
16
CN5:5
41
TS17
66
SSITXD0
91
AN003
17
CN5:4
42
TS18
67
PA3
92
CN5:16
18
USB0_VBUSEN
43
TS19
68
PA2
93
CN5:15
19
CN5:12
44
TS20
69
SSISCK0
94
VREFL0
20
CN5:10
45
UB
70
CN6:10
95
AN000
21
CN5:13
46
TS22
71
CN6:6
96
VREFH0
22
CN5:14
47
TS23
72
CN6:5
97
AVCC0
23
CN5:11
48
TSCAP
73
CN6:4
98
Test PAD
24
CN5:9
49
CN3:10(TXD5)
74
CN6:3
99
AVSS0
25
CN5:8
50
CN3:12(RXD5)
75
AUDIO_MCLK
100
DA1
Note 1: Pin names indicated here are specific to this product.
Names of pins connected to expansion connector CN3 were determined based on the BLE module.
Pins connecting to expansion connectors CN5 and CN6 remain unnamed as they do not have a specific function.
Refer to the RX231hardware manual for explanation of the RX231 pin functions.
Note 2: In product’s default state, the open pin can be wired as CN3:16 by mounting a resistor.
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 12 of 34
RX231 Group
Human Machine Interface Solution Kit R0K5RX231D000BR
Expansion Connector CN3
4.1.2.
The CN3 connector is manufactured by Kyosera (type number: 24 5602 024 000 829 H+).
Table 4.2 CN3 Pin Assignments
Pin
No
Connection Destination
1
DGND
3
Remarks
Digital GND
Pin
No
Connection Destination
Remarks
2
DVCC
-
4
-
5
-
6
-
7
RESET
8
-
9
-
10
U1:49
Assuming TXD5
11
-
12
U1:50
Assuming RXD5
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
DGND
22
-
23
-
24
DVCC
Board reset
Digital power supply (3.2V)
When R48 is mounted: U1:80
(Note 1)
Test PAD
Digital power supply (3.2V)
“-” indicates the pin is not connected.
Note 1: Mount a 0Ω resistor as noted in the comments to connect to signal U1.
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 13 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
Expansion Connectors CN5 and CN6
4.1.3.
CN5 and CN6 are 2.54mm-pitch, double-row through-hole connectors.
Table 4.3 CN5 Pin Assignments
Pin No Connection Destination
1
DVCC
3
Remarks
2
DGND
U1:34
4
U1:17
5
U1:16
6
U1:83
7
U1:26
8
U1:25
9
U1:24
10
U1:20
11
U1:23
12
U1:19
13
U1:21
14
U1:22
15
U1:93
16
U1:92
18
-
20
-
17
-
19
-
Digital power supply (3.2V)
Pin No Connection Destination
When R53 is mounted: U1:91
(Note 1)
Remarks
Digital GND
“-” indicates the pin is not connected.
Note 1: Mount a 0Ω resistor as noted in the comments to connect to signal U1.
Table 4.4 CN6 Pin Assignments
Pin
No
Connection Destination
1
DVCC
3
Remarks
Digital power supply (3.2V)
Pin
No
Connection Destination
Remarks
2
DGND
Digital GND
U1:74
4
U1:73
5
U1:72
6
U1:71
7
U1:76
8
U1:77
9
U1:78
10
U1:70
11
U2:D6
AIN2P-R37-GND (Note 1)
12
U2:C6
AIN2N-R39-GND (Note 1)
13
U2:F4
AIN3P-R40-GND (Note 1)
14
U2:E5
AIN3N-R41-GND (Note 1)
15
U2:F3
ANI4P-R42-GND (Note 1)
16
U2:E4
AIN4N-R43-GND (Note 1)
“-” indicates the pin is not connected.
Note 1: Connected to GND through a 0Ω resistor before shipment (process pin when not in use).
When using this pin, remove resistor as noted in remarks.
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 14 of 34
RX231 Group
Human Machine Interface Solution Kit R0K5RX231D000BR
5. Operating Procedures
5.1. Power Supply at Startup
Make sure you implement the following settings before supplying power to the board.
(1) Select input power supply: DC jack or USB bus power
(2) Select startup mode: normal mode, storage mode, or USB boot mode
5.1.1.
Select Power Supply Input
JP1
■Power input through DC jack:
(battery box or AC adapter)
Short connection between 1 and 2.
JP1
■Power input from USB micro-B:
(supplied from USB host)
Short connection between 2 and 3.
Front side of board
Figure 5.1
5.1.2.
1
2
3
JP1
1
2
3
Power Supply Input Selection (JP1)
Select Startup Mode
■Normal mode:
Set upper 3 bits of SW4 to OFF,
then supply power to board.
OFF
■Storage mode:
Set upper 3 bits of SW4 to OFF,
then supply power to board
while pressing down SW1.
OFF
■USB boot mode:
Set upper 3 bits of SW4 to ON,
then supply power to board.
OFF
SW4
ON
SW1
Front side of board
SW4
ON
SW4
ON
Figure 5.2 起動モードの選択(SW1、SW4)
Back side of board
Figure 5.2
R01AN2585EJ0101_RX231
2015.12.04
SW4
Rev.1.01
*The setting of SW4 lower 1st bit is not related to start-up mode.
Startup Mode Selection (SW1, SW4)
Page 15 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
5.1.3.
Startup Procedure
After setting the power supply as described in section 5.1.1 Select Input Power Supply above, start up the board with
the following procedure. Select the operating mode for the power supply startup according to the description in section
5.1.2 Select Startup Mode, above.
(1) Battery box or AC adapter power supply (JP1: short pins 1-2)
・ Battery box
Place three AA batteries in the battery box.
Insert the battery box plug into the DC jack (J1) on the back side of the board. Set the battery box switch to ON to
turn on the board.
・ AC adapter
The user will need to supply an AC adapter as this kit does include one (Refer to section 3. Specifications).
Insert the AC adapter plug into the DC jack (J1) on the back of the board and the board will immediately turn on.
DC jack (J1) on back of board
Connect the battery box (included in kit) or
AC adaptor (not included).
*The kit does not include batteries and
must be provided by the user.
Figure 5.3
Battery Box or AC Adaptor Connection
(2) USB Host Device Bus Power Supply (JP1: short pin 2-3)
A USB cable is not included in the kit and must be provided by the user. This board is equipped with a micro-B
connector. Insert the cable to the connector, located on the back side of the board. Note: the USB Standard-A
connector located on the top side of the board cannot be used for power supply.
Make sure you have the appropriate connector to fit the USB host device that serves as the power supply source.
Connect the USB cable between the USB host device and the board to start up the board.
USB-microB
Back side of board
Figure 5.4
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
USB host device example: computer
USB Cable Connection
Page 16 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
5.2. Demo Operations
The HMI Solution Kit supports three startup modes (normal mode/storage mode/USB boot mode), as described in
Table 3.2.
This section describes how to operate the HMI Solution Kit in either normal or storage mode using the MCU software
(V1.00) that comes standard with the kit.
To use the product in USB boot mode, refer to the Renesas FLASH Programmer explanation on the Renesas website.
http://www.renesas.com/products/tools/flash_prom_programming/rfp/index.jsp
Normal Mode Operations
5.2.1.
The following describes operations when the board is started up in the normal mode. Refer to section 5.1.2 for
instructions on how to start up the board.
An outline of operations is provided in Figure 5.5, followed by detailed explanations for Demo 1: ECO, Demo 2:
SOUND, and OTHER.
Power supply
startup
*Board startup settings:
SW1=OFF, upper 3 bits of SW4 = OFF
Supplement (Demo 1)
Timeout: select with OTHER (1 min/5 sec)
Human Detection A: Detected though board vibration, SW1 press, or change in ambient temp.
Human Detection B : Detected through board vibration or SW1 press
Initial display
3 second wait
Timeout
Demo 1: ECO
(sensor & low power)
Motion detection A
Timeout
ECO-1
Low-power 1
ECO-2
Low-power 2
Motion detection B
「>>>」
Slide right
「<<<」
Slide left
「>>>」Slide right
「<<<」Slide left
Demo 2: SOUND
(Voice record &
playback)
Select data
with ▲ or ▼
Press [ENT]
to set.
Return with
[BACK]
・Playback pre-set voice data
「<<<」
Slide left
「>>>」
Slide right
REC
・Record voice
・Playback recorded data
Select data
with ▲ or ▼
Press [ENT] to
set.
Data Select
and Talk
Select data
with ▲ or ▼
Press [ENT] to
set.
Record
Playback
Select data
with ▲ or ▼
Press [ENT]
to set.
Return with
[BACK]
OTHER
TALK
Time
Displays/sets time.
Ver
Displays software version.
Timeout
Selects Demo 1 “Timeout.”
(1 minute or 5 seconds)
■Key definitions
▲
BACK
ENT
▼
<<< Slide left
Slide right >>>
Walk
Starts pedometer.
Confirms 5 days of data.
Touch
For cap touch sensitivity adjustments.
Cap touch elements emit sound indicating response.
*This mode returns to OTHER when SW1 is pressed.
Figure 5.5 Outline of Operations in Normal Mode
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 17 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
5.2.1.1.
Low-power demo: Demo1 (ECO)
Demo 1: ECO starts automatically 3 seconds after the board is started up in normal mode.
This function demonstrates the device’s transition to low-power operations triggered by the motion sensor.
When motion is not detected for a set period (1 minute or 5 seconds), the function stops and the device goes to lowpower state (second level).
The pyroelectric infrared sensor used for motion detection senses change within the infrared detection range. Therefore,
the device will not transition to the low-power state if a person is located nearby. To disable detection based on the
pyroelectric infrared sensor, set SW2 to “Mode2” and use appropriately.
(1) Initial display after startup in normal mode
RENESAS RX231
HMI Solution Kit
Demo 1 (ECO) starts automatically after 3 seconds.
SW2 (Note 2)
Mode1
■Demo 1 (ECO) start
Mode2
(2) Normal power
ECO
12:00
Transitions to Demo 1 (ECO)/Demo2 (SOUND)/OTHER
by sliding right [>>>] or left [<<<].
xxxmA
Timeout period (Note 1) passes.
(3) Low-power 1 (Circuit off: LCD backlight)
ECO-1
12:00
xxxmA
LED2:Pyroelectric infrared sensor
LED1:Acceleration sensor
Transitions to “(2) Normal power” triggered by motion detection A
(the following three 3 items below)
・Infrared change (note 2) detected by pyroelectric infrared sensor
・Board vibration detected by acceleration sensor
・SW1 pressed down
Timeout period (Note 1) passes.
(4) Low-power 2 (Circuits off: LCD backlight, touch key, SAIC101, voice amp, microphone power)
ECO-2
12:00
xxxmA
Transition to “(2) Normal power” triggered by motion detection B
(the following 2 items below)
・Board vibration detected by acceleration sensor
・SW1 pressed down
Note 1: Default value of timeout period is 1 minute. Set to 5 seconds with “OTHER.”
Note 2: Set SW2 to “Mode1” to enable pyroelectric infrared sensor.
Figure 5.6 Demo 1: ECO in Normal Mode
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 18 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
5.2.1.2.
Playback of preset voice data, Voice record & playback demo: Demo2 (SOUND)
To run “Demo 2: SOUND,” startup the board in normal mode. After “Demo 1: ECO” starts, use the slider and slide
right [>>>] or left [<<<[ to transition to the desired demo. This demo confirms two voice functions, as follows.
(1) Playback of preset voice recording: Plays back voice data stored in MCU’s internal memory before product
shipment.
(2) Voice record & playback: Records voice with on-board microphone and plays back recorded sound. The board
allows up to two recordings, 10 seconds each. Recorded data is stored in the flash memory.
*(1) and (2) above are realized using Renesas’ proprietary ADPCM Codec Software, available on the Renesas
website: http://www.renesas.com/products/tools/middleware_and_drivers/tiny_soft/adpcm/m3s_s2_tiny/index.jsp
At the time of product shipment, the RX231 software (V1.00) supported the following voice data formats:
Preset voice data channel: monaural, sampling frequency: 16kHz; quantization bit: 16-bit, encoding bit length: 4 bits
Voice recording channel: monaural, sample frequency: 8kHz; quantization bit: 16-bit, encoding bit length: 4 bits
(1) Select Demo 2 (SOUND)
SOUND
TALK
REC
Three seconds after power is turned on:
・Select the screen to the left by sliding right [>>>] and left [<<<].
・Select TALK using ▲/ ▼, then press ENT.
TALK: plays back pre-set audio data (audio data is stored in MCU internal ROM.
REC: Records and plays back voice (audio data is stored in flash memory)
■PLAY: Playback pre-set audio
(2) Select audio data
SOUND
Select
M01
M02
Select audio data for playback.
・Use ▲/ ▼ to select one item data M01 to M10.
・Press ENT to output sound: (3) Now playing
・Press BACK to return to “(1) Select Demo 2 (SOUND).”
M01
The display at left will appear while audio is being played.
・M01 indicates the data currently being played.
・Press SW1 to stop the playback manually.
(3) Now playing.
SOUND
Talking
(4) Playback is finished.
SOUND
Select
M01
M02
When playback is complete, the display returns to
“(2) Select audio data.”
Figure 5.7 Demo 2: SOUND “TALK (playback pre-set data)” in Normal Mode
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 19 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
Table 5.1 Pre-set Phrases (voice data)
Display No.
M01
M02
M03
M04
M05
M06
M07
M08
M09
M10
Phrase (Japanese)
いらっしゃいませ。
ルネサスブースにようこそ。
係員を呼んでください。
指示に従い操作してください。
扉が開いています。
おつりが出ます。
雨が降ってきました。
お湯が沸きました。
ご利用ありがとうございます。
またお越しください。
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Remarks (English)
Welcome.
Welcome to the Renesas booth.
Please call the person in charge.
Please follow the instructions.
The door is open.
Your change will be issued.
It has started to rain.
The hot water is ready.
Thank you.
Please come again.
Page 20 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
(1) Select Demo 2 (SOUND)
SOUND
TALK
REC
■REC: voice record & playback
(2) Select record/playback [Record]
SOUND
Rec
RecStart
NoData
TALK: plays back pre-set audio data (audio data is stored in MCU internal ROM.
REC: Records and plays back voice (audio data is stored in flash memory)
*Refer to next page for Select record/playback [Playback].
SOUND RecStart
Rec
Playback
・Use ▲/▼ to select [RecStart].
If there is not audio data, the only selectable item is [RecStart].
・Press [ENT] to bring up the “(3) Select audio data” display.
・ Press [BACK] to return to “(1) Select Demo 2 (SOUND).”
(3) Select audio data
SOUND
Select
Three seconds after power is turned on:
・Select the screen to the left by sliding to right [>>>] or left [<<<].
・Select REC with ▲/ ▼, then press [ENT].
Voice1
Voice2
・Use ▲/▼ to select Voice1/Voice2.
・Press [ENT[ to start recording.
(4) Now recording.
SOUND
Recording
10
・Remaining recording time (sec) is displayed at
upper right while recording.
・Recording time for each data is fixed at 10 seconds.
・Press SW1 to cancel while recording.
Data will not be saved, and display returns to “(3) Select audio data”.
(5) After recording is complete.
SOUND RecStart
Rec
Playback
When recording is complete, display returns to “(2) Select record/playback.”
Figure 5.8 Demo 2: SOUND “REC: record & playback voice” (record) in Normal Mode
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 21 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
(1) Select Demo 2 (SOUND)
SOUND
TALK
REC
Three seconds after power is turned on:
・Select the screen to the left by sliding right [>>>] or left [<<<].
・Select REC with ▲/ ▼, then press [ENT].
TALK: plays back pre-set audio data (audio data is stored in MCU internal ROM.
REC: Records and plays back voice (audio data is stored in flash memory)
■REC: voice record & playback
(2) Select record/playback [Playback].
SOUND RecStart
Rec
NoData
*Playback cannot be selected if there is no recorded data.
(3) Select playback data.
SOUND
Select
Voice1
Voice2
SOUND RecStart
Rec
Playback
・Use ▲/▼ to select “Playback”.
Playback cannot be selected If there is no recorded.
・Press [ENT] to bring up the “(3) Select audio data” display.
・ Press [BACK] to return to “(1) Select Demo 2 (SOUND).”
・Use ▲/▼ to select Voice1 or Voice2.
Data that has not been recorded cannot be selected.
・ Press [ENT] to begin playback.
(4) Now playing.
SOUND
Rec
Playing
・Remaining playback time (sec) is displayed at
upper right while recording.
・Playback time for each data is fixed at 10 seconds.
・ Press SW1 to stop during playback.
(5) After playback is complete.
SOUND RecStart
Rec
Playback
When playback is done, display returns to “(2) Select record/playback.”
・Refer to “(2) Select record/playback” above.
Figure 5.9 Demo 2: SOUND “REC: record & playback voice” (playback) in Normal Mode
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 22 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
5.2.1.3.
Normal Mode: OTHER (Time setting)
(1) Select OTHER.
OTHER
Time
Ver
Three seconds after power is turned on:
・Select the screen to the left by sliding right [>>>] or left [<<<].
・Select TIME with ▲/ ▼, then press [ENT].
Time: Sets clock, based on a 24-hour clock
Ver: Displays version
Timeout: Selects timeout period (1 min/5 sec) for “Demo 1 (ECO).
Walk: Pedometer
Touch: Touch key adjustments
(2 Set “hour.”
OTHER
12:00
Time setting
・Set the hour (blinking) with ▲/ ▼.
・ Press [ENT] to fix the hour, then continue on to set the minutes.
(3 ) Set “minutes.”
OTHER
12:00
Time setting
・ Set the minutes (blinking) with ▲/ ▼.
・ Press [ENT] to fix the minutes and complete the setting.
・ The clock will start running from 0 seconds at the set time.
・ Press BACK to return to “(1) Select OTHER.”
(4) Time setting is complete.
OTHER
Time
Ver
・After the setting is completed, the display returns to
the initial “(1) OTHER” screen.
Figure 5.10 OTHER (time setting) in Normal Mode
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 23 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
5.2.1.4.
Normal Mode: OTHER (Version Display)
(1) Select OTHER.
OTHER
Time
Ver
Three seconds after power is turned on:
・Select the screen to the left by sliding right [>>>] or left [<<<].
(2) Select “VER.”
OTHER
Ver
Timeout
・Select VER with ▲/ ▼, then press ENT.
Time: Sets the clock, based on a 24-hour clock.
Ver: Displays version
Timeout: Selects timeout period (1 min./5 sec) for Demo 1 (ECO)
Walk: Pedometer
Touch: Cap touch sensitivity adjustments
(3) Display ”Version.”
OTHER Ver 1.00
Version
・Displays version.
・Pressing [ENT] does not change anything.
(4) “VER” display is completed.
OTHER
Ver
Timeout
Figure 5.11
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
・Press [BACK] to return to “(2)” screen.
Normal Mode: OTHER (Version Display)
Page 24 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
5.2.1.5.
Normal Mode: OTHER (Timeout period selection)
(1) Select OTHER
OTHER
Time
Ver
Three seconds after power is turned on:
・Select the screen to the left by sliding right [>>>] or left [<<<].
(2) Select TIMEOUT
OTHER
Timeout
Walk
・Select TIMEOUT with ▲/ ▼, then press [ENT].
Time: Sets clock, based on a 24-hour clock.
Ver: Displays version
Timeout: Selects time for Demo 1 (ECO) Timeout (1 min./5 sec)
Walk: Pedometer
Touch: Cap touch sensitivity adjustments
(3) Select TIMEOUT period.
OTHER
Timeout
1min
5sec
・Select TIMEOUT with ▲/ ▼
・Press [ENT].
(4) TIMEOUT completed.
OTHER
Timeout
Walk
・Returns to “(2)” screen.
Figure 5.12 OTHER (Timeout period selection) in Normal Mode
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 25 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
5.2.1.6.
Normal Mode: OTHER (Pedometer)
(1) Select OTHER
OTHER
Time
Ver
Three seconds after power is turned on:
・Select the screen to the left by sliding right [>>>] or left [<<<].
(2) Select ”WALK.”
OTHER
Walk
Touch
・Select WALK with ▲/ ▼, then press [ENT].
Time: Sets clock, based on a 24-hour clock
Ver: Displays version
Timeout: Selects timeout period (1 min/5 sec) for Demo 1 (ECO).
Walk: Pedometer
Touch: Cap touch sensitivity adjustments
(3) Pedometer starts operating.
OTHER
Walk
today
xxxxxCnt
Initiates pedometer operations.
・”xxxxx” indicates number of steps (max. 65535).
・ Display previous 5 days of recorded data using ▲ /▼.
today, -1day, -2day, -3day, -4day, -5day
・[ENT] is disabled.
・Press BACK to stop pedometer.
(4) ”WALK” operations ended.
OTHER
Walk
Touch
・Returns to “(2)” screen.
Figure 5.13 OTHER (Pedometer) in Normal Mode
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 26 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
5.2.1.7.
Normal Mode: OTHER (Cap Touch Adjustments)
(1) Select OTHER.
OTHER
Time
Ver
Three seconds after power is turned on:
・Select the screen to the left by sliding right [>>>] or left [<<<].
(2) Select ”TOUCH.”
OTHER
Touch
Time
・Select TOUCH with ▲/ ▼, then press ENT.
Time: Sets clock, based on a 24-hour clock.
Ver: Displays version
Timeout: Selects time for Demo 1 (ECO) Timeout (1 min./5 sec)
Walk: Pedometer
Touch: Cap touch sensitivity adjustments
(3) Touch key sensory adjustment state
OTHER
Touch Adj.
In this state, cap touch elements cannot be used to move to
another function.
Cap touch detection is triggered by key sound.
*If no key sound is emitted, nothing is detected.
Cap touch sensitivity adjustments are made with
Capacitive Touch IDE Workbench 6 (Note 1).
・Press SW1 to finish adjustments.
(4) ”TOUCH” adjustments completed.
OTHER
Touch
Time
・Returns to “(2)” screen.
Figure 5.14 OTHER (cap touch adjustments) in Normal Mode
Note 1. Refer to the Renesas website for details on Workbench6(Integrated Development Environment for Renesas
Capacitive Touch).
http://renesas.com/applications/key_technology/human_interface/touch_sensor_system_2gen/child/technology_child.jsp
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 27 of 34
RX231 Group
5.2.1.8.
Human Machine Interface Solution Kit R0K5RX231D000BR
Preparations of using Workbench6 (Connection with PC)
Refer to the Renesas website for details on Workbench6(Integrated Development Environment for Renesas Capacitive
Touch).
http://renesas.com/applications/key_technology/human_interface/touch_sensor_system_2gen/child/technology_child.jsp
■USB cable connection
Connect the Kit board and host PC with a USB cable .
The USB-microB connector is located the back side of the board.
A power supply is chosen in SW1. (USB or DC-Jack)
USB-microB
Back side of board
PC
Figure 5.15 Connection of USB cable with PC
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 28 of 34
RX231 Group
5.2.1.9.
Human Machine Interface Solution Kit R0K5RX231D000BR
Preparations of using Workbench6 (USB driver Installation)
1. Follow the procedure below when Windows asks for driver installation. (This example uses Windows 7.)
Installation method specification dialogue.
2. Specify “CDC_rx231hmi_demo.inf” location.
(Designate a place of "CDC_rx231hmi-demo.inf")
3. A warning dialogue will appear; ignore and press “Continue”.
4. When completion dialogue appears, driver installation is complete.
Figure 5.16 USB Driver Installation
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 29 of 34
RX231 Group
5.2.2.
Human Machine Interface Solution Kit R0K5RX231D000BR
Storage Mode Operations
This section describes how to use the HMI Solution Kit in storage mode. For instructions on how to start up the board
in storage mode, Refer to section 5.1.2.
(1) Startup in storage mode
Set SW4 to the following and then supply power to the board.
■Storage mode
SW4
Set the upper 3 bits of SW4 to OFF. OFF ON
SW4 location
*The setting of the lowest SW4 bit is not related to the startup mode.
Back side of board
Turn on power while pressing SW1 down. Release SW1 after the screen in (2) below appears.
*For USB bus-power, connect the USB cable while pressing SW1 down.
SW1
USB-microB
Back side of board
PC
(2) LCD display during storage mode
The board is recognized by the PC as a USB memory.
・This memory can’t write and erase from PC.
・The board’s on-board serial flash is used as memory.
・Recorded audio data is stored in the flash memory (Note 1).
・LED1 (green) blinks when a file is accessed.
Storage
Read Only
*Note 1. The extension for audio data is “dat”.
Audio data is to convert it to a wav file by Renesas ADPCM change tool, and it can be played on the PC.
Figure 5.17 Storage Mode Operations
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 30 of 34
RX231 Group
5.2.3.
Human Machine Interface Solution Kit R0K5RX231D000BR
USB Boot Mode Operations
This section describes how to use the HMI Solution Kit in USB boot mode. For instructions on how to start up the
board, Refer to section 5.1.2.
USB boot mode is an MCU function that enables a program to be downloaded via a USB cable. The Kit board is equipped with a
switch for starting up operations in USB boot mode. You will need a Renesas FLASH Programmer to use this mode. Visit the
Renesas website for more details.
http://www.renesas.com/products/tools/flash_prom_programming/rfp/index.jsp
(1) Startup in USB boot mode
Set SW4 as shown below and then supply power to the board.
■USB boot mode
Set the upper 3 bits of SW4 to ON,
then supply power.
SW4
OFF
ON
SW4 location
*The setting of the lowest SW4 bit is not related to the startup mode.
Back of board
(2) USB cable connection
Connect the Kit board and host PC with a USB cable .
The USB-microB connector is located the back side of the board.
A power supply is chosen in SW1. (USB or DC-Jack)
USB-microB
Back side of board
PC
Figure 5.18 Operations in USB Boot Mode
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 31 of 34
RX231 Group
Human Machine Interface Solution Kit R0K5RX231D000BR
5.3. E1 Connection
Connect the E1 Emulator to rewrite or debug RX231 programs.
(1) Make sure the board’s power is turned off.
(2) Connect the E1 cable to CN4 on the board.
Confirm the location of the polarizing key first to avoid mis-insertion.
Refer to the usage manuals included with E1 and the development environment for instructions on how to use E1.
When supplying power from E1, turn off the board’s power supply (DC jack or USB). The safest way is to cut off
power input from both the DC jack and USB bus is by removing JP1.
Insert the E1 cable in accordance with the polarizing key to prevent mis-insertion.
Back side of board
Figure 5.19
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
E1 Connection Diagram
Page 32 of 34
RX231 Group
Human Machine Interface Solution Kit R0K5RX231D000BR
6. Notes when using expansion connectors CN3, CN5 and CN6
Please confirm the pin assignments when using expansion connectors CN3, CN5 and CN6. (Refer to section 4.1)
Because the connector CN3 is assumed to connect to BLE wireless communication module, either this board or BLE
module board is needed to modify if the pin assignments are different.
An example of "RESET" signal modification is shown in Figure 6.1.
Please remove the resistance R49 if do not use "RESET" signal.
Figure 6.1
Example of CN3 signal modification (For using case of Renesas RTK0EN0002C01001BZ)
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 33 of 34
Human Machine Interface Solution Kit R0K5RX231D000BR
RX231 Group
Website and Support
Renesas Electronics Website
http://www.renesas.com/
USB Device Website
http://www.renesas.com/applications/key_technology/connectivity/usb/index.jsp
Inquiries
http://www.renesas.com/contact/
All trademarks and registered trademarks are the property of their respective owners.
R01AN2585EJ0101_RX231
2015.12.04
Rev.1.01
Page 34 of 34
Revision Record
Rev.
Date
1.00
1.01
2015.08.05
2015.12.04
Page
33
Description
Summary
First edition issued
Added section 6
A-1
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 the products covered by this document, refer to the relevant
sections of the document as well as any technical updates that have been issued for the
products.
1. Handling of Unused Pins
Handle unused pins in accordance 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 the product 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 a product with a different part number, confirm
that the change will not lead to problems.
 The characteristics of an MPU or MCU in the same group but having a different part number
may differ in terms of the internal memory capacity, layout pattern, and other factors, which can
affect the ranges of electrical characteristics, such as characteristic values, operating margins,
immunity to noise, and amount of radiated noise. When changing to a product with a different
part number, implement a system-evaluation test for the given product.
Notice
1.
Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples. You are fully responsible for
the incorporation of these circuits, software, and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the
use of these circuits, software, or information.
2.
Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics does not warrant that such information is error free. Renesas Electronics
3.
Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or
assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein.
technical information described in this document. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics or
others.
4.
You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part. Renesas Electronics assumes no responsibility for any losses incurred by you or
5.
Renesas Electronics products are classified according to the following two quality grades: "Standard" and "High Quality". The recommended applications for each Renesas Electronics product depends on
third parties arising from such alteration, modification, copy or otherwise misappropriation of Renesas Electronics product.
the product's quality grade, as indicated below.
"Standard": Computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment; home electronic appliances; machine tools; personal electronic
equipment; and industrial robots etc.
"High Quality": Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-crime systems; and safety equipment etc.
Renesas Electronics products are neither intended nor authorized for use in products or systems that may pose a direct threat to human life or bodily injury (artificial life support devices or systems, surgical
implantations etc.), or may cause serious property damages (nuclear reactor control systems, military equipment etc.). You must check the quality grade of each Renesas Electronics product before using it
in a particular application. You may not use any Renesas Electronics product for any application for which it is not intended. 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 Electronics product for which the product 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 to the maximum rating, operating supply voltage
range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or damages arising out of the
use of Renesas Electronics products beyond such specified ranges.
7.
Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and
malfunctions under certain use conditions. Further, Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measures to guard them against the
possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas Electronics product, such as safety design for hardware and software including but not limited to
redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult,
please evaluate the safety of the final products or systems manufactured by you.
8.
Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental 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 substances, including without limitation, the 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 used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or
regulations. You should not use Renesas Electronics products or technology described in this document for any purpose relating to military applications or use by the military, including but not limited to the
development of weapons of mass destruction. When exporting the Renesas Electronics products or technology described in this document, you should comply with the applicable export control laws and
regulations and follow the procedures required by such laws and regulations.
10. It is the responsibility of the buyer or distributor of Renesas Electronics products, who distributes, disposes of, or otherwise places the product with a third party, to notify such third party in advance of the
contents and conditions set forth in this document, Renesas Electronics assumes no responsibility for any losses incurred by you or third parties as a result of unauthorized use of Renesas Electronics
products.
11. This document may not be reproduced or duplicated in any form, in whole or in part, without prior written consent of Renesas Electronics.
12. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products, or if you have any other inquiries.
(Note 1)
"Renesas Electronics" as used in this document means Renesas Electronics Corporation and also includes its majority-owned subsidiaries.
(Note 2)
"Renesas Electronics product(s)" means any product developed or manufactured by or for Renesas Electronics.
http://www.renesas.com
SALES OFFICES
Refer to "http://www.renesas.com/" for the latest and detailed information.
Renesas Electronics America Inc.
2801 Scott Boulevard Santa Clara, CA 95050-2549, U.S.A.
Tel: +1-408-588-6000, Fax: +1-408-588-6130
Renesas Electronics Canada Limited
9251 Yonge Street, Suite 8309 Richmond Hill, Ontario Canada L4C 9T3
Tel: +1-905-237-2004
Renesas Electronics Europe Limited
Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K
Tel: +44-1628-585-100, Fax: +44-1628-585-900
Renesas Electronics Europe GmbH
Arcadiastrasse 10, 40472 Düsseldorf, Germany
Tel: +49-211-6503-0, Fax: +49-211-6503-1327
Renesas Electronics (China) Co., Ltd.
Room 1709, Quantum Plaza, No.27 ZhiChunLu Haidian District, Beijing 100191, P.R.China
Tel: +86-10-8235-1155, Fax: +86-10-8235-7679
Renesas Electronics (Shanghai) Co., Ltd.
Unit 301, Tower A, Central Towers, 555 Langao Road, Putuo District, Shanghai, P. R. China 200333
Tel: +86-21-2226-0888, Fax: +86-21-2226-0999
Renesas Electronics Hong Kong Limited
Unit 1601-1611, 16/F., Tower 2, Grand Century Place, 193 Prince Edward Road West, Mongkok, Kowloon, Hong Kong
Tel: +852-2265-6688, Fax: +852 2886-9022
Renesas Electronics Taiwan Co., Ltd.
13F, No. 363, Fu Shing North Road, Taipei 10543, Taiwan
Tel: +886-2-8175-9600, Fax: +886 2-8175-9670
Renesas Electronics Singapore Pte. Ltd.
80 Bendemeer Road, Unit #06-02 Hyflux Innovation Centre, Singapore 339949
Tel: +65-6213-0200, Fax: +65-6213-0300
Renesas Electronics Malaysia Sdn.Bhd.
Unit 1207, Block B, Menara Amcorp, Amcorp Trade Centre, No. 18, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia
Tel: +60-3-7955-9390, Fax: +60-3-7955-9510
Renesas Electronics India Pvt. Ltd.
No.777C, 100 Feet Road, HALII Stage, Indiranagar, Bangalore, India
Tel: +91-80-67208700, Fax: +91-80-67208777
Renesas Electronics Korea Co., Ltd.
12F., 234 Teheran-ro, Gangnam-Gu, Seoul, 135-080, Korea
Tel: +82-2-558-3737, Fax: +82-2-558-5141
© 2015 Renesas Electronics Corporation. All rights reserved.
Colophon 5.0
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement