background image

 APPLICATION 

NOTE 

R01AN0649EJ0110  Rev.1.10 

 

Page 1 of 26 

Jul 21, 2011 

 

R8C/34K Group 

USB Host Evaluation Board R0K5R8C34DK2HBR 
Hardware Instruction Manual  

Introduction 

This application note is an instruction manual for the hardware used with evaluation board R0K5R8C34DK2HBR, 
which operates the USB Host function and microcontroller peripheral functions for R8C/34K Group MCUs. 

Target Device 

R8C/34K Group 

Contents 

1.

 

Preface .............................................................................................................................................. 2

 

2.

 

Important ........................................................................................................................................... 3

 

3.

 

Precautions for Safety....................................................................................................................... 5

 

4.

 

Function Overview............................................................................................................................. 8

 

5.

 

Evaluation Board Configuration ........................................................................................................ 9

 

6.

 

Evaluation Board Setup .................................................................................................................. 11

 

7.

 

Function Descriptions...................................................................................................................... 16

 

8.

 

MCU Pin Setting Examples............................................................................................................. 20

 

9.

 

Circuit Diagram................................................................................................................................ 22

 

10.

 

Parts Layout Diagram ..................................................................................................................... 22

 

11.

 

Parts List ......................................................................................................................................... 22

 

 

 

 

 

 

 

R01AN0649EJ0110

Rev.1.10

Jul 21, 2011

Summary of Contents for R0K5R8C34DK2HBR

Page 1: ...rd R0K5R8C34DK2HBR which operates the USB Host function and microcontroller peripheral functions for R8C 34K Group MCUs Target Device R8C 34K Group Contents 1 Preface 2 2 Important 3 3 Precautions for Safety 5 4 Function Overview 8 5 Evaluation Board Configuration 9 6 Evaluation Board Setup 11 7 Function Descriptions 16 8 MCU Pin Setting Examples 20 9 Circuit Diagram 22 10 Parts Layout Diagram 22 ...

Page 2: ...evaluation board of the USB Host function and built in functions in R8C 34K Group MCUs This instruction manual explains how to setup up and operate the related hardware and offers cautionary notes concerning usage All components of the R0K5R8C34DK2HBR are listed under 6 1Packing Components If you have any question about the R0K5R8C34DK2HBR contact your local distributor ...

Page 3: ... 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 develope...

Page 4: ...he 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 man...

Page 5: ...s product safely and properly Be sure to read this chapter before using this product WARNING WARNING indicates a potentially dangerous situation that will cause death or heavy wound unless it is avoided CAUTION 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 follow...

Page 6: ...ulator and another power supply are connected to this product at the same time 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 immediately Do not use this as it is because of the danger of electric shock and or fire In this case contact your local dist...

Page 7: ... 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 Caution to Be Taken for Dis...

Page 8: ...3 LEDs with general I O port control Reprogramming of built in Flash memory user ROM area with serial writer The following MCU functions are extracted to the board surface as test pins SSU I2 C transmission function pin A D input pin x 2ch Pulse counter timer pin x 1ch External interrupt pin x 1ch PWM output pin x 2ch Test pins TP as the MCU I O ports x 7ch 4 2 Related Data Sheets and Application ...

Page 9: ...8KB Data Flash 4KB RAM 10KB External Clock Crystal oscillator DSX321G Daishinku 12MHz USB MCU built in USB2 0 compliant full speed host functions RS232C Connector D sub9 pin male Transceiver MAX3226E MAXIM LCD Module NHD 0208BZ RN GBW NEWHAVEN DISPLAY Character type LCD features 8 characters x 2 lines Debug Function 1 On chip debug function through E8a emulator connection 2 Reprogramming of built ...

Page 10: ... Note When operating the USB Host function at 3 0V to 3 6V or E8a supply source a separate 5V 4 7V to 5 5V power supply is required for some of the circuits Supply source stabilized power supply E8a supply source reference typical current consumption approximately 50mA excluding the current of USB VBUS for a USB peripheral device This product does NOT have a built in over voltage protection Use th...

Page 11: ...witches for Power Supply during Operations Jumper pins JP1 to JP4 located on the evaluation board are used to switch power supply Table 4 shows the setting for each jumper pin according to the power supply and voltage The following is a detailed explanation of each jumper pin Table 4 Jumper Pin Switches for Power Supply Source and Voltage Power Supply Source JP1 Main power switch JP2 5V dedicated ...

Page 12: ...upply source for components that can only run on 5V such as the LCD module the buffer IC for LCD and Host VBUS control IC Supply sources can be selected from 1 internal input direct from main power supply and 2 external input When the main power supply voltage is 3 3V or the power supply source is from E8a supply additional power 5V from external input TP1 Notice When supplying external 5V to TP1 ...

Page 13: ...P1 Main power supply switch DC setting E8a setting Figure 4 Stabilized power supply connector CN7 Figure 5 JP2 5V dedicated power supply switch Internal input int setting External input Ext setting Figure 6 JP3 VBUS switch Host setting Figure 7 JP4 USB_VCC switch Power supply ON Short setting Power supply OFF Open setting External input pin TP1 ...

Page 14: ...Figure 8 a 14 pin connector CN6 is located on the back of the board for connecting the E8a emulator When using E8a leave JP6 in the open status the default status at shipping as shown in Figure 11 For more details on how to use the emulator refer to the E8a application note Figure 8 Connector for E8a Emulator CN6 When you select stabilized power supply DC as the main power supply JP1 for the evalu...

Page 15: ...chronous serial transmission UART 0ch The board is equipped with an RS 232C transceiver IC which is connected to the MCU UART0 UART transmission between the MCU and the serial writer is carried out through the D sub9 pin male connector CN5 as shown in Figure 10 When connecting a serial writer short jumper JP6 as shown in Figure 11 by the wire Refer to the application note for details concerning tr...

Page 16: ...e 12 The evaluation board is equipped with a USB Standard A receptacle and a host power supply VBUS control IC to enable use of the MCU USB Host function JP3 must be fixed to HOST position 7 2 RS232C Transmission Green dot line area of Figure 12 The evaluation board is equipped with the RS232C transmission function which uses the MCU UART0 and a D sub9 pin male connector CN5 Use a cross through ca...

Page 17: ...D detecting voltage Switch pushed Detecting Voltage Ideal value No switch pushed 5V SW1 4 1V SW2 3 2V SW3 2 3V SW4 0V 7 4 User LED Orange dot line area of Figure 12 The evaluation board is equipped with three LEDs that can be directly controlled from MCU I O ports To turn the LEDs on light up set the control I O ports listed in Table 7 to low The circuit is configured so that 7mA to 8mA current fl...

Page 18: ...ed resistor VR1 for adjusting contrast on the LCD module shown as Figure 13 Use this to adjust contrast as needed Table 8 LCD Module Control Pin and Corresponding I O Port Name LCD Module Pin Corresponding I O Port Name D7 P03 D6 P02 D5 P01 D4 P00 RS P13 E P12 Figure 13 semi fixed resistor VR1 7 6 Reset Switch Orange dot line area of Figure 12 The evaluation board is equipped with the reset switch...

Page 19: ...h MCU peripheral function refer to the R8C 34U Group R8C 34K Group User s Manual Hardware When you connect the external device 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 Table 9 Relation between Test Pin No and the MCU I O Port No TP No Pin Name Function Name assumptio...

Page 20: ...or each MCU pin Refer to instructions in the corresponding MCU user s manual hardware on how to treat unused pins for functions not used on the evaluation board Notice The MCU pull up resistor is set in 4 bit units for most of the pins When using the MCU internal pull up resistor to process unused pins be sure that the resistor setting does not affect the function of other pins set at the same tim...

Page 21: ... 24 USB_DRPD USB_DRPD USB exclusive use 25 P67 INT3 TRCIOD USB_ID USB_ID P67 Output Fix High 1 4 P65 26 P66 INT2 TXD2 SDA2 USB_OVRCURB USB_OVRCURB P66 Input built in pull up resistor invalid 4 P65 27 P65 INT4 CLK2 CLK1 USB_EXICEN USB_EXICEN P65 Input built in pull up resistor invalid 3 28 P45 ADTRG INT0 RXD2 SCL2 INT0 P45 Input built in pull up resistor invalid 29 P17 IVCMP1 INT1 TRAIO TRAIO P17 I...

Page 22: ...signal might conflict 3 When select Input direction with valid of internal pull pull resistor the signal voltage is midpoint potential by the external pull down resistor 4 When select Input direction with valid of internal pull up resistor be sure that the resistor setting does not affect the function of other pins set at the same time 9 Circuit Diagram See attached document Appendix 1 10 Parts La...

Page 23: ...1AN0649EJ0110 Rev 1 10 Page 23 of 26 Jul 21 2011 Website and Support Renesas Electronics Website http www renesas com USB Device Page http www renesas com prod usb Inquiries http www renesas com inquiry All trademarks and registered trademarks are the property of their respective owners ...

Page 24: ... 1 2 3 C27 8p C27 8p TP16 TP16 1 TP3 TP3 1 LED3 SML 310MT GREEN LED3 SML 310MT GREEN C7 0 1u C7 0 1u TP9 TP9 1 D6 RB520S 30 D6 RB520S 30 TP28 HK 5 G BLACK TP28 HK 5 G BLACK 1 TP1 HK 5 G ORANGE TP1 HK 5 G ORANGE 1 R15 100K R15 100K L3 BLM21PG600SN1 L3 BLM21PG600SN1 1 2 C2 0 1u C2 0 1u 1 2 C29 0 1u C29 0 1u R19 8 2k R19 8 2k 1 2 R2 100K R2 100K R41 33k R41 33k 1 2 TP24 HK 5 G BLACK TP24 HK 5 G BLACK...

Page 25: ...Appendix2 Parts Layout Diagram 1 Front Surface ...

Page 26: ...2 Rear Surface ...

Page 27: ...5 8902A MITSUMI unmount 0 9 USB A Socket CN3 UBA 4R D14 1 LF SN JST 1 10 Socket 14pin for LCD CN4 PPPC 072LFBN_RC Sullins 1 11 D sub connector 9pin CN5 1734352 1 TE 1 12 Socket 14pin for E8a CN6 7614 5002 PL 3M 1 13 Header 2pin CN7 BS2P SHF 1AA LF SN JST 1 14 DC Power Jack CN8 KLDX 0202 A Keycon unmount 0 15 Crystal Oscillator X1 DSX321G 12MHz Daishinku 1 12MHz 16 Ceramic Resonators X2 CSTCE12M0GH...

Page 28: ...J273 ROHM 1 27k 35 Thick Film Resistors R18 MCR03EZPJ912 ROHM 1 9 1k 36 Thick Film Resistors R19 MCR03EZPJ822 ROHM 1 8 2k 37 Thick Film Resistors R20 MCR03EZPJ152 ROHM 1 1 5k 38 Thick Film Resistors R21 R22 MCR03EZPJ153 ROHM 2 15k 39 Thick Film Resistors R23 R24 MCR03EZPJ270 ROHM 2 27 40 Thick Film Resistors R6 R43 MCR03EZPJ105 ROHM 2 1M 41 Thick Film Resistors R44 MCR03EZPFX5600 ROHM 1 560 42 Thi...

Page 29: ...MAC8 1 JP5 JP6 are unmounted 57 Jumper SW 3P JP2 WL 1 MAC8 1 58 Jumper SW 4P JP1 JP3 WL 1 MAC8 2 59 TP SMD TP23 TP24 TP27 TP28 HK 5 G black MAC8 4 60 TP SMD TP1 HK 5 G orange MAC8 1 61 TP SMD TP29 TP30 TP31 HK 5 G red MAC8 3 62 PCB R0K5R8C34DK2 SANYO KOGYO 1 Assembly parts 63 LCD module NHD 0208BZ RN GBW NEWHAVENDISPLAY 1 64 Male connector for LCD module FFC 14BSM1B HONDA 1 65 Spacer ASB 316E HIRO...

Page 30: ...Revision Record Description Rev Date Page Summary 1 00 Jun 10 11 First edition issued 1 10 Jul 21 11 Correcting the wrong words ...

Page 31: ...s 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 provi...

Page 32: ...e support devices or systems surgical implantations or healthcare intervention e g excision etc and any other applications or purposes that pose a direct threat to human life 8 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 voltag...

Reviews: