RENESAS RL78 G15 Fast Prototyping Board User Manual

June 16, 2024
RENESAS

RENESAS-logo

RENESAS RL78 G15 Fast Prototyping Board

RENESAS-RL78-G15-Fast-Prototyping-Board-product

Product Information

Specifications

  • Product: RL78/G15 Fast Prototyping Board
  • Microcontrollers: 16-Bit Single-Chip Microcontrollers RL78 Family
  • Manufacturer: Renesas Electronics Corp.
  • Website: http://www.renesas.com
  • Headquarters: TOYOSU FORESIA, 3-2-24 Toyosu, Koto-ku, Tokyo 135-0061, Japan

FAQ

  • Q: Can I modify the RL78/G15 Fast Prototyping Board?
    • A: No, it is advised not to alter, modify, copy, or reverse engineer any Renesas Electronics product, including the RL78/G15 Fast Prototyping Board. Doing so may result in voiding the warranty and could lead to unexpected behavior or damage.
  • Q: Where can I find additional support for the RL78/G15 Fast Prototyping Board?
    • A: For any questions or concerns about the RL78/G15 Fast Prototyping Board or other Renesas Electronics products, please contact a Renesas Electronics sales office or visit their website for support.

Product Usage Instructions

Safety Precautions

Before using the RL78/G15 Fast Prototyping Board, please read and understand the following safety precautions:

  • Follow all applicable laws and regulations regarding the use of electronic devices.
  • Avoid exposing the board to extreme temperatures, moisture, or direct sunlight.
  • Do not drop or subject the board to excessive force.
  • Only use the provided power supply or a compatible power source.
  • Disconnect the power supply before making any connections or modifications.
  • Do not touch exposed circuitry while the board is powered on.

Product Features

The RL78/G15 Fast Prototyping Board offers the following features:

  • 16-bit single-chip microcontroller
  • Fast prototyping capabilities
  • Designed for the RL78 family of microcontrollers
  • Highly configurable and programmable
  • Supports various input/output interfaces
  • Compatible with Renesas Electronics products

Getting Started

To start using the RL78/G15 Fast Prototyping Board, follow these steps:

  1. Ensure you have the necessary software development environment installed.
  2. Connect the board to your computer using the provided USB cable.
  3. Install any required device drivers if prompted by your operating system.
  4. Launch the software development environment and open the sample project or create a new one.
  5. Compile and upload the project to the board.
  6. The board is now ready for use.

Troubleshooting

If you encounter any issues while using the RL78/G15 Fast Prototyping Board, consider the following troubleshooting steps:

  1. Ensure all connections are secure and properly inserted.
  2. Check if the board is receiving power.
  3. Verify that the correct firmware is loaded onto the board.
  4. Refer to the user manual or online resources for specific troubleshooting information.
  5. Contact Renesas Electronics support if the issue persists.

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).

Safety Information

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 or any other use of the circuits, software, and information in the design of your product or system. Renesas Electronics disclaims any and all liability for any losses and damages incurred by you or third parties arising from the use of these circuits, software, or information.

  2. Renesas Electronics hereby expressly disclaims any warranties against and liability for infringement or any other claims involving 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, including but not limited to, the product data, drawings, charts, programs, algorithms, and application examples.

  3. 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 shall be responsible for determining what licenses are required from any third parties, and obtaining such licenses for the lawful import, export, manufacture, sales, utilization, distribution or other disposal of any products incorporating Renesas Electronics products, if required.

  5. You shall not alter, modify, copy, or reverse engineer any Renesas Electronics product, whether in whole or in part. Renesas Electronics disclaims any and all liability for any losses or damages incurred by you or third parties arising from such alteration, modification, copying or reverse engineering.

  6. Renesas Electronics products are classified according to the following two quality grades: “Standard” and “High Quality”. The intended 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; industrial robots; etc.
    “High Quality”: Transportation equipment (automobiles, trains, ships, etc.); traffic control (traffic lights); large-scale communication equipment; key financial terminal systems; safety control equipment; etc.
    Unless expressly designated as a high reliability product or a product for harsh environments in a Renesas Electronics data sheet or other Renesas Electronics document, Renesas Electronics products are not intended or 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 damage (space system; undersea repeaters; nuclear power control systems; aircraft control systems; key plant systems; military equipment; etc.). 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.

  7. No semiconductor product is absolutely secure. Notwithstanding any security measures or features that may be implemented in Renesas Electronics hardware or software products, Renesas Electronics shall have absolutely no liability arising out of any vulnerability or security breach, including but not limited to any unauthorized access to or use of a Renesas Electronics product or a system that uses a Renesas Electronics product. RENESAS ELECTRONICS DOES NOT WARRANT OR GUARANTEE THAT RENESAS ELECTRONICS PRODUCTS, OR ANY SYSTEMS CREATED USING RENESAS ELECTRONICS PRODUCTS WILL BE INVULNERABLE OR FREE FROM CORRUPTION, ATTACK, VIRUSES, INTERFERENCE, HACKING, DATA LOSS OR THEFT, OR OTHER SECURITY INTRUSION (“Vulnerability Issues”). RENESAS ELECTRONICS DISCLAIMS ANY AND ALL RESPONSIBILITY OR LIABILITY ARISING FROM OR RELATED TO ANY VULNERABILITY ISSUES. FURTHERMORE, TO THE EXTENT PERMITTED BY APPLICABLE LAW, RENESAS ELECTRONICS DISCLAIMS ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, WITH RESPECT TO THIS DOCUMENT AND ANY RELATED OR ACCOMPANYING SOFTWARE OR HARDWARE, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.

  8. When using Renesas Electronics products, refer to the latest product information (data sheets, user’s manuals, application notes, “General Notes for Handling and Using Semiconductor Devices” in the reliability handbook, etc.), and ensure that usage conditions are within the ranges specified by Renesas Electronics with respect to maximum ratings, operating power supply voltage range, heat dissipation characteristics, installation, etc. Renesas Electronics disclaims any and all liability for any malfunctions, failure or accident arising out of the use of Renesas Electronics products outside of such specified ranges.

  9. Although Renesas Electronics endeavors to improve the quality and reliability of Renesas Electronics products, semiconductor products have specific characteristics, such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Unless designated as a high reliability product or a product for harsh environments in a Renesas Electronics data sheet or other Renesas Electronics document, Renesas Electronics products are not subject to radiation resistance design. You are responsible for implementing safety measures to guard against the possibility of bodily injury, injury or damage caused by fire, and/or danger to the public in the event of a failure or malfunction of Renesas Electronics products, 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 and impractical, you are responsible for evaluating the safety of the final products or systems manufactured by you.

  10. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product. You are responsible for carefully and sufficiently investigating applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive, and using Renesas Electronics products in compliance with all these applicable laws and regulations. Renesas Electronics disclaims any and all liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations.

  11. Renesas Electronics products and technologies shall 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 shall comply with any applicable export control laws and regulations promulgated and administered by the governments of any countries asserting jurisdiction over the parties or transactions.

  12. It is the responsibility of the buyer or distributor of Renesas Electronics products, or any other party who distributes, disposes of, or otherwise sells or transfers the product to a third party, to notify such third party in advance of the contents and conditions set forth in this document.

  13. This document shall not be reprinted, reproduced or duplicated in any form, in whole or in part, without prior written consent of Renesas Electronics.

  14. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products.

(Note1) “Renesas Electronics” as used in this document means Renesas Electronics Corporation and also includes its directly or indirectly controlled subsidiaries.
(Note2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.

Contact

Corporate Headquarters

  • TOYOSU FORESIA, 3-2-24 Toyosu, Koto-ku, Tokyo 135-0061, Japan
  • www.renesas.com

Contact information

  • For further information on a product, technology, the most up-to-date version of a document, or your nearest sales office, please visit: www.renesas.com/contact/.

Trademarks

  • Renesas and the Renesas logo are trademarks of Renesas Electronics Corporation.
  • All trademarks and registered trademarks are the property of their respective owners.

General Precautions

General Precautions in the Handling of Microprocessing Unit and Microcontroller 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.

  1. Precaution against Electrostatic Discharge (ESD)
    • A strong electrical field, when exposed to a CMOS device, can cause destruction of the gate oxide and ultimately degrade the device operation. Steps must be taken to stop the generation of static electricity as much as possible, and quickly dissipate it when it occurs. Environmental control must be adequate. When it is dry, a humidifier should be used. This is recommended to avoid using insulators that can easily build up static electricity. Semiconductor devices must be stored and transported in an anti-static container, static shielding bag or conductive material. All test and measurement tools including work benches and floors must be grounded. The operator must also be grounded using a wrist strap. Semiconductor devices must not be touched with bare hands. Similar precautions must be taken for printed circuit boards with mounted semiconductor devices.
  2. Processing at power-on
    • The state of the product is undefined at the time 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 time 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 time 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 time when power is supplied until the power reaches the level at which resetting is specified.
  3. Input of signal during power-off state
    • Do not input signals or an I/O pull-up power supply while the device is powered off. The current injection that results from input of such a signal or I/O pull-up power supply may cause malfunction and the abnormal current that passes in the device at this time may cause degradation of internal elements. Follow the guideline for input signal during power-off state as described in your product documentation.
  4. 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 the 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.
  5. Clock signals
    • After applying a reset, only release the reset line after the operating clock signal becomes stable. When switching the clock signal during program execution, wait until the target clock signal is 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. Additionally, 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.
  6. Voltage application waveform at input pin
    • Waveform distortion due to input noise or a reflected wave may cause malfunction. If the input of the CMOS device stays in the area between VIL (Max.) and VIH (Min.) due to noise, for example, the device may malfunction. Take care to prevent chattering noise from entering the device when the input level is fixed, and also in the transition period when the input level passes through the area between VIL (Max.) and VIH (Min.).
  7. Prohibition of access to reserved addresses
    • Access to reserved addresses is prohibited. The reserved addresses are provided for possible future expansion of functions. Do not access these addresses as the correct operation of the LSI is not guaranteed.
  8. Differences between products
    • Before changing from one product to another, for example to a product with a different part number, confirm that the change will not lead to problems. The characteristics of a micro processing unit or microcontroller unit products in the same group but having a different part number might differ in terms of 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.

How to Use This Manual

Purpose and Target Readers

This manual is designed to provide the user with an understanding of the basic specifications and correct usage of this product.
The target users are those who will be using it in evaluating MCUs and debugging programs.
The target readers of this manual require basic knowledge regarding the facilities of MCUs and debuggers.

Particular attention should be paid to the precautionary notes when using the manual. These notes occur within the body of the text, at the end of each section, and in the Handling Precautions section.
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/G15 Fast Prototyping Board. Be sure to refer to the latest versions of these documents.

Document Type Description Document Title Document No.
User’s manual Hardware specifications RL78/G15 Fast Prototyping Board User’s
Manual R12UM0042EJ (this manual)
Circuit schematics Circuit schematics RL78/G15 Fast Prototyping Board
Circuit Schematics R12TU0169EJ
Parts list Parts list RL78/G15 Fast Prototyping Board BOM LIST R12TU0170EJ
User’s manual for the hardware Hardware specifications of the MCU (pin

assignments, memory maps, peripheral function specifications, electrical characteristics, timing charts) and descriptions of operation| RL78/G15

User’s Manual: Hardware

| R01UH0959EJ
Application note| Usage of the RL78 debugging functions using the serial port| RL78 Debugging Functions Using the Serial Port| R20AN0632EJ

List of Abbreviations and Acronyms

Abbreviation Full Form
Arduino™ Uno Connectors compatible with the Arduino™ Uno R3 board are mounted

on the fast prototyping board.
Pmod™| Peripheral module
CPU| Central Processing Unit
DIP| Dual In-line Package
DNF| Do Not Fit
Grove| A connector that is compatible with Grove modules can be mounted on the fast prototyping board.
IDE| Integrated Development Environment
IRQ| Interrupt Request
HOCO| High-Speed On-Chip Oscillator
LOCO| Low-Speed On-Chip Oscillator
LED| Light Emitting Diode
MCU| Micro-controller Unit
n/a (NA)| Not applicable
n/c (NC)| Not connected
PC| Personal Computer
RAM| Random Access Memory
RFP| Renesas Flash Programmer
ROM| Read Only Memory
SPI| Serial Peripheral Interface
USB| Universal Serial Bus
TPU| Timer Pulse Unit
UART| Universal Asynchronous Receiver/Transmitter
WDT| Watchdog timer

Proprietary Notice

All text, graphics, photographs, trademarks, logos, artwork, and computer code, collectively known as content, contained in this document is owned, controlled, or licensed by or to Renesas, and is protected by trade dress, copyright, patent and trademark laws, and other intellectual property rights and unfair competition laws. Except as expressly provided herein, no part of this document or content may be copied, reproduced, republished, posted, publicly displayed, encoded, translated, transmitted, or distributed in any other medium for publication or distribution or for any commercial enterprise, without prior written consent from Renesas.

“Pmod™” is the trademark of Digilent Inc. The Pmod Interface Specification is the property of Digilent Inc. For more information on the use of the Pmod trademark, please see our Pmod License Agreement page.
Arduino® is a trademark of Arduino SA. Other brands and names mentioned in this document may be the trademarks or registered trademarks of their respective holders.

Overview

This user’s manual describes the RL78/G15 Fast Prototyping Board (RTK5RLG150C00000BJ) (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

  • Programming of the Renesas MCU
  • Debugging of user code
  • User circuits for switches and LEDs
  • PmodTM connector*
  • ArduinoTM connector*

Note

  • We do not guarantee connection to all types of these connectors.
  • For details on the connector specifications, refer to the descriptions in this document.

Preparation

Installing the e2 studio IDE

For details on the procedure for installation, watch the video on “e2 studio Quick Start Guide Video for RL78 Family – Installation”.

https://www.renesas.com/software-tool/rl78-software-tool-course

  1. Download the installer for the latest version of the e2 studio from the following Web page https://www.renesas.com/software-tool/e-studio
  2. Unzip the downloaded zip file and run the installer file.
  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.
  6. When the software produces an installer window in the middle of installation, proceed with installation according to the instructions from the wizard.
  7. After installation has finished, click on the [OK] button.

Installing the CS+ IDE

  1. Download the installer for the latest version of CS+ for CC from the following Web page https://www.renesas.com/software-tool/cs
  2. Unzip the downloaded zip file and run the installer file.
  3. Click on [Begin CS+ Startup].
  4. Confirm that [Tools for RL78 family] has been selected.
  5. After installation has finished, click on the [OK] button.
Board Specification Table

Table 1-1 shows the board specifications

Table 1-1 Board Specification Table

Item Specification

Evaluation MCU (RL78/G15 with 20 pins)

| Part No.: R5F12068ASP
Package: 20-pin LSSOP
On-chip memory: 8-KB ROM, 1-KB RAM, 1-KB data flash memory
Board size| 53.34 mm x 68.58 mm
Power-supply voltage| VDD: 2.4 V to 5.5 V

Power-supply circuit*2

| USB connector: VBUS (5 V) or 3.3 V (default)
External power supply: 2.4 V to 5.5 V
E2 emulator or E2 emulator Lite
Current drawn| Max. 200 mA

Main clock*1

| OSC1: Crystal oscillator (surface-mount technology (SMT)) for the main system clock

OSC2: Crystal oscillator or ceramic resonator (lead type) for the main system clock

Sub-clock| ⎯

Push switches

| Reset switch x 1
User switch x 1

LEDs

| Power indicator: green x 1
User: green x 2
USB connector| Connector: Micro USB Type-B
Arduino™ connectors| Connectors: 6 pins x 1, 8 pins x 2, 10 pins x 1

The interfaces are compatible with the Arduino™ Uno R3 board.

Pmod™ connector| Connector: Angle type, 12 pins (2 x 6) x 1
MCU headers*1| Headers: 10 pins x 2
USB-to-serial converter| Used as the interface with the RL78 COM port debug tool.

FT232RQ from FTDI x 1

USB-to-serial converter reset header| Header: 2 pins x 1 (open-circuit by default)
Current measurement header1| Header: 2 pins x 1
Power-supply selection header
2| Header: 3 pins x 1
Emulator connector*1| 14-pin connector for connecting an E2 emulator or E2 emulator Lite

Emulator selection headers: 2 pins x 3

Notes

  1. This part is not mounted.
  2. The intended source of power for the evaluation MCU on the board as shipped is VBUS (5 V). Setting a jumper is required if power is to be supplied from other sources. For details, refer to Chapter 5, User Circuits.

Block Diagram

  • Figure 1-1 shows the block diagram of this product.

RENESAS-RL78-G15-Fast-Prototyping-Board-fig-1

Board Layout

RENESAS-RL78-G15-Fast-Prototyping-Board-fig-2

  • Figure 2-1 shows the external appearance of the top side of this product.
Parts Layout

RENESAS-RL78-G15-Fast-Prototyping-Board-fig-3

  • Figure 3-1 shows the parts layout of this product.RENESAS-RL78-G15-Fast-Prototyping-Board-fig-4
  • Figure 3-2 shows the external dimensions of this product.

Operating Environment

RENESAS-RL78-G15-Fast-Prototyping-Board-fig-5

  • Figure 4-1 shows the operating environment of this product. Install the IDE on the host PC you are using.

User Circuits

Evaluation MCU

The specifications for the power supply, system clock, and reset of the evaluation MCU (RL78/G15) at the time of shipment are as follows.

  • Power supply: 5 V (VBUS) supplied from the USB (including the analog power supply)
  • System clock: Operation with an on-chip oscillator
  • Reset: Directed by the reset switch or IDE

USB Connector

The connector shape is micro-USB Type-B. It serves as a power-supply input and an interface for communications with the RL78 COM port debug tool (through USB-to-serial conversion). Connect the USB connector to the host PC by a USB cable. If the power supply on the host side is on, the power is supplied to this product at the same time as connection of the cable.

Note

  • The package does not include a USB cable. Do not connect a USB cable while the emulator is supplying power.

Power LED

  • While the power LED is illuminated, VDD power is being supplied. The LED is green.

User LEDs

The optional user LEDs can be used for any purpose. LED1 and LED2 are mounted on the board and are respectively connected to the following ports. The LEDs are green.

  • LED1: Pin 2, connected to port P20
  • LED2: Pin 1, connected to port P21

ArduinoTM Connectors

The specification of the ArduinoTM connectors is on the assumption that ArduinoTM shields are to be connectable. However, we do not guarantee connection to all types of ArduinoTM shield. Confirm the specifications of this product against any ArduinoTM shield you intend to use.

RENESAS-RL78-G15-Fast-Prototyping-Board-fig-6

  • Figure 5-1 and Table 5-1 show the pin assignments of the ArduinoTM connectors.

Table 5-1: Pin Assignments of the ArduinoTM Connectors

Part No. in the Circuit Schematics| Name of Arduino ä Signal 1| RL78/G15 *2 3
---|---|---
Pin| Power Supply| Port| Analog| PWM| Serial| Others**
J3-1| N.C.| –| –| –| –| –| –| –
J3-2| IOREF| 10| VDD| –| –| –| –| –
J3-3| RESET| 5| –| –| –| –| –| RESET
J3-4| 3V3| –| –| –| –| –| –| –
J3-5| 5V| –| –| –| –| –| –| –
J3-6| GND| 9| VSS| –| –| –| –| –
J3-7| GND| 9| VSS| –| –| –| –| –
J3-8| VIN| –| –| –| –| –| –| –
J4-1| A0| 19| –| P23| ANI7| –| –| –
J4-2| A1| 20| –| P22| ANI8| –| –| –
J4-3| A2| 13| –| P02| ANI1| –| –| –
J4-4| A3| (16)| –| (P05)| (ANI4)| –| –| –
J4-5| A4| (17)| –| (P06)| (ANI5)| –| –| –
J4-6| A5| (18)| –| (P07)| (ANI6)| –| –| –
J5-1| IO0| 15| –| P04| –| –| [RxD0]| –
J5-2| IO1| 14| –| P03| –| –| [TxD0]| –
J5-3| IO2| 6| –| P137| –| –| –| INTP0
J5-4| IO~3| 3| –| P41| –| TO03| –| INTP4
J5-5| IO4| 1| –| P21| –| –| –| –
J5-6| IO~5| (19)| –| (P23)| –| (TO04)| –| –
J5-7| IO~6| (20)| –| (P22)| –| (TO06)| –| –
J5-8| IO7| 2| –| P20| –| –| –| –
J6-1| IO8| (4)| –| (P40)| –| –| –| TOOL0
J6-2| IO~9| (7)| –| (P122)| –| (TO05)| –| –
J6-3| IO~10| (8)| –| (P121)| –| (TO07)| –| –
J6-4| IO~11| (14)| –| (P03)| –| –| ([SO00])| –
J6-5| IO12| (15)| –| (P04)| –| –| ([SI00])| –
J6-6| IO13| 16| –| P05| –| –| [SCK00]| –
J6-7| GND| 9| VSS| GND| –| –| –| –
J6-8| ADREF| –| –| –| –| –| –| –
J6-9| SDA| 18| –| P07| –| –| SDAA0| –
J6-10| SCL| 17| –| P06| –| –| SCLA0| –

Notes

  1. “x” in IOx and IO~x means a pin number for the ArduinoTM IDE. The ArduinoTM IDE will be supported in the future.
  2. Short-circuit the short-circuit pads for signals with names enclosed in parentheses, “()”.
  3. When using a signal with “[]”, require PIORx register setting.

MCU Headers

The MCU headers are provided as through holes J1 and J2 for a total of 10 pins. The pin headers have a pitch of 2.54 mm and the evaluation MCU is connected to the through holes for the headers.
Table 5-2 shows the pin assignments of the MCU headers.

Table 5-2: Pin Assignments of the MCU Headers

Part No. in the Circuit Schematics RL78/G15
Pin Port and Peripheral Modules
J1-1 1
J1-2 2
J1-3 3
J1-4 4
J1-5 5
J1-6 6
J1-7 7
J1-8 8
J1-9 9
J1-10 10
J2-1 11
J2-2 12

/(SI01)/(SDA01)/(SDAA0)

| TOOLRXD
J2-3| 13| P02/ANI1/VCOUT0/SCK00/SCL00/PCLBUZ0/INTP7/(TI01/TO01)/(SO01)|
J2-4| 14| P03/ANI2/IVCMP0/(TI00)/TO00/INTP4/((SO00/TXD0))|
J2-5| 15| P04/ANI3/IVREF0/TI01/TO01/INTP3/((SI00/RXD0/SDA00))/(SO00/TXD0)|
J2-6| 16| P05/ANI4/SO01/TI02/TO02/(INTP6)/((SCK00/SCL00))/(SI00/RXD0/SDA00)|
J2-7| 17| P06/ANI5/SI01/SDA01/SCLA0/(INTP7)/(PCLBUZ0)/(SCK00/SCL00)|
J2-8| 18| P07/ANI6/SCK01/SCL01/SDAA0/(TO03)/(INTP5)|
J2-9| 19| P23/ANI7/(SCL01)/(INTP6)/TI04/TO04|
J2-10| 20| P22/ANI8/(SDA01)/TI06/TO06/(INTP5)|

Note

  • When the RL78 COM port debug tool is in use, use of the P125/RESET pin as P125 is prohibited.

PmodTM Connector

The specification of the PmodTM connector is on the assumption that PmodTM modules are to be connectable. The PmodTM connector is assumed to be connected to the PmodTM Interface Type 6A module1. Using the short-circuit pads2 to switch the wiring also allows connection of the PmodTM connector to a Type 2A or 3A module*1.

Notes

  1. For details on the PmodTM module from Renesas, refer to the Web site at: https://www.renesas.com/quickconnect.
  2. Obtaining the configuration in Figure 5-2 requires switching the wiring by using the short-circuit pads.

However, we do not guarantee connection to all types of PmodTM module. Confirm the specifications of this product against any PmodTM module you intend to use.

RENESAS-RL78-G15-Fast-Prototyping-Board-fig-7

  • Figure 5-2 and Table 5-3 show the pin assignments of the PmodTM connector.

Table 5-3: Pin Assignments of PmodTM

Pin No. of Pmod ä| Name of Pmod ä Signal 1 [Type 6A (2A/3A)]| RL78/G15 1
---|---|---
Pin| Signal Name [Type 6A (2A/3A)]
1| INT(SS/CTS)| 13| INTP7/(P02)
2| RESET(MOSI/TXD)| 14| P03/([SO00]/[TXD0])
3| ****

SCL(MISO/RXD)

| 17

(15)

| P06/SCLA0

(P04/[SI00]/[RXD0])*2

4| ****

SDA(SCK/RTS)

| 18

(16)

| P07/SDAA0

(P05/[SCK00])*2

5| GND| –| GND
6| VCC| –| VCC
7| IO1(INT/GPIO)| 3| P41/([INTP4])
8| IO2(RESET/GPIO)| 20| P22
9| IO3(GPIO)| 19| P23
10| IO4(GPIO)| 6| P137
11| GND| –| GND
12| VCC| –| VDD

Notes

  1. The signal names enclosed in parentheses, “()”, are specified for use with a Type 2A or 3A module.
  2. To use the signals for Type 2A or 3A, make the following changes to settings.
    • Pattern for cutting [SS03]: cut
    • Pattern for cutting [SS04]: cut
    • Short-circuit pad [SC01]: short-circuit
    • Short-circuit pad [SC02]: short-circuit
  3. When using a signal with “[]”, require PIORx register setting.

Clock

Clock circuits are provided to handle the clock sources for the evaluation MCU. For details on the specifications of the evaluation MCU, refer to the RL78/G15 User’s Manual: Hardware. For details on the clock circuit of this product, refer to the circuit schematics of the RL78/G15 Fast Prototyping Board. Table 5-4 shows the details of the clocks on the RL78/G15 Fast Prototyping Board.

Table 5-4: Details of Clocks

Clock| Function and Usage| State as Shipped| Frequency| Package for the Oscillator
---|---|---|---|---
OSC1| Crystal oscillator for the main system clock| Not mounted| n/a| SMT
OSC2
| Crystal oscillator or ceramic resonator for the main system clock| Not mounted| n/a| Lead type

Note

  • Use the main system clock by cutting the patterns for cutting [SS34] and [SS35] and short-circuiting the short-circuit pads [SC15] and [SC16].

Reset Switch

  • Pressing the reset switch (RST) applies a hardware reset to the evaluation MCU.

User Switch

  • An optional user switch (SW) is mounted.
  • It is connected to pin 6 of the evaluation MCU, which operates as pin function P137. The INTP0 interrupt is multiplexed on the same pin.

USB-to-Serial Converter

  • A USB-to-serial converter (FT232RQ) from FTDI is mounted on the board and is usable with the standard driver of Windows 10.
  • For other operating systems, install the driver by downloading from the following Web site of FTDI.

http://www.ftdichip.com/Drivers -> VCP Drivers

The USB-to-serial converter reset header (J14) is open-circuit; it is recognized as a COM port when the host PC is connected to this board via a USB cable.

As the interface with the RL78 COM port debug tool, the USB-to-serial converter enables debugging and programming of the evaluation MCU. Refer to Chapter 7, Developing Code. Note that the P40, P01, and P00 pins of the evaluation MCU are respectively occupied as the TOOL0, TOOLRxD, and TOOLTxD functions. When the RL78 COM port debug tool is in use, use of the P125/RESET pin as the P125 port pin is prohibited. Do not make the option byte setting for using P125.

For the method of COM port debugging, refer to the application note, RL78 Debugging Functions Using the Serial Port (R20AN0632). When the USB-to-serial converter is not used as the interface with the RL78 COM port debug tool, using the RxD0 and TxD0 functions of the P01 and P00 pins enables UART communications between the host PC and the evaluation MCU. The user needs to prepare the terminal software, such as TeraTerm.

USB-to-Serial Converter Reset Header

RENESAS-RL78-G15-Fast-Prototyping-Board-fig-8

The USB-to-serial converter is placed in the forced reset state by short- circuiting its reset header (J14). 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. This allows the use of P01 (RxD0) and P00 (TxD0) as facilities other than for a UART, such as port pins, while a reset is being applied to the USB-to-serial converter. Even if P01 and P00 are used as facilities other than for a UART, such as port pins, the board must be connected to the host PC by using the USB cable. Figure 5-3 shows the position of the USB-to-serial converter reset header.

Power-Supply Selection Header

The operating power (VDD) of the evaluation MCU can be changed to 5 V or 3.3 V or to supply from the emulator or external power with the use of a header (J15). Only change the jumper setting of J15 while power is not being supplied.

RENESAS-RL78-G15-Fast-Prototyping-Board-fig-9

  • 1-2 of J15 being short-circuit selects a 5-V power supply. This is the default setting as shipped (Figure 5-4).RENESAS-RL78-G15-Fast-Prototyping-Board-fig-10
  • 2-3 of J15 being short-circuit selects a 3.3-V power supply (Figure 5-5).RENESAS-RL78-G15-Fast-Prototyping-Board-fig-11
  • J15 being open-circuit selects supply from the emulator or external power (Figure 5-6).
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. The usable voltages depend on the evaluation MCU. Destinations for the connection of an external power supply:

  • VDD: pin J16-1 on the external power-supply header
  • GND: pin J16-2 on the external power-supply header

RENESAS-RL78-G15-Fast-Prototyping-Board-fig-12

Figure 5-7 shows the positions of the external power supply.

When an external power supply is used, confirm that the I/O voltages for ArduinoTM shields or Pmod modules are correct.

Current Measurement Header

RENESAS-RL78-G15-Fast-Prototyping-Board-fig-13

This header (J7) is used to measure the current drawn by the evaluation MCU (J7 header components are not mounted). Connecting an ammeter to this product enables measurement of the current being drawn by the evaluation MCU. Take care to cut the given pattern for cutting (SS30) if this header is to be used. Figure 5-8 shows the positions of the current measurement header and pattern for cutting.

RENESAS-RL78-G15-Fast-Prototyping-Board-fig-14

Insert an ammeter between the sockets of the current measurement header (J7) to measure the current. Cut the pattern for cutting (SS27) (Figure 5-10) and turn down the LED to reduce the current drawn with an MCU other than the evaluation MCU. Figure 5-9 is a block diagram of the power-supply lines related to the measurement of current drawn. For a block diagram of the power- supply circuit as a whole, refer to Figure 6-2.

Pattern for Cutting the I/O Power Supply for the USB-to-Serial Converter

RENESAS-RL78-G15-Fast-Prototyping-Board-fig-15

  • If you intend to use this board without connecting a USB connector, cut the given pattern for cutting (SS27). Figure 5-10 shows the position of the pattern for cutting.

Emulator Connector

This 14-pin connector (J9) 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.

RENESAS-RL78-G15-Fast-Prototyping-Board-fig-16

  • J9: 14-pin connector must be mounted.
  • J10, J11, and J12: pins 2-3 are short-circuit
  • Pattern for cutting [SS31]: cut
  • Pattern for cutting [SS32]: cut
  • Pattern for cutting [SS33]: cut

For the usage of the emulator, refer to the E1/E20/E2 Emulator, E2 emulator Lite Additional Document for User’s Manual (Notes on Connection of RL78) (R20UT1994).

If you use COM port debugging with the use of the USB-to-serial converter, make the following change to settings as follows.

RENESAS-RL78-G15-Fast-Prototyping-Board-fig-17

  • J10, J11, and J12: pins 1-2 are short-circuit
    • For patterns for cutting (SS31, SS32, and SS33) that have been cut, solder need not to be applied.

Handling Precautions

Power to be Supplied

When power is supplied to this product through the USB or from an emulator, note that the total current of VDD, 5 V, and 3.3 V should not exceed the maximum current of 200 mA.

Remodeling the Board

  • Any modification of the board (including cutting the patterns for cutting) shall be conducted at the user’s own responsibility.

The following shows the settings of jumpers as shipped

  • J14: open-circuit
  • J15: pins 1-2 are short-circuit

RENESAS-RL78-G15-Fast-Prototyping-Board-fig-18

In this document, “short-circuit pads” refers to pairs of pads for short- circuiting by solder. “Pattern for cutting” refers to a narrow signal pattern in the middle part between two short-circuit pads. When you cut the pattern for cutting, do not cut over the silkscreened frame of a white ellipse.

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 to the left indicates an SS short-circuit pad, for which the default state is short-circuit and that there is a pattern for cutting between short-circuit pads.
  • In the circuit schematics, the symbol to the left indicates an SC short-circuit pad, for which the default state is open-circuit and that there are only short-circuit pads without any pattern for cutting.

Power Supplies and Usage Conditions

Different power supplies can be selected. Table 6-1 shows the relationship between power-supply sources and usage conditions.
Figure 6-2 shows the block diagram of the power-supply circuit.

Table 6-1: Power-Supply Sources and Usage Conditions

Power-Supply Source Usage Condition
Power

supplied to the

| Use of Arduino ä shields 1| Use of Pmod ä modules 1| Use of an emulator and IDE| Jumper setting 2
| evaluation MCU| | | |
USB
4| 5 V or 3.3 V| Possible| Possible| Possible3| Not required
(default)| | | | | ·       J15: 1-2 short-circuit: 5 V (default)
| | | | | Required
| | | | | ·       J15: 2-3 short-circuit: 3.3 V
External power supply| 2.4 V to 5.5 V| Possible| Possible| Possible
3| Required

·       J15: open-circuit

Emulator| E2 Lite: 3.3 V

E2: 2.4 V to

5.0 V

| Possible*5| Possible| Possible| Required

·       J15: open-circuit

Notes

RENESAS-RL78-G15-Fast-Prototyping-Board-fig-21

  1. Connecting the RL78/G15 Fast Prototyping Board to an ArduinoTM shield or a PmodTM module shall be conducted at the user’s own responsibility and should only proceed after confirming the specifications of the power supply and interfaces. When an ArduinoTM shield requires the supply of 5-V or 3.3-V power, connect the host PC to this board via the USB cable.
  2. Requirements for modifications after shipment are stated in this column.
  3. Use the IDE in a state where power is being supplied from a source other than the emulator.
  4. If power to be supplied to this product other than via the USB, make J15 open-circuit and cut the pattern for cutting (VCCIO) (Figure 5-10).
  5. The shape of the ArduinoTM shield may make using this product with the emulator difficult.

Precautions when using P00/TxD0

In this product, If you write a user program to the target MCU that starts UART transmission output to the P00/TxD0 line when the power is turned on, immediately after resetting the USB-serial converter, or before the host PC recognizes the USB-serial converter as the COM port, the USB-serial converter device may become unstable, and you may not be able to connect to Renesas Flash Programmer or terminal software.

In such a case, hold down the reset switch, turn on the power (connect the USB cable), wait until the host PC recognizes it as a COM port (about 3 seconds), then release the reset switch. Alternatively, while holding down the reset switch, reset the USB-serial converter (short J14 once and return it to open), wait until the host PC recognizes it as a COM port (about 3 seconds), then release the reset switch. Then erase the user program with Renesas Flash Programmer.

Developing Code

Use the e2 studio or CS+, both of which support the evaluation MCU (RL78/G15).

Using the e2 studio

Figure 7-1 shows the settings of the e2 studio when it is to be connected to the RL78/G15 Fast Prototyping Board.

RENESAS-RL78-G15-Fast-Prototyping-Board-fig-22

  • [Debug hardware]: Select [COM port (RL78)].
  • [Target Device]: Select [R5F12068ASP].
  • [Connection with Target Board]:
    • [COM Port]: Select the COM port number for assignment to the RL78/G15 FPB from the pull-down list.
    • [Reset control pin]: Select [DTR].

Using CS+

  • Figure 7-2 and Figure 7-3 show the settings of CS+ when it is to be connected to the RL78/G15 Fast Prototyping Board.

[Using Debug Tool]:

  • Select [RL78 COM Port] from [Using Debug Tool] in the [Debug] menu.

[Connection with Target Board]

RENESAS-RL78-G15-Fast-Prototyping-Board-fig-24

  • [Communication port]: Select the COM port number for assignment to the RL78/G15 FPB from the pull-down list.
  • [Reset control pin]: Select [DTR].

For details and points for caution, refer to the following application note for the RL78 COM port debug tool.

  • RL78 Debugging Functions Using the Serial Port (R20AN0632)

Additional Information

Technical Support

  • For details on the usage of the IDE, refer to its help menu.
  • For details on the evaluation MCU (RL78/G15), refer to the RL78/G15 User’s Manual: Hardware.
  • For details on the RL78 assembly language, refer to the RL78 Family User’s Manual: Software.

Technical Contact Details

Note

  • Do not install the RL78/G15 Fast Prototyping Board or sample code into your product.
  • The operation of sample code is not guaranteed. Confirm the operation on your own responsibility.

Copyright

This document may be, wholly or partially, subject to change without notice. All rights reserved. Duplication of this document, either in whole or part is prohibited without the written permission of Renesas Electronics Europe Limited.

© 2022 Renesas Electronics Corporation. All rights reserved.

Revision History RL78/G15 Fast Prototyping Board User’s Manual
Rev. Date
--- ---
Page Summary
1.00 Oct.1.22

www.renesas.com

References

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

Related Manuals