Renesas R0K5R8C3MDU30BR Instruction Manual
Renesas R0K5R8C3MDU30BR Instruction Manual

Renesas R0K5R8C3MDU30BR Instruction Manual

Usb-to-serial communication conversion demo board

Advertisement

Quick Links

We have 45,000 LP502030-PCM-NTC-LD-A02554 - EEMB - Lithium Battery Rectangular 3.7V 250mAh Rechargeable in
stock now. Starting at $0.034. This EEMB part is fully warrantied and traceable.
Looking for a discount?
Check out our current promotions!
This coversheet was created by Verical, a division of Arrow Electronics, Inc. ("Verical"). The attached document was created by the part supplier,
not Verical, and is provided strictly 'as is.' Verical, its subsidiaries, affiliates, employees, and agents make no representations or warranties
regarding the attached document and disclaim any liability for the consequences of relying on the information therein. All referenced brands,
product names, service names, and trademarks are the property of their respective owners.
00000005981LF-000
R0K5R8C3MDU30BR
EOS Power
RENESAS TECHNOLOGY
Buy Now
Buy Now
Give us a call
1-855-837-4225
International: 1-555-555-5555
1-415-281-3866
1-415-281-3866
Arrow Electronics,
Arrow Electronics, Inc
Verical Division
9201 East Dry Creek Road
P.O. Box 740970
Centennial, CO 80112
Los Angeles, CA 90074-0970

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the R0K5R8C3MDU30BR and is the answer not in the manual?

Questions and answers

Summary of Contents for Renesas R0K5R8C3MDU30BR

  • Page 1 We have 45,000 LP502030-PCM-NTC-LD-A02554 - EEMB - Lithium Battery Rectangular 3.7V 250mAh Rechargeable in stock now. Starting at $0.034. This EEMB part is fully warrantied and traceable. 00000005981LF-000 R0K5R8C3MDU30BR EOS Power RENESAS TECHNOLOGY Buy Now Buy Now Looking for a discount?
  • Page 2: Table Of Contents

    USB-to-Serial Communication Conversion Demo Board Mar 21, 2012 R0K5R8C3MDU30BR Instruction Manual Introduction This document is an instruction manual for the R0K5R8C3MDU30BR that enables USB-to-Serial communication conversion using the USB Peripheral function and serial communication function in R8C/3MK Group MCUs. Target Device R8C/3MK Group Contents Preface ..............................
  • Page 3: Preface

    Before using the demo board, please refer to ”7.1 Bundled Accessories Confirmation” to confirm you have all accessories bundled with the demo board package. If you have any questions concerning the demo board, please contact the closest Renesas Electronics Corp., Renesas Solutions Corp., or Renesas Electronics Sales Corp. office. R01AN1051EJ0100 Rev.1.00...
  • Page 4: Important

    Use of this product requires basic knowledge of electric circuits, logical circuits, and MCUs. When using this product: (1) In no event shall Renesas Electronics Corporation be liable for any consequence arising from the use of this product. (2) Renesas Electronics Corporation strives to provide workarounds for and correct trouble with products malfunctions, with some free and some incurring charges.
  • Page 5 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.
  • Page 6: Precautions For Safety

    R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual 3. Precautions for Safety 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.
  • Page 7 R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual Warning WARNING Warnings for Power Supply: This product CAN NOT use external power supply from header pins. The demo board may incur damage. Do not touch the plug of the power cable when your hands are wet. This may cause electric shock.
  • Page 8 (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”. R01AN1051EJ0100 Rev.1.00...
  • Page 9: Demo Board Functions

    • R8C/USB Group USB Downloader (r01an0703ej_r8cusbfdl.pdf) Please contact your Renesas sales or representative office to obtain this document. • Renesas USB Device USB Peripheral Communications Devices Class Driver (PCDC) (r01an0555ej_r8cusbpcdc.pdf) Please contact your Renesas sales or representative office to obtain this document.
  • Page 10: Demo Board Description

    USB Downloader Ceramic External connection Regulator function switch pin oscillator pins (J3) (from VBUS) Figure 1 R0K5R8C3MDU30BR Board (Top View) External connection pins (J1, J2) External connection pins (J3) Figure 2 R0K5R8C3MDU30BR External View (back) R01AN1051EJ0100 Rev.1.00 Page 9 of 38...
  • Page 11 Functions Peripheral function supporting MCU built-in USB 2.0-compliant Full-speed Receptacle Mini B: UX60SC-MB-5ST (Hirose) Power supply regulator MIC5353-3.3YMT (Micrel) Table 2 R0K5R8C3MDU30BR Power Supply, Dimensions, Environment Specifications Item Specification Usage Environment Temperature: 5 to 35℃ Conditions Humidity level: no condensation...
  • Page 12 RESET 12MHz Oscillator External connector Figure 3 R0K5R8C3MDU30BR Functional Block Diagram 6.2.1 USB Peripheral The demo board mounts a mini-B receptacle so that the MCU’s built-in USB module can be used as a Peripheral device. The board also mounts a ceramic oscillator as the built-in USB’s external oscillating device.
  • Page 13: Setting Up The Demo Board

    (Inf) file and the upgrade application software (mot) are provided as electronic data, and can be downloaded from Renesas web site (for more details, please see Release Note). Please refer to “8.Operating Instructions” to check the usage of these files.
  • Page 14 R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual Header Pin Attachment Attach the right angle section of the bundled header pin (FFC-8LBMEP1B, Honda Tsushin Kogyo) to the holes (J3) on the left edge of the board as shown in Figure 5 . Figure 6 shows an attachment example. A user- provided header pin can also be attached to J3;...
  • Page 15 R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual RxD0 TxD0 RESET MODE SSO/SDA SSCK/SCL Figure 7 Positioning of Signal Lines and Power Supply/GND Connected to J1/J2 RxD0 TxD0 SSCK/SCL SSO/SDA Figure 8 Positioning of Signal Lines and Power Supply/GND Connected to J3 Table 4 Relation of connector pin No.
  • Page 16: Operating Instructions

    R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual Operating Instructions Application software for USB-to-Serial communication conversion has been installed in the MCU flash ROM mounted on this demo board. The serial driver at shipping is UART function. You can use USB-to-UART conversion.
  • Page 17 R0K5R8C3MDU30BR Instruction Manual The following outlines the process until communication is achieved using the terminal software on the PC. For more details, refer to the application note titled “Renesas USB Device USB Peripheral Communications Devices Class Driver (PDCD).” 1) Connection to USB Host (PC) (1) Connect the demo board to the USB Host (PC) using the USB cable (A-miniB).
  • Page 18 R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual The serial port parameters on the terminal software reflect UART0. Device with UART UART serial port This product does not use control signals of CTS/RTS/DSR/DTR etc. Control Transfer Class Request...
  • Page 19 R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual 2) Start up Terminal Software (1) Enter the confirmed COM number in the terminal software. As this function enables serial communication, you do not need to set the communication speed, data length, etc.
  • Page 20 R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual USB-to-Serial Communication Conversion Function (the upgrade version) After this upgrade application software is installed by using the USB downloader, it is possible to connect not only the UART device but also the I C devices or the SSU device.
  • Page 21 R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual (1)You input the following command from the terminal software, and select the serial function. “U” Command : USB-to-UART communication conversion “I” Command : USB-to-I C communication conversion “S” Command : USB-to-SSU communication conversion When the display shows “OK You select XXX Demo!”, the demo selection is done.
  • Page 22 R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual 5) Outline of USB-to-I C communication conversion (1) Enter the confirmed COM number in the terminal software. As this function does not control UART function, you do not need to set the communication speed, data length, etc.
  • Page 23 R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual 6) Outline of USB-to-SSU communication conversion (1) Enter the confirmed COM number in the terminal software. As this function does not control UART function, you do not need to set the communication speed, data length, etc.
  • Page 24: I 2 C Demo Communication Protocol

    R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual C demo communication protocol USB Packet Specification 9.1.1 Structure of Command Packet The command packet for controlling I C device consists of five bytes. Figure 23 shows the structure of command packet.
  • Page 25 R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual 9.1.2 Structure of Data Packet The data length is n bytes according to the connected I C device. The maximum of the data length is the value of the Len field of the command packet. When the data length is more than 64bytes, the data is divided into multiple data packets.
  • Page 26 R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual Specification of USB -to - I C Protocol Conversion 9.2.1 Protocol conversion of Read Access When you read data from I C devices, you enter the “Read Access” command to the virtual COM port, and receive data packet from the virtual COM port.
  • Page 27 R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual 9.2.2 Protocol Conversion of Write Access When you write data to the I C devices, you send the “Write Access” command packet to the virtual COM port, and send data packet continuously. Figure 27 shows the protocol conversion of Write Access.
  • Page 28 R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual Example of Command Script Figure 28 shows the example of memory read and write access between this product and the EEPROM made by Renesas Electronics Examples of Read Access / Write Access (I C Device :R1EX24008ASAS0A) ;...
  • Page 29: Ssu Demo Communication Protocol

    R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual SSU demo communication protocol 10.1 USB Packet Specification 10.1.1 Structure of Command Packet The structure of Command Packet for SSU demo has the following two types. 1) Control Command consisted of 5 bytes...
  • Page 30 R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual 10.1.2 The Structure of Data Packet The data length is n bytes according to the connected SSU device. The maximum of the data length is the value of the Len field of the command packet. When the data length is more than 64bytes, the data is divided into multiple data packets.
  • Page 31 R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual 10.2 Specification of USB-to-SSU Protocol Conversion 10.2.1 Protocol conversion of Read Access When you read data from SSU device, you enter the “Read Access” command to the virtual COM port, and receive data packet from the virtual COM port.
  • Page 32 R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual 10.2.2 Protocol Conversion of Write Access When you write data to the SSU device, you send the “Write Access” command packet to the virtual COM port, and send data packet continuously. Figure 34 shows the protocol conversion of Write Access. If the data packet length is short (less than 59bytes), you can combined command packet and data packet to “combined packet”.
  • Page 33 R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual When you indicate address and write data to the SSU device, you send the “Write Access” command packet to the virtual COM port, and send data packet continuously. Figure 36 shows the protocol conversion of Write Access.
  • Page 34 The Example of Command Script Figure 38 shows the example of memory read and Memory write between this product and the 8Kbit EEPROM made by Renesas Electronics Example of Memory Read / Memory Write (SSU Device: R1EX25008ASA00A) ; Select SSU Demo send ‘S’...
  • Page 35: Circuit Diagram

    R8C/3MK Group USB-to-Serial Communication Conversion Demo Board R0K5R8C3MDU30BR Instruction Manual 11. Circuit Diagram See attached document. (Appendix 1) 12. Parts Layout Diagram See attached document. (Appendix 2) 13. Parts List See attached document. (Appendix 3) R01AN1051EJ0100 Rev.1.00 Page 34 of 38...
  • Page 36 USB Device Page http://www.renesas.com/en/usb Inquiries http://www.renesas.com/contact/ © 2012 Renesas Electronics Corporation and Renesas Solutions Corp. All rights reserved. All trademarks and registered trademarks are the property of their respective owners. R01AN1051EJ0100 Rev.1.00 Page 35 of 38 Mar 21, 2012...
  • Page 37 0.1u 0.1u SSCK SSCK 2.54m m 2x4Header 2.54m m 2x4Header CON5 CON5 CON5 CON5 Title Title Title R0K5R8C3MDU30BR R0K5R8C3MDU30BR R0K5R8C3MDU30BR Size Size Size Docum ent Num ber Docum ent Num ber Docum ent Num ber D-R0K5R8C3MDK3UBR_C D-R0K5R8C3MDK3UBR_C D-R0K5R8C3MDK3UBR_C Date: Date:...
  • Page 38 Appendix2: Parts Layout Diagram 1. Front Surface 2. Rear Surface...
  • Page 39 Appendix3: Parts List Title R0K5R8C3MDU30BR Parts List Component Name Component Specification Qty/set Notes Product Number Mount/ Type Symbol on Board Manufacture (specification) unmount R5F213MCKNNP Renesas Electronics 6x6mm 40pin QFN Regulator MIC5353-3.3YMT MICREL 3.3V 500mA USB Mini B Socket UX60SC-MB-5ST Hirose...
  • Page 40 Revision Record Description Rev. Date Page Summary 1.00 Mar 21.12 First edition issued...
  • Page 41 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.
  • Page 42 Electronics product for any application categorized as "Specific" without the prior written consent of Renesas Electronics. Further, you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics. 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 an application categorized as "Specific"...

Table of Contents