This book is an instruction manual for the hardware used with evaluation board R0K866597D020BR, which operates
the USB Host function and peripheral function.
11. Parts Layout Diagram .....................................................................................................................25
12. Parts List .........................................................................................................................................25
R19AN0005EJ0100 Rev.1.00 Page 1 of 26
Jan 10, 2012
Page 2
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
1. Preface
The R0K866597D020BR is the evaluation board of the USB Host function and built-in functions. This instruction
manual explains how to setup up and operate the related hardware and offers cautionary notes concerning usage.
All components of the R0K866597D020BR are listed under “Table 6.2 Assembly Components and Quantity.” If you
have any question about the R0K866597D020BR, contact your local distributor.
R19AN0005EJ0100 Rev.1.00 Page 2 of 26
Jan 10, 2012
Page 3
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
2. Important
Before using this product, be sure to read this user’s manual carefully.
Keep this user’s manual, and refer to it when you have questions about this product.
Product:
"Product" in this document collectively refers to the following products manufactured by Renesas Electronics
Corporation
(1) R8A66597FP USB Evaluation Board R0K866597D020BR
"Product" herein encompasses neither the customer's user system nor the host machine.
Purpose of use of the product:
This product is a device to support the development of systems that uses the R8A66597FP. It provides support for
system development in both software and hardware.
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 read 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 finished 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. However, this does not necessarily 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) The product covered by this document has not been through the process of checking conformance with UL or other
safety standards and IEC or other industry standards. This fact must be taken into account when the product is
taken from Japan to some other country.
(7) This product is a product used for development of a program, and an evaluation stage. It cannot include in a user's
product and cannot mass-produce.
(8) Even if it is the case where fault is in the device carried in this product, it does not exchange for the fault repair
article of a device.
(9) Operation of all USB peripheral devices cannot be guaranteed.
(10) The sample programs of this product are all references, and no one to guarantee the operation. Please use this
sample program as a technological reference when customer's software is developed.
R19AN0005EJ0100 Rev.1.00 Page 3 of 26
Jan 10, 2012
Page 4
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
Usage restrictions:
This product has been developed as a means of supporting system development by users. 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 involvement 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 constantly making efforts to improve the design and performance of our product. Therefore, the
specification or design of the 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 otherwise grant 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 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 consent from Renesas.
About diagrams:
Some diagrams in this user’s manual may differ from the objects they represent.
Warranty:
Renesas will exchange this board free of charge only due to manufacturing defects.
R19AN0005EJ0100 Rev.1.00 Page 4 of 26
Jan 10, 2012
Page 5
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
3. Precautions for Safety
3.1. Definitions of Signal Words
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 dangerous 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 to indicate additional precautions.
[Notice] Point out the attention for the malfunction by wrong setting.
means WARNING or CAUTION.
Example:
CAUTION AGAINST AN ELECTRIC SHOCK
means PROHIBITION.
Example:
DISASSEMBLY PROHIBITED
●means A FORCIBLE ACTION.
Example:
UNPLUG THE POWER CABLE FROM THE RECEPTACLE.
R19AN0005EJ0100 Rev.1.00 Page 5 of 26
Jan 10, 2012
Page 6
3.2. Warning
Warnings for Power Supply:
If you connect the attached power cable with the stabilized power supply, be sure to connect it with the
appropriate polarity (the red cable is connected to the power line. The black cable is connected to the
ground).
Use this product within the appropriate voltage range. This product does NOT have a built in over voltage
protection.
Do not touch the plug of the power cable when your hands are wet. This may cause electric shock.
If you need to use an AC adaptor, please confirm the connector shape, voltage and polarity. In addition,
use an AC power cable which complies with the safety standard of the country.
Do NOT use the power supply function on the emulator, when both the emulator and another power supply
are connected to this product at the same time.
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
WARNING
When installing this equipment, insure that a reliable ground connection is maintained.
If you smell a strange odor, hear an unusual sound, or see smoke coming from this product, then
disconnect power immediatelyDo not use this as it is because of the danger of electric shock and/or fire. In
this case, contact your local distributor.
Before setting up this product and connecting it to other devices, turn off power or remove a power cable
to prevent injury or product damage.
Warnings to Be Taken for Handling:
Do not break down this product. Breaking down the product will void your warranty.
Warning for Installation:
Do not set this product in water or areas of high humidity. Make sure that the product does not get wet.
Spilling water or some other liquid into the product may cause un-repairable damage.
Warning for Use temperature:
This equipment is to be used in an environment with a maximum ambient temperature of 35°C.
Care should be taken that this temperature is not exceeded.
R19AN0005EJ0100 Rev.1.00 Page 6 of 26
Jan 10, 2012
Page 7
R8A66597 USB Evaluation Board R0K866597D020BR
3.3. Caution
Cautions to Be Taken for Handling This Product:
Use caution when handling the product. Be careful not to apply a mechanical shock.
Do not touch the connector pins of this product directly. Static electricity may damage the internal
Note on Transporting the Product:
circuits.
When attaching and removing the cable, hold the plug of the cable and do not pull on the cable. Do not
pull this product by the communications interface cable. Excessive flexing or force may break
conductors.
When you connect an external board to this product through test pins, be careful not to short signal lines
or between power line and ground. If this product is revised by the user, operation cannot be guaranteed.
When sending your product for repair, use the packing box and cushioning material supplied with the
product when it was delivered 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. If you use a
different bag, it may lead to further trouble with your product due to static electricity.
Hardware Instruction Manual
CAUTION
Caution to Be Taken for Disposal:
Penalties may be applicable for incorrect disposal of this waste, in accordance with your national
legislation.
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
”.
R19AN0005EJ0100 Rev.1.00 Page 7 of 26
Jan 10, 2012
Page 8
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
4. Function Overview
4.1. Overview
The R0K866597D020BR is an evaluation board for the Renesas Hi-Speed USB ASSP R8A66597FP. Two USB-A
receptacles are mounted on the board for evaluation of USB host operations using USB port0 and USB port1 of
R8A66597. CN1 can be used for evaluation of USB peripheral operations. Please refer to the data sheet “USB2.0 Dual
Function Controller R8A66597FP” for detailed specifications of the R8A66597.
The model name, package and package description of the chip that is mounted on the board is as follows:
(1) Evaluate the system by connecting this board and a control board using the interface connector of this board.
(2) A solder pattern is prepared on the USB signal lines for chip common mode choke coils. For EMI suppression
evaluation.
(3) A solder pattern is prepared on the USB signal lines for ESD protection devices. For ESD protection evaluation.
(4) Supply 3.3V or 1.8V to the interface power VIF of R8A66597FP.
(5) Test R8A66597FP's functions (excluding split bus) by connecting with Renesas Starter Kits
*1: Renesas Starter Kits are the latest development from Renesas in low-cost evaluation development toolkits.
*1
board.
(6) Supply 5V, 500mA to the VBUS.
4.2. Related Data Sheets and Application Notes
The R8A66597FP comes with “USB Sample Firmware” for evaluation. For details, please contact Renesas Electronics,
your distributor, or check the information on the homepage below.
(Specification of all connectors : 2.54mm pitch, dual straight header, male type)
USB Receptacle (Type A, DIP, normal) * 2
JA3CN4
Board Specifications
Specifications
98 mm × 88 mm
JP13
WR1SEL
JA1
JP14
WR0SEL
JP8
CSSEL
JP10
DC5VSEL
R19AN0005EJ0100 Rev.1.00 Page 9 of 26
Jan 10, 2012
Page 10
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
Table 6.2 Assembly Components and Quantity
Evaluation board ( R0K866597D020BR ) 1
Power supply cable ( incl. 2P connector ) 1
Table of Toxic and Hazardous Substance and Elements 1
Release Note ( English ) 1
Release Note ( Japanese ) 1
Component Name QTY
6.1. Connector Description (View from R8A66597)
Connectors JA1, JA2, JA4 and JA6 provide all bus interface pins of the chip, such as processor bus interface
and DMA interface. Therefore, these pins provide the same pin characteristics of the R8A66597FP such as
electric characteristic, I/O direction, and functions except for the signal with *. Note: All pins on JA5 are
unconnected.
The following table shows the pin number and function correspondences.
Table 6.1.1 Connector Description (View from R8A66597)
Pin Description of
R8A66597FP
D15〜8
D7/AD7〜D1/AD1
D0 JA3 17
A6〜1
A7/ALE JA3 8
WR0_N* JA3 48
WR1_N* JA3 47
RD_N* JA3 25
CS_N* JA3 27 (In case of CS1)
RST_N*** JA2 1
DREQ0_N, JA6 1
DACK0_N** JA6 2
INT_N JA2 7
DEND0_N JA6 3
VDD(EX_VCC) JA1 3
GND JA1 2,4
GND JA2 4
NC JA1
NC JA2
NC JA3
NC JA5
NC JA6
*: Pulled up with 10kΩ
**: Pulled up 1MΩ
***: Connected to GND with 0.1µF
Connector Pin Number of Connector Function of R8A66597FP
JA3
JA3
JA3
36〜29 (D15〜8)
24〜18 (D7/AD7〜
D1/AD1)
7〜2
5〜22,24〜26
2,3,5,6,8,10〜22,24〜26
1,9〜16,26,28,37〜
46,49.50
1〜24
2〜24
Data bus (I/O)
Multiplex bus (I/O)
Data bus (I/O)
Address bus (I)
Address bus or ALE (I/I)
Write strobe (I)
Write strobe (I)
Read strobe (I)
Chip select (I)
Reset (I)
DMA request (O)
DMA acknowledge (I)
Interrupt (O)
End of DMA transfer (I/O)
Power supply (3.3V) (I)
GND
GND
Unused pin
Unused pin
Unused pin
Unused pin
Unused pin
R19AN0005EJ0100 Rev.1.00 Page 10 of 26
Jan 10, 2012
Page 11
R8A66597 USB Evaluation Board R0K866597D020BR
6.2. Connector Description (View from RSK board)
There are five connecters (JA1, JA2, JA4, JA5, and JA6) to connect with RSK boards.
The following table shows the pin number and function correspondences of RSK boards.
R19AN0005EJ0100 Rev.1.00 Page 11 of 26
Jan 10, 2012
Page 12
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
Table 6.2.2 JA2Expansion connector
Pin# Functions Name I/O
Reset RESET I RST_N
1
External Clock Input EXTAL I
2
Non-Maskable Interrupt NMI I
3
GND GND - GND
4
WDT Overflow WDT_OVF O
5
Serial port transmit SCIaTX O
6
External interrupt request IRQ0 I
7
M1_HSIN0 M1_HSIN0 I
Serial port receive SCIaRX I
8
External interrupt request IRQ1 I
9
M1_HSIN1 M1_HSIN1 I
Serial Port Clock SCIaCK I/O
10
Motor control 1
11
Up/Down count
Serial port handshake CTSRTS I/O
12
Motor control 1
three-phase PWM
13
output 1 positive
Motor control 1
three-phase PWM
14
output 1 negative
Motor control 1
three-phase PWM
15
output 2 positive
Motor control 1
16
three-phase PWM
output 2 negative
Motor control 1
17
three-phase PWM
output 3 positive
Motor control 1
18
three-phase PWM
output 3 negative
Timer output TMR0 O
19
Timer output TMR1 O
20
Timer input TRIGa I
21
Timer input TRIGb I
22
External interrupt request IRQ2 I
Reset on Index
23
(Motor Control)
M1_HSIN2 M1_HSIN2 I
M1_UD I
M1_Up O NC
M1_Un O NC
M1_Vp O NC
M1_Vn O NC
M1_Wp O
M1_Wn O NC
M1_EncZ I
Pin# of
R8A66597
NC
NC
NC
NC
INT_N
NC
NC (SOF_N) Default = NC
Can be connected with Jumper
Pin
NC
NC
NC
NC
NC
NC
NC
NC
NC (INT_N) Default = NC
Can be connected with Jumper
Pin
Notes
24 Motor Control 1 POE M1_POE I NC
Motor Control 1
25
TRCCLK
Motor Control 1
26
TRDCLK
R19AN0005EJ0100 Rev.1.00 Page 12 of 26
Jan 10, 2012
M1_TRCC
LK
M1_TRDC
LK
I
I
NC
NC
Page 13
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
Table 6.2.3 JA3Expansion connector
Pin# Functions Name I/O
1 Address signal A0 O NC
Address signal A1 O A1
2
Address signal A2 O A2
3
Address signal A3 O A3
4
Address signal A4 O A4
5
Address signal A5 O A5
6
7 Address signal A6 O A6
Address signal A7 O A7
8
9 Address signal A8 O NC
Address signal A9 O
10
Address signal A10 O
11
Address signal A11 O
12
Address signal A12 O
13
Address signal A13 O
14
Address signal A14 O
15
Address signal A15 O
16
Data signal D0 I/O D0
17
Data signal D1 I/O D1
18
Data signal D2 I/O D2
19
Data signal D3 I/O D3
20
Data signal D4 I/O D4
21
Data signal D5 I/O D5
22
23 Data signal D6 I/O D6
24 Data signal D7 I/O D7
25 Data read RDn O RD_N
Data write WRn O
26
SDRAM Write Enable WEn O
27 Chip select CSa O CS_N
Chip select CSb O NC(CS_N) Default = NC
28
29 Data signal D8 I/O D8
Data signal D9 I/O D9
30
Data signal D10 I/O D10
31
Data signal D11 I/O D11
32
Data signal D12 I/O D12
33
Data signal D13 I/O D13
34
Data signal D14 I/O D14
35
Data signal D15 I/O D15
36
Address signal A16 O
37
Address signal A17 O
38
Address signal A18 O
39
Address signal A19 O
40
SDRAM Bank 0 B0 O
Address signal A20 O
41
SDRAM Bank 1 B1 O
Address signal A21 O
42
SDRAM Bank 2 B2 O
Pin# of
R8A66597
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
Notes
Can be connected with Jumper
Pin
R19AN0005EJ0100 Rev.1.00 Page 13 of 26
Jan 10, 2012
Page 14
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
Address signal A22 O
43
SDRAM Bank 3 B3 O
44 Clock output SDCLK O NC
Chip select CSc O
45
Wait Wait O
Address line enable ALE O
46
SDRAM SDCLK Enable CKE O
Higher-order byte
data write
47
SDRAM Data Mask
Enable
Lower-order byte data
write
48
SDRAM Data Mask
Enable
49 Column address select CAS O NC
50 Row address select RAS O NC
HWRn O
DQM1 O
LWRn O
DQM0 O
NC
NC(CS_N) Default = NC
NC
WR1_N
WR0_N
Can be connected with Jumper
Pin
R19AN0005EJ0100 Rev.1.00 Page 14 of 26
Jan 10, 2012
Page 15
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
Table 6.2.4 JA5 Expansion connector
Pin# Functions Name I/O
A/D converter ADC4 I
1
A/D converter ADC5 I
2
A/D converter ADC6 I
3
A/D converter ADC7 I
4
CAN data transmit CAN1TX O
5
CAN data receive CAN1RX I
6
CAN data transmit CAN2TX O
7
CAN data receive CAN2RX I
8
External interrupt request IRQ4 I
Reset on Index M2_EncZ I
9
M2_HSIN1 M2_HSIN1 I
External interrupt request IRQ5 I
10
M2_HSIN2 M2_HSIN2 I
Motor control 2
11
Up/Down count
Motor Control 2 Uin M2_Uin I
12
Motor Control 2 Vin M2_Vin I
13
Motor Control 2 Win M2_Win I
14
Motor Control 2 Toggle M2_Toggle I
15
M2_UD I
Pin# of
R8A66597
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
Notes
Motor Control 2 POE M2_POE I
16
Motor control 2
17
external input clock
Motor control 2
18
external input clock
Motor control 2
19
three-phase PWM
output 1 positive
Motor control 2
20
three-phase PWM
output 1 negative
Motor control 2
21
three-phase PWM
output 2 positive
Motor control 2
three-phase PWM
22
output 2 negative
Motor control 2
three-phase PWM
23
output 3 positive
Motor control 2
three-phase PWM
24
output 3 negative
M2_TRCC
LK
M2_TRDC
LK
M2_Up O NC
M2_Un O
M2_Vp O NC
M2_Vn O
M2_Wp O NC
M2_Wn O NC
I
I
NC
NC
NC
NC
NC
R19AN0005EJ0100 Rev.1.00 Page 15 of 26
Jan 10, 2012
Page 16
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
Table 6.2.5 JA6Expansion connector
Pin# Functions Name I/O
DMA transfer request
1
input
DMA transfer
2
discernment signal output
DMA transfer end signal
3
input
DMA Standby input STBYn I
4
UART transmit RS232TX O
5
UART receive RS232RX I
6
7 Serial port receive SCIbRX I NC
Serial port transmit SCIbTX O
8
9 Serial port transmit SCIcTX O NC
Serial port clock SCIbCK I/O
10
Serial port clock SCIcCK I/O
11
Serial port receive SCIcRX I
12
Motor control 1 toggle M1_Toggle I
13
Motor control 1 Uin M1_Uin I
14
Motor control 1 Vin M1_Vin I
15
Motor control 1 Win M1_Win I
16
Reserved - -
17
Reserved - -
18
Reserved - -
19
Reserved - -
20
Reserved - -
21
Reserved - -
22
Unregulated supply Unregulate
23
24 GND GND - NC
DREQ I DREQ0_N
DACK O DACK0_N
TEND I DEND0_N
- NC
d
VCC
Pin# of
R8A66597
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
Notes
R19AN0005EJ0100 Rev.1.00 Page 16 of 26
Jan 10, 2012
Page 17
7. Jumper and Switch Setting
Table 7.1 Power supply / GND jumper setting
JP Name Factory Settings Function
JP1 Shorted by
pattern
JP2 Shorted by
pattern
JP3 Shorted by wire Connecting between AGND and DGND
JP5 Shorted by
pattern
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
Connecting between frame ground of CN5 and signal ground.
It is necessary to cut JP1’s pattern when dividing frame ground and
signal ground.
Jumper for measurement of 3.3V current.
It is necessary to cut JP2’s pattern when measuring 3.3 V current.
Connecting between frame ground of CN1 and signal ground.
It is necessary to cut JP5’s pattern when dividing frame ground and
signal ground.
Table 7.2 VIF jumper setting
JP Name Position
EXIOVcc Power is supplied to VIF through TP29 JP6
(VBUS)
JP Name Position
JP6
(VBUS)
JP Name Position
(INT SEL0)
JP Name Position
(INT SEL1)
3.3V O VCC and VIF of R8A66597 are supplied from same source.
HOST
OTG This position is for internal evaluation mode
PERI O
IRQ 0 O Connect JA2-7 pin and INT_N pin on R8A66597 JP7
IRQ 2 Connect JA2-23 pin and INT_N pin on R8A66597
IRQ 1 - Not used with this board JP11
IRQ 3 - Not used with this board
Factory
Settings
Table 7.3 USB mode jumper setting
Factory
Settings
CN1-1 (VBUS of USB A receptacle) is connected to VBUS
output of U2-5
CN1-1 (VBUS of USB A receptacle) is connected to VBUS pin
of R8A66597 and CN2-24.
Table 7.4 IRQ0 / IRQ2 jumper setting
Factory
Settings
Table 7.5 IRQ1 / IRQ3 jumper setting
Factory
Settings
Function
Function
Function
Function
Table 7.6 CS select jumper setting
JP Name Position
JP8
(CS SEL)
R19AN0005EJ0100 Rev.1.00 Page 17 of 26
Jan 10, 2012
CSa O Connect JA3-27 pin and CS_N pin on R8A66597
CSb Connect JA3-28 pin and CS_N pin on R8A66597
CSc
Factory
Settings
Function
Connect JA3-45 pin and CS_N pin on R8A66597
Page 18
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
Table 7.7 DC5V select jumper setting
JP Name Position
Factory
Settings
Function
EXT O Connect CN4 and VBus supply device JP10
(DC5VSEL)
RSK Connect JA1-1 Pin and VBus supply device
Table 7.8 WR0 select jumper setting
JP Name Position
Factory
Settings
Function
WR O Connect WR on RSK and WR0 on R8A66597 JP14
(WR0 SEL)
LWR Connect LWR on RSK and WR0 on R8A66597
Table 7.9 DC5V select jumper setting
JP Name Position
Factory
Settings
Function
WR O Connect WR on RSK and WR1 on R8A66597 JP13
(WR1 SEL)
HWR Connect HWR on RSK and WR1 on R8A66597
JA6
CN2CN3
CN1
Port0
CN5
Port1
JA5
JA2
8. Setup
JP7JP11(unmount)
IRQ0IRQ1
IRQ2IRQ3
INT0INT1
INTSEL
JP6
OTG
MODE
PERIHOST
U1
JA3
EXIOVcc
JP4
R8A66597
R8A66597FP
IOVcc
3.3V
WR1SEL
HWR
WR
WR0SEL
LWR
WR
CSSEL
a
b
c
Figure 7.1 Default jumpers setting (Top view)
JA1
JP
13
JP
14
JP8
DC5VSEL
RSK
JP10
EXT
CN4
EXT5VIN
The board combined with this board (R0K866597D020BR) is called a target board in the description below.
This section illustrates how to use this board with a target board to connect to a USB device.
R19AN0005EJ0100 Rev.1.00 Page 18 of 26
Jan 10, 2012
Page 19
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
8.1 Using with RSK
Renesas Starter Kits are the latest development from Renesas in low-cost evaluation development toolkits. It is possible
to test the R8A66597FP easily by combining it with this board and the RSK. But, it isn’t possible to test the
R8A66597FP’s split bus.
USBdevice
R0K866597D020BR
JA6
CN1
JA2
DCPowerSupply
5V
JA3
R8A66597FP
CN5
JA5
TargetBoard
e.g.)RX62NRSK
CN4
JA1
JA6
JA2
JA5
JA1
JA3
Figure 8.1.1 Connected image chart
R19AN0005EJ0100 Rev.1.00 Page 19 of 26
Jan 10, 2012
Page 20
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
How to use the R0K866597D020BR with the RSK is shown as below.
(1) Setting of switch and jumper.
(a) Set JP4 to "3.3 V". ("3.3V" is factory setting)
(b) Set JP7 to "IRQ 0". ("IRQ 0" is factory setting)
(c) Set JP8 to "CSa". ("CSa" is factory setting)
(d) Set JP10 to "EXT". ("EXT" is factory setting)
(2) Connecting the R0K866597D020BR to the RSK.
Insert JA1’s #1-pin and #2-pin of the R0K866597D020BR board to JA1's #1-pin and #2-pin of the RSK to connect
the two boards together.
(3) VBUS output for host function
Apply 5V to CN4 of the R0K866597D020BR board using the power supply cable included. The red wire is 5V and
the black one is GND.
(a) When output VBUS to CN1:
(i) Set high level output to VBOUT0 pin of the R8A66597 by software.
(ii) Set JP6 to "HOST".
(b) When output VBUS to CN5:
(i) Set high level output to VBOUT1 pin of the R8A66597 by software.
It is possible to operate the R8A66597FP using the remote debugger RSK that is attached to the RSK. Please refer to
the RSK's Instruction Manual“.
R19AN0005EJ0100 Rev.1.00 Page 20 of 26
Jan 10, 2012
Page 21
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
8.2 Using with other boards
This evaluation board supports separate bus mode only. (Does not support multiplex bus mode)
Below are notes for target board design.
98.00
91.44
JA6
24
23
24
23
JA5
2
26
88.00
JA2
1
25
2
26
1
25
JA1
Boardcenter
35.56
2
1
JA3
2
2
50
1
15.24
15.24
1
60.96
49
15.24
Boardcenter
Figure 8.2.1 Position of connectors chart
0.6mm□
2.54mm
2.54mm
Figure 8.2.2 Detail view of connectors
R19AN0005EJ0100 Rev.1.00 Page 21 of 26
Jan 10, 2012
Page 22
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
(1) The receptacle of the target board should suit the size of this board (refer to Figure 3 and Figure 4). Make pin
arrangement the same as this board (refer to Table 1 and Table 2). Please refer to Appendix 1: the
R0K866597D020BR Part List and Appendix 2: the Circuit Diagram, when selecting connector and pin
arrangement. The HKP-50FD2 from Honda Tsushin Kogyo is applicable to the target board.
(2) The R8A66597FP generates a core power 1.5V from VCC 3.3V. An internal regulator makes 1.5V from 3.3V
through the #19-pin and #20-pin of CN3 and outputs 1.5V to VDD pin. On the R0K866597D020BR, 4.7uF and
0.1uF capacitors are mounted as smoothing capacitors for VDD.
(3) The interface power supply VIF is 1.8V or 3.3V.
(a) Short JP4 to “EXIOVcc” and supply 1.8V by the #25-pin and #26-pin of CN2 , when VIF is 1.8V.
(b) Short JP4 to “3.3V”, when VIF is 3.3V. In this case, power supply to VIF is the same as VCC.
(4) Use SD0-SD7 of CN2 when using split bus for DMA. SD0-SD7 can be used also as a general-purpose port.
(5) Processing for unused pin : Please refer to the R8A66597 datasheet, USB2.0 Dual Function Controller
R8A66597FP/DFP, for details.
VBUS circuit
Note: When the peripheral device connected to the USB connector is in an unusual state due to a short circuit, or
an over current causes an over current in VBUS, the over current protection circuit of a USB power switch
IC turns on, and it turns the VBUS power supply off. But after turning off, current around 0.4A continues
flowing, and the USB power switch IC runs hot. Remove the unusual state promptly for the sake of safety.
To start/stop supply VBUS to the peripheral device, the MCU should operate the R8A66597 to turn on/off
the VBUS output of the USB power switch IC (U2). When the USB power switch IC detects over current, it
outputs a low pulse to the FLG output pin connected to the R8A66597FP, and it issues an interrupt to MCU
to notice the over current state. Monitor the FLG output pin status and turn off the VBUS output when the
over current state is detected by the R8A66597 control software.
Confirm that the USB device is in usual state before connecting.
(1) To supply 5V to VBUS of CN1:
(a) Apply 5V to CN4.
(b) Set JP6 to “HOST”.
(c) Output high signal from VBOUT0-pin by a R8A66597 control software.
(2) To supply 5V to VBUS of CN5
(a) Apply 5V to CN4.
(b) Output high signal from VBOUT1-pin by a R8A66597 control software.
Note: When the R8A66597 control software turn off VBUS supply from the USB power switch IC, VBUS is not
shutdown immediately but slowly because of 150uF capacitor.
8.3 Using R0K866597D020BR as a peripheral
When the R0K866597D020BR is operated as a peripheral controller, please pay attention to following notes:
(1) Set JP6 to "PERI"
(2) Connect a USB host, such as a PC to CN1
(3) To connect a USB host to CN1, an adapter is needed to convert the A-plug into the B-receptacle.
(4) CN5 is not available as a peripheral.
R19AN0005EJ0100 Rev.1.00 Page 22 of 26
Jan 10, 2012
*: Because the signal wire of JA5 is not used in this board, the table is omitted.
R19AN0005EJ0100 Rev.1.00 Page 24 of 26
Jan 10, 2012
Page 25
10. Circuit Diagram
See attached document. (Appendix 1)
11. Parts Layout Diagram
See attached document. (Appendix 2)
12. Parts List
See attached document. (Appendix 3)
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
R19AN0005EJ0100 Rev.1.00 Page 25 of 26
Jan 10, 2012
Page 26
R8A66597 USB Evaluation Board R0K866597D020BR
Hardware Instruction Manual
Website and Support
Renesas Electronics Website
http://www.renesas.com/
USB Device Page
http://www.renesas.com/en/usb
Inquiries
http://www.renesas.com/inquiry
All trademarks and registered trademarks are the property of their respective owners.
R19AN0005EJ0100 Rev.1.00 Page 26 of 26
Jan 10, 2012
Page 27
Revision Record
Rev.
1.00 Jan 10.2012 — First edition issued
Date
Description
Page Summary
A-1
Page 28
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 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.
1. Handling of Unused Pins
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 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 beco me 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.
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
Notice
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
assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein.
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
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
third parties arising from such alteration, modification, copy or otherwise misappropriation of Renesas Electronics product.
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
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.
ALES OFFICE
Refer to "http://www.renesas.com/" for the latest and detailed information
Ren
Electronics America Inc.
2880 Scott Boulevard Santa Clara
Tel: +1-408-588-6000, Fax: +1-408-588-6130
Unit 204, 205, AZIA Center, No.1233 Lujiazui Ring Rd., Pudong District, Shanghai 200120, China
Tel: +86-21-5877-1818, Fax: +86-21-6887-7858 / -7898
Renesas Electronics Hong Kong Limited
Unit 1601-1613, 16/F., Tower 2, Grand Century Place, 193 Prince Edward Road West, Mongkok, Kowloon, Hong Kong
Tel: +852-2886-9318, Fax: +852 2886-9022/9044
Renesas Electronics Taiwan Co., Ltd.
13F, No. 363, Fu Shing North Road, Taipei, 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 Mala
Unit 906, Block B, Menara Amcorp, Amcorp Trade Centre, No. 18, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysi
Tel: +60-3-7955-9390, Fax: +60-3-7955-951
Renesas Electronics Korea Co., Ltd
11F., Samik Lavied' or Bldg., 720-2 Yeoksam-Dong, Kangnam-Ku, Seoul 135-080, Korea
Tel: +82-2-558-3737, Fax: +82-2-558-514
CA 95050-2554, U.S.A
sia Sdn.Bhd.
http://www.renesas.co
2012 Renesas Electronics Corporation. All rights reserved