Renesas RL78/G16 User Manual
Renesas RL78/G16 User Manual

Renesas RL78/G16 User Manual

Fast prototyping board
Hide thumbs Also See for RL78/G16:

Advertisement

Quick Links

RL78/G16 Fast Prototyping Board
16
16-Bit Single-Chip Microcontrollers
RL78 Family
All information contained in these materials, including products and product specifications, represents
information on the product at the time of publication and is subject to change by Renesas Electronics
Corp. without notice. Please review the latest information published by Renesas Electronics Corp.
through various means, including the Renesas Electronics Corp. website (http://www.renesas.com).
www.renesas.com
User's Manual
Rev.1.01 Oct 2024

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RL78/G16 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Renesas RL78/G16

  • Page 1 All information contained in these materials, including products and product specifications, represents information on the product at the time of publication and is subject to change by Renesas Electronics Corp. without notice. Please review the latest information published by Renesas Electronics Corp.
  • Page 2: Corporate Headquarters

    Renesas Electronics disclaims any and all liability for any damages or losses incurred by you or any third parties arising from the use of any Renesas Electronics product that is inconsistent with any Renesas Electronics data sheet, user’s manual or other Renesas Electronics document.
  • Page 3: General Precautions In The Handling Of Microprocessing Unit And Microcontroller Unit Products

    Unit Products The following usage notes are applicable to all Microprocessing unit and Microcontroller unit 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.
  • Page 4 User’s responsibility to make sure the kit meets any local requirements applicable to their region. Renesas or its affiliates shall in no event be liable for any loss of profit, loss of data, loss of contract, loss of business, damage to reputation or goodwill, any...
  • Page 5: How To Use This Manual

    The revision history summarizes the locations of revisions and additions. It does not list all revisions. Refer to the text of the manual for details. The following documents apply to the RL78/G16 Fast Prototyping Board. Be sure to refer to the latest versions of these documents.
  • Page 6: List Of Abbreviations And Acronyms

    Digilent Inc. For the Pmod™ interface specification, refer to the Pmod™ License Agreement page at the Web site of Digilent Inc. Random Access Memory Renesas Flash Programmer Read Only Memory Serial Peripheral Interface Timer Pulse Unit UART Universal Asynchronous Receiver/Transmitter...
  • Page 7: Table Of Contents

    Table of Contents 1. Overview ..........................1 Purpose ..............................1 Features ..............................1 Preparation ..............................1 1.3.1 Installing the e studio IDE ....................... 2 1.3.2 Installing the CS+ IDE ........................2 Board Specification Table .......................... 3 Block Diagram ............................4 2.
  • Page 8: Overview

    This user’s manual describes the RL78/G16 Fast Prototyping Board (RTK5RLG160C00000BJ) (hereinafter referred to as “this product”). Purpose This product is an evaluation tool for a Renesas MCU. This user’s manual describes the hardware specifications, ways of setting switches, and the basic setup procedure. Features This product can handle the following tasks.
  • Page 9: Installing The E Studio Ide

    3. Select “RL78” for [Device Families]. 4. Confirm that the latest version of Renesas CCRL has been selected as the compiler. 5. Select the [I accept the terms of the Software Agreements] checkbox and then click on the [Install] button.
  • Page 10: Board Specification Table

    RL78/G16 Fast Prototyping Board 1. Overview Board Specification Table Table 1-1 shows the board specifications. Table 1-1 Board Specification Table Item Specification Part No.: R5F121BCAFP Evaluation MCU (RL78/G16) Package: 32­pin LQFP On­chip memory: 32­KB ROM, 2­KB RAM, 1­KB data flash memory Board size 53.34 mm x 99.06 mm...
  • Page 11: Block Diagram

    RL78/G16 Fast Prototyping Board 1. Overview Block Diagram Figure 1-1 shows the block diagram of this product.  Grove Arduino MCU header Pmod Power connector connector connector Power- supply circuit Evaluation MCU Emulator (RL78/G16) connector USB-to-serial connector converter Reset switch...
  • Page 12: Board Layout

    RL78/G16 Fast Prototyping Board 2. Board Layout 2. Board Layout Figure 2-1 shows the external appearance of the top side of this product. Figure 2-1 Board Layout (Top Side) R12UM0048EJ0101 Rev. 1.01 Page 5 of 36 Oct.01.24...
  • Page 13: Parts Layout

    RL78/G16 Fast Prototyping Board 3. Parts Layout 3. Parts Layout Figure 3-1 shows the parts layout of this product. Figure 3-1 Parts Layout Figure 3-2 shows the external dimensions of this product. Figure 3-2 External Dimensions R12UM0048EJ0101 Rev. 1.01 Page 6 of 36...
  • Page 14: Operating Environment

    RL78/G16 Fast Prototyping Board 4. Operating Environment 4. Operating Environment Figure 4-1 shows the operating environment of this product. Install the IDE on the host PC. USB cable RL78/G16 Fast Prototyping Board Host PC Figure 4-1 Operating Environment R12UM0048EJ0101 Rev. 1.01 Page 7 of 36 Oct.01.24...
  • Page 15: User Circuits

    5. User Circuits 5. User Circuits Evaluation MCU The specifications for the power supply, system clock, and reset of the evaluation MCU (RL78/G16) at the time of shipment are as follows. • Power supply: 5 V (VBUS) supplied from the USB (including the analog power supply) •...
  • Page 16: Arduino® Connectors

    RL78/G16 Fast Prototyping Board 5. User Circuits Arduino® Connectors   The specification of the Arduino connectors is on the assumption that Arduino shields are to be  connectable. However, we do not guarantee connection to all types of Arduino shield.
  • Page 17 RL78/G16 Fast Prototyping Board 5. User Circuits  Table 5-1 Pin Assignments of the Arduino Connectors (1/2) *2 *3 Part No. in Name of RL78/G16  the Circuit Arduino Power Port Analog Serial Schematics Signal Supply J3-1 N.C. J3-2 IOREF...
  • Page 18 RL78/G16 Fast Prototyping Board 5. User Circuits  Table 5-2 Pin Assignments of the Arduino Connectors (2/2) *2 *3 Part No. in Name of RL78/G16  the Circuit Arduino Power Port Analog Serial Schematics Signal Supply J5-1 RX/0 [RxD0] J5-2...
  • Page 19: Pmod™ Connectors

    Pmod1 is assumed to be connected to the Pmod Interface Type 2A or 3A module*. Pmod2 is assumed to be connected to the Pmod Interface Type 6A module*. Note: For details on the Pmod module from Renesas, refer to the Web site at: https://www.renesas.com/quickconnect.
  • Page 20 RL78/G16 Fast Prototyping Board 5. User Circuits Table 5-3 Pin Assignments of Pmod (Pmod1) Pin No. of Name of RL78/G16 Pmod Pmod Power Port SPI (CSI) UART Signal Supply CS/CTS [INTP4] MOSI/TXD [SO00] [TxD0] MISO/RXD 23(25) P04(P06) [SI00] [RxD0] ([SCLA0])
  • Page 21: Mcu Headers

    RL78/G16 Fast Prototyping Board 5. User Circuits MCU Headers The MCU headers are provided as through holes J1 and J2 for a total of 16 (8 x 2) pins. The pin headers have a pitch of 2.54 mm and the evaluation MCU is connected to the through holes for the headers.
  • Page 22 RL78/G16 Fast Prototyping Board 5. User Circuits Table 5-6 Pin Assignments of the MCU Headers (J2) Part No. in Name of RL78/G16  the Circuit Arduino Power Port and Peripheral Modules Others Schematics Signal* Supply J2-17 P00/INTP6/(TI02/TO02)/SO00/TXD0/TOOLTXD/(SCK11/SCL TOOLTxD 11)/(SI11/SDA11)/(SCLA0)/(RTC1HZ) J2-18...
  • Page 23: Grove Connector

    MCU clocks, refer to the RL78/G16 User’s Manual: Hardware. For details on the clock circuit of this product, refer to the circuit schematics of the RL78/G16 Fast Prototyping Board. Table 5-8 shows the details of the clocks on the RL78/G16 Fast Prototyping Board.
  • Page 24: Reset Switch

    RL78/G16 Fast Prototyping Board 5. User Circuits 5.11 Reset Switch Pressing the reset switch (RST) applies a hardware reset to the evaluation MCU. 5.12 User Switch An optional user switch (SW) is mounted. It is connected to pin 4 of the evaluation MCU, which operates as pin function P137.
  • Page 25: Usb-To-Serial Converter Reset Header

    RL78/G16 Fast Prototyping Board 5. User Circuits 5.14 USB-to-Serial Converter Reset Header The USB-to-serial converter is placed in the forced reset state by short-circuiting its reset header (J13). If the evaluation MCU alone is to operate without the use of the RL78 COM port debug tool, place the USB-to-serial converter in the reset state.
  • Page 26: Power-Supply Selection Header

    RL78/G16 Fast Prototyping Board 5. User Circuits 5.15 Power-Supply Selection Header The operating power (VDD) of the evaluation MCU can be changed to supply from the emulator or external power, and to 5 V or 3.3 V with the use of a header (J15). Only change the jumper setting of J15 while power is not being supplied.
  • Page 27: External Power Supply

    RL78/G16 Fast Prototyping Board 5. User Circuits Figure 5-7 Setting of the Header to Select Supply from the Emulator or External Power (Top Side) 5.16 External Power Supply When the evaluation MCU is to have a desired power-supply voltage, or when more current is required, use an external power supply.
  • Page 28: Current Measurement Header

    RL78/G16 Fast Prototyping Board 5. User Circuits 5.17 Current Measurement Header This header (J9) is used to measure the current drawn by the evaluation MCU (J9 header components are not mounted). Connecting an ammeter to this product enables measurement of the current being drawn by the evaluation MCU.
  • Page 29 RL78/G16 Fast Prototyping Board 5. User Circuits Insert an ammeter between the sockets of the current measurement header (J9) to measure the current. Cut the pattern for cutting (SS18) (Figure 5-11) and turn down the LED to reduce the current drawn with an MCU other than the evaluation MCU.
  • Page 30: Pattern For Cutting The I/O Power Supply For The Usb-To-Serial Converter

    RL78/G16 Fast Prototyping Board 5. User Circuits 5.18 Pattern for Cutting the I/O Power Supply for the USB-to-Serial Converter If you intend to use this board without connecting a USB connector, cut the given pattern for cutting (SS14). Figure 5-11 shows the position of the pattern for cutting.
  • Page 31: Emulator Connector

    Emulator Connector This 14-pin connector (J8) is used to connect this product to an on-chip debugging E2 emulator or E2 emulator Lite, from Renesas Electronics, incorporating programming facilities. The emulator is used for programming or debugging the evaluation MCU. To connect the emulator, change the circuit as follows.
  • Page 32 RL78/G16 Fast Prototyping Board 5. User Circuits If you use COM port debugging with the use of the USB-to-serial converter, make the following change to settings as follows. • J10, J11, and J12: pins 1-2 are short-circuit Figure 5-14 Settings for Use with COM Port Debugging (Top Side) R12UM0048EJ0101 Rev.
  • Page 33: Handling Precautions

    RL78/G16 Fast Prototyping Board 6. Handling Precautions 6. Handling Precautions Power to be Supplied When power is supplied to this product from an emulator or through the USB, note that the total current of VDD, 5 V, and 3.3 V should not exceed the maximum current of 200 mA.
  • Page 34 RL78/G16 Fast Prototyping Board 6. Handling Precautions In some cases, a pattern for cutting may not be visible because it has been covered with coating of a resist. Also refer to the circuit schematics. In the circuit schematics, the symbol below indicates that there is a pattern for cutting between short-circuit pads.
  • Page 35: Power Supplies And Usage Conditions

    J15: open-circuit 5.0 V  Notes: 1. Connecting the RL78/G16 Fast Prototyping Board to an Arduino shield, a Pmod module, or a Grove module shall be conducted at the user’s own responsibility and should only proceed after confirming the ...
  • Page 36: Note On Using Qe For Capacitive Touch

    When you are using QE for Capacitive Touch (QE) with this product, change the circuits in the following cases (1) and (2). For the methods for developing touch applications with the use of QE in the RL78/G16 MCU, refer to the application note “RL78 Family Using the standalone version of QE to Develop Capacitive Touch Applications”...
  • Page 37 RL78/G16 Fast Prototyping Board 6. Handling Precautions (2) Not using the serial connection function of QE After the changes to the circuit have been made as described under “(1) Usage with the serial connection function of QE”, if you want to restore the settings to those for COM port debugging (including the case of the usage described under note above), make the following change of setting as follows.
  • Page 38: Note On Using P00/Txd0

    UART transmission to the P00/TxD0 line is written to the target MCU before the host PC recognizes the USB-to-serial converter as the COM port, the operation of the USB-to-serial converter may be unstable and prevent connection to the Renesas Flash Programmer or terminal software.
  • Page 39: Developing Code

    • [Target Device]: Select [R5F121BC]. • [Connection with Target Board]: [COM Port]: Select the COM port number for assignment to the RL78/G16 FPB from the pull-down list. [Reset control pin]: Select [DTR]. R5F121BC Figure 7-1 Settings of the e studio R12UM0048EJ0101 Rev.
  • Page 40: Using Com Port Debugging With Cs

    RL78/G16 Fast Prototyping Board 7. Developing Code Using COM Port Debugging with CS+ Figure 7-2 and Figure 7-3 show the settings of CS+ when it is to be connected to the RL78/G16 Fast Prototyping Board. • [Using Debug Tool]: Select [RL78 COM Port] from [Using Debug Tool] in the [Debug] menu.
  • Page 41: Certifications

    RL78/G16 Fast Prototyping Board 8. Certifications 8.Certifications The RL78/G16 Fast Prototyping Board meets the following certifications/standards. See page 4 of this user’s manual for the disclaimer and precautions. EMC/EMI Standards • CE Class A (EMC) This product is herewith confirmed to comply with the requirements set out in the Council Directives on the Approximation of the laws of the Member States relating to Electromagnetic Compatibility Directive 2014/30/EU.
  • Page 42: Material Selection, Waste, Recycling And Disposal Standards

    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; https://www.renesas.com/eu/en/support/regional-customer-support/weee Safety Standards •...
  • Page 43: Revision History

    RL78/G16 Fast Prototyping Board User’s Manual Revision History Rev. Date Description Page Summary ⎯ 1.00 May.01.23 First Edition issued 1.01 Oct.01.24 Page 4 Added the disclaimer. Pmod Page 13 Added Type 2A signal names to Table 5-3. Page 14,17 Added the recovery method for when P125 is misconfigured.
  • Page 44 RL78/G16 Fast Prototyping Board User’s Manual Publication Date: Rev.1.01 Oct.01.2024 Published by: Renesas Electronics Corporation...
  • Page 45 RL78/G16 Fast Prototyping Board R12UM0048EJ0101...

This manual is also suitable for:

Rl78 series

Table of Contents