Skip to main content
Renesas Electronics Corporation

Description

The RL78/G22 Fast Prototyping Board, featuring the RL78/G22 microcontroller, is ideal for various prototype development. It supports OTA firmware updating of a secondary MCU, Wi-Fi, LoRa and LoRaWAN-based wireless communication, and so on by sample code. The built-in emulator circuit that is equivalent to E2 emulator Lite allows programming and debugging without extra tools. Additionally, it has Arduino Uno and Pmod™ interfaces, access to all microcontroller pins, and high scalability. It includes two touch buttons and one slider using a capacitive sensor unit, unique to RL78/G22. Renesas also provides an Arduino library that supports creating various programs (sketches) on the Arduino IDE.

Note: This board comes with two touch buttons and one slider using a capacitive sensor unit for simple evaluation, but when designing an actual board, please check the Capacitive Sensor Microcontrollers CTSU Capacitive Touch Electrode Design Guide (R30AN0389) and use the Capacitive Touch Evaluation System for RL78/G22 (RSSK-RL78G22) for evaluation.

Features

  • Equipped with an RL78/G22 16-bit microcontroller (R7F102GGE2DFB)
    • 32MHz, RL78-S3 Core
    • ROM: 64KB, RAM: 4KB, Data Flash 2KB
    • 48-pin LFQFP, 7mm x 7mm x 1.7mm, 0.5mm pitch
  • Programs can be written and debugged via the COM Port communication by connecting it to a PC with a USB cable
  • Able to access all the microcontroller pins
  • Comes standard with Arduino Uno, Pmod™ and Grove interfaces
  • Arduino library available
  • Equipped with capacitive touch sensor buttons
  • Support for various RL78 software and tools

Applications

Type Title Date
Manual - Development Tools PDF 1.41 MB 日本語
Quick Start Guide PDF 250 KB
Schematic PDF 403 KB 日本語
Other PDF 111 KB 日本語
Application Note PDF 1.02 MB 日本語
This application note describes a firmware updating communications module for the RL78/G22 and RL78/G23.
Application Note PDF 4.94 MB 日本語
By using the module, users can easily incorporate firmware update functionality and secure boot functionality into their applications. The firmware update module provides middleware that functions as a component when adding firmware update functionality to the user's system.
Application Note PDF 1.91 MB 日本語
AI-generated Summary: The RL78/G23 hardware design guide details essential hardware design considerations including typical circuit schematics, power supply circuits, oscillator circuits, I/O port recommendations, A/D converter notes, and on-chip debug circuits. It emphasizes proper component selection and placement, such as bypass capacitors with good frequency characteristics, and wiring patterns for power supply pins to ensure stable operation. The guide also covers power supply timing requirements, reset pin usage, and external component recommendations to optimize device performance and reliability. It includes a minimum external components list and cautions on unused pin connections and package-specific soldering instructions.
Application Note PDF 579 KB
The LoRaWAN stack supports LoRaWAN interface which implements LoRaWAN protocol (Class A/B/C) specified in the specification version 1.0.4 and 1.0.3 which encompasses version 1.0.2. This document describes the API references and other information to use the LoRaWAN stack.
Application Note PDF 490 KB
The LoRaWAN stack supports LoRaWAN interface which implements LoRaWAN protocol (Class A/B/C) specified in the specification version 1.0.4 and 1.0.3 which encompasses version 1.0.2. This document describes a sample software to control the LoRaWAN stack by AT command sets.
Application Note PDF 482 KB
The Private LoRa stack supports a custom protocol for the LoRa-based wireless communication, which can be mainly used for the peer-to-peer and star network. This document describes the API references and other information to use the Private LoRa stack.
Application Note PDF 493 KB
The Private LoRa stack supports a custom protocol for the LoRa-based wireless communication, which can be mainly used for the peer-to-peer and star network. This document describes a sample software to control the Private LoRa stack by AT command sets.
Application Note PDF 651 KB
The LoRaWAN Sensor Demo package includes sample software that introduces how to visualize sensor data transmitted by a sensor node to Cloud (AWS/Azure) via LoRaWAN networks. This document describes the specification and usage of the sample software.
Application Note PDF 2.01 MB
This LoRa-based wireles softwar package includes the sample software and evaluation tools to develop the LoRa and LoRaWAN based applications.This document describes the information on the contents of this package and how to setup the hardware and software.
Application Note PDF 411 KB
The Radio Driver supports basic wireless communictions such as transmit and receive frames with LoRa-based modulation and (G)FSK modulation. This document is an API reference guide for the Radio Driver and MCU timer driver.
Application Note PDF 430 KB
The support functions for regional radio regulations can be used for the Radio Driver to comply with the regional radio regulations. This document describes the support functions and how to configure each support function.
Application Note PDF 426 KB
The Radio Evaluation Program can be used when to evaluate the characteristics of the board utilizing the LoRa-based transceiver. This document describes the specification and usage of the Radio Evaluation Program.
Application Note PDF 1.15 MB
The RL78 Smart Configurator can automatically generate the driver programs to configure the peripherals, pins, interrupts, and clocks. This document describes the information on how to use the Smart Configurator for LoRa-based wireless software.
Manual - Software PDF 370 KB
Manual - Software PDF 1.86 MB
Application Note PDF 5.29 MB 日本語
AI-generated Summary: The document explains how to develop capacitive touch applications using the RL78/G22 fast prototyping board and the standalone version of QE for Capacitive Touch. It details creating projects with the Smart Configurator, tuning touch interfaces, and monitoring their operation. The development environment includes CS+ IDE, Smart Configurator, and QE tools. It supports RL78 family devices with capacitive sensing units and covers hardware and software setup, touch interface configuration, and sample application development. The document also provides detailed procedures for hardware timer use and code generation.
Application Note PDF 372 KB 日本語
AI-generated Summary: The Timer Array Unit (TAU0) measures pulse intervals by detecting rising and falling edges on the TI00 input pin, capturing timer counts to determine high-level and low-level pulse widths. Measurements store in on-chip RAM, with interrupts managing edge detection and data capture. The process includes initialization, edge detection, interrupt handling, and data storage, ensuring accurate pulse width measurement. Operation is confirmed on RL78/G22 hardware at 32 MHz, supporting various Renesas development environments. The document details specifications, operation flow, hardware setup, software configuration, and sample code for implementing pulse interval measurement using TAU0 channel 0.
Application Note PDF 460 KB 日本語
AI-generated Summary: The interval timer function of the Timer Array Unit (TAU0) uses timer interrupts (INTTM00) to invert an LED each time the interrupt occurs. The timer interrupt cycle changes based on the number of switch presses, adjusting the LED blinking interval through preset timing values (500 ms to 62.5 ms). The setup includes initializing the timer in interval mode, configuring I/O ports for LED output, and setting external interrupts for switch input detection. The timer counts interrupts and toggles the LED after 250 counts, while switch presses modify the timer interval dynamically.
Application Note PDF 460 KB 日本語
AI-generated Summary: The PWM output function uses timer array unit 0 (TAU0) channels 0 and 1 in simultaneous operation to control LED brightness by varying the duty cycle of PWM pulses. Channel 0 operates as the master timer generating interrupts every 2 ms, counting up to 250 interrupts (500 ms) to trigger duty cycle changes on channel 1, cycling through 10% to 90% duty cycles. LED2 output inverts every 500 ms to indicate duty cycle updates. The PWM output is delivered via the TO01 pin, with the output level set active-low and initial duty cycle at 90%. The program initializes TAU channels, configures I/O ports, and uses HALT mode to wait for timer interrupts, enabling efficient PWM control and LED brightness modulation.
Application Note PDF 481 KB 日本語
AI-generated Summary: The document explains how to measure pulse intervals using channel 0 of the Timer Array Unit 0 (TAU0) on the RL78/G22 microcontroller. It captures timer counts on valid rising edges at the TI00 input pin to determine pulse periods, storing results in on-chip RAM. The process involves initializing TAU0, setting capture mode, enabling interrupts, and repeatedly measuring pulse intervals. Operation conditions, hardware setup, and software implementation details are also provided to ensure accurate measurement and reliable operation.
Application Note PDF 1.18 MB 日本語
AI-generated Summary: Master transmission and reception using the serial interface IICA in a single-master system enable address transmission, data sending, and receiving with slave devices. The master selects slaves by their 7-bit addresses and communicates with them through data registers. Slave devices have a serial RAM area from 0x80 to 0xFF for data operations, while commands are issued via register 0x00. The communication follows IIC timing protocols, with detailed timing charts and control registers managing start, stop, acknowledge, and data transfer states. The document includes hardware and software configurations, flowcharts, and sample code to implement and verify IICA master communication effectively.
Application Note PDF 957 KB 日本語
AI-generated Summary: The document explains how to implement slave transmission and reception using the serial interface IICA in a single-master system. It details slave address handling, data transmission/reception, and the use of serial RAM for data storage. The slave address is fixed at 0b1010000, with a 128-byte serial RAM area accessible via specific register addresses. Communication timing, control registers, and interrupt handling are described to ensure proper IIC communication. The document also covers hardware and software configurations, including sample code and peripheral functions used for IIC communication.
Application Note PDF 351 KB 日本語
AI-generated Summary: UART communication is implemented using the Serial Array Unit (SAU) on the RL78/G22 microcontroller. The system transmits and receives ASCII characters, analyzing incoming data to generate appropriate responses or error messages. It uses SAU0 channels 0 and 1 with pins P12 (TxD0) and P11 (RxD0), operating at 9600 bps with 8-bit data length, even parity, and LSB first data transfer. Interrupts handle reception, transmission, and errors with low priority. Timing charts illustrate UART transmission and reception processes. The document provides detailed peripheral function settings, operation flowcharts, and sample code to facilitate UART communication implementation.
Application Note PDF 2.06 MB 日本語
AI-generated Summary: Wi-Fi communication in Soft AP mode enables direct device-to-device TCP communication without a Wi-Fi router by using DA16200/DA16600 modules controlled via UART and AT commands from the RL78/G22 MCU. The sample program configures the RL78/G22 as a TCP server, allowing control of an LED based on TCP client commands. It includes an AT command management framework facilitating communication and response handling, supporting flexible application development beyond TCP communication. Peripheral functions, option byte settings, and software hierarchy are detailed to support implementation.
Application Note PDF 5.24 MB 日本語
Application Note PDF 3.25 MB 日本語
AI-generated Summary: The document explains how to implement LTE Cat M1/NB1/NB2 communication using RL78/G22 as the host MCU and RYZ024A as the cellular module controlled via UART and AT commands. It details an MQTT communication sample application that supports Publish/Subscribe operations, power-saving features like eDRX and PSM, and an AT command management framework. The software architecture, peripheral usage, and low power operation methods are described. It also covers specific handling for the PMOD-RYZ024A expansion board and provides related references for further integration and development.
Application Note PDF 1.64 MB 日本語
AI-generated Summary: Modbus communication protocol supports data transfer between industrial devices using serial communication modes: Modbus ASCII and Modbus RTU. Modbus operates on a single-master/multi-slave network with up to 247 slaves, each having a unique address. Modbus ASCII transmits data as ASCII characters, increasing data size and transmission time, while Modbus RTU uses binary format for faster communication but requires timing for parsing. The protocol often uses RS-485 physical layer. Combining RL78 microcontrollers with Renesas RS-485 transceivers enables efficient Modbus communication for low-power and I/O control applications. The document details hardware and software configurations, including UART settings, timing intervals, and function codes, to implement Modbus ASCII/RTU communication.
Application Note PDF 300 KB 日本語
AI-generated Summary: The document explains how to perform analog-to-digital (A/D) conversion on the RL78/G22 microcontroller using software trigger and sequential conversion modes. It details configuring the A/D converter to convert analog signals from pin ANI0 into digital data, storing results in on-chip RAM. Initial register settings, operation flow including HALT mode waiting for conversion completion, and interrupt handling are covered. It also provides hardware configuration, operation confirmation conditions, and sample code to facilitate implementation.
Other PDF 367 KB
Other PDF 141 KB
PCB Design Files ZIP 2.58 MB
35 items

Software & Tools

Software & Tools

Software title
Software type
Company
E2 emulator [RTE0T00020KCE00000R]
On-chip debugging emulator. Also available as a flash memory programmer. [Support MCU/MPU: RA, RE, RH850, R-Car D1, RL78, RX, RISC-V MCU]
Emulator Renesas
E2 emulator Lite [RTE0T0002LKCE00000R]
On-chip debugging emulator. Also available as a flash memory programmer. [Support MCU/MPU: RA, RE, RL78, RX, RISC-V MCU]
Emulator Renesas
C Compiler Package for RL78 Family [CC-RL]
C Compiler Package for RL78 Family [IDE: CS+, e² studio]
Compiler/Assembler Renesas
CS+
Renesas integrated development environment (IDE) [Support MCU/MPU: RH850, V850, RX, RL78, 78K0R, 78K0] (Note: CS+ is not generally promoted to U.S. and European customers.) (Note: To use Smart Configurator on CS+ for RL78/G23 and RX family MCUs, install the Smart Configurator for each MCU family separately downloading from ”Design & Support” > ”Development Tools” > ”Smart Configurator”)
IDE and Coding Tool Renesas
e² studio - information for RL78 Family
Eclipse-based Renesas integrated development environment (IDE).
IDE and Coding Tool Renesas
IAR Embedded Workbench for Renesas RL78
IAR Embedded Workbench provides extensive support for RL78 devices. IAR Embedded Workbench is a complete set of development tools with leading optimization technology for creating powerful automotive applications.
IDE and Coding Tool IAR Systems
Renesas IAR Embedded Workbench Device-Support-Packages
Renesas IAR Embedded Workbench Device-Support-Packages include all device-specific files to be used with the Embedded Workbench IDE.
IDE and Coding Tool Renesas
QE for Capacitive Touch: Development Assistance Tool for Capacitive Touch Sensors
In developing embedded system using the capacitive touch sensor of MCUs, you can easily setup initial configurations of the touch interface as well as process the tuning of sensors, and reduce development time. [Plugin for Renesas IDE "e2 studio"] [Standalone Version] [Support MCU/MPU:RA, RL78, RX, Renesas Synergy™]
Solution Toolkit Renesas
8 items

Software Downloads

Type Title Date
Board Description File ZIP 1 KB
1 item

Sample Code

Sample Code

Filters
Type Title Date Date
Sample Code
[Toolchains=CC-RL|V1.15.00]
Log in to Download ZIP 7.02 MB
Application: Building Automation, Consumer Electronics, Industrial, Industrial Automation
Compiler: CC-RL Function: Application Example, Communication Interface IDE: e2 studio
In a system consisting of a primary MCU and a secondary MCU, this module allows user updating of the firmware of the secondary MCU. This application note explains how to use this module, incorporate its API functions into user applications, and extend its functionality.
Sample Code
[Toolchains=CC-RL|V1.16.00;LLVM for Renesas RL78|17.0.1.202512;IAR Compiler for RL78|v.5.20.2]
Log in to Download ZIP 42.00 MB
Application: Consumer Electronics
Compiler: CC-RL, ICCRL78, LLVM for Renesas RL78 Function: Driver or Library IDE: e2 studio, IAR EWRL78
Sample Code
[Software:RL78 Smart Configurator|V1.15.0] ,[Toolchains=CC-RL|V1.15.01]
Log in to Download ZIP 4.01 MB
Application: Appliances, Building Automation, Communications Infrastructure, Connected Home & Entertainment, Industrial, Industrial Automation, Security
Compiler: CC-RL Function: Software Package IDE: CS+ for CC, e2 studio
The LoRaWAN Sensor Demo package includes sample software that introduces how to visualize sensor data transmitted by a sensor node to Cloud (AWS/Azure) via LoRaWAN networks. This document describes the specification and usage of the sample software.
Sample Code
[Software:RL78 Smart Configurator|V1.15.0] ,[Toolchains=CC-RL|V1.15.01]
Log in to Download ZIP 28.87 MB
Application: Appliances, Building Automation, Communications Infrastructure, Connected Home & Entertainment, Industrial, Industrial Automation, Security
Compiler: CC-RL Function: Software Package IDE: CS+ for CC, e2 studio
This LoRa-based wireles softwar package includes the sample software and evaluation tools to develop the LoRa and LoRaWAN based applications.This document describes the information on the contents of this package and how to setup the hardware and software.
Sample Code
[Toolchains=CC-RL|V1.15.00]
Log in to Download ZIP 23.20 MB 日本語
Application: Consumer Electronics, Industrial
Compiler: CC-RL Function: Application Example, HMI IDE: CS+ for CC
Sample Code
[Toolchains=CC-RL|V1.12.01;IAR Compiler for RL78|v.4.21.2]
Log in to Download ZIP 7.33 MB 日本語 Compiler: CC-RL, ICCRL78 Function: Application Example IDE: CS+ for CC, e2 studio, IAR EWRL78
Sample Code
[Toolchains=CC-RL|V1.12.01;IAR Compiler for RL78|v.4.21.2]
Log in to Download ZIP 15.48 MB 日本語
Application: Consumer Electronics, Industrial
Compiler: CC-RL, ICCRL78 Function: Application Example IDE: CS+ for CC, e2 studio, IAR EWRL78
Sample Code
[Toolchains=CC-RL|V1.12.01;IAR Compiler for RL78|v.4.21.2]
ZIP 7.50 MB 日本語
Application: Consumer Electronics, Industrial
Compiler: CC-RL, ICCRL78 Function: Application Example IDE: CS+ for CC, e2 studio, IAR EWRL78
Sample Code
[Toolchains=CC-RL|V1.12.01;IAR Compiler for RL78|v.4.21.2]
Log in to Download ZIP 7.27 MB 日本語 Compiler: CC-RL, ICCRL78 Function: Application Example IDE: CS+ for CC, e2 studio, IAR EWRL78
Sample Code
[Toolchains=CC-RL|V1.13.01;IAR Compiler for RL78|v.5.10.1]
Log in to Download ZIP 15.25 MB 日本語
Application: Consumer Electronics, Industrial
Compiler: CC-RL, ICCRL78 Function: Application Example IDE: CS+ for CC, e2 studio, IAR EWRL78
Sample Code
[Toolchains=CC-RL|V1.13.01;IAR Compiler for RL78|v.5.10.1]
Log in to Download ZIP 7.97 MB 日本語
Application: Consumer Electronics, Industrial
Compiler: CC-RL, ICCRL78 Function: Application Example IDE: CS+ for CC, e2 studio, IAR EWRL78
Sample Code
[Toolchains=CC-RL|V1.13.01;IAR Compiler for RL78|v.5.10.1]
Log in to Download ZIP 7.56 MB
Application: Consumer Electronics, Industrial
Compiler: CC-RL, ICCRL78 Function: Application Example IDE: CS+ for CC, e2 studio, IAR EWRL78
Sample Code
[Toolchains=CC-RL|V1.13.00]
Log in to Download ZIP 7.21 MB 日本語
Application: Connected Home & Entertainment, Industrial, Medical & Healthcare, Memory
Compiler: CC-RL Function: Communication Interface IDE: CS+ for CC, e2 studio
Sample Code
[Software=RL78 Software Integration System|v1.62],[Toolchains=CC-RL|V1.13.00]
Log in to Download ZIP 109.66 MB 日本語
Application: Appliances, Building Automation, Industrial, Medical & Healthcare
Compiler: CC-RL Function: Application Example IDE: e2 studio
Sample Code
[Toolchains=CC-RL|V1.13.00]
Log in to Download ZIP 8.82 MB 日本語
Application: Appliances, Connected Home & Entertainment, Industrial, Medical & Healthcare, Wireless Infrastructure
Compiler: CC-RL Function: Communication Interface IDE: CS+ for CC, e2 studio
Sample Code
[Toolchains=CC-RL|V1.12.01]
Log in to Download ZIP 5.89 MB 日本語
Application: Industrial
Compiler: CC-RL Function: Communication Interface IDE: e2 studio
Sample Code
[Toolchains=CC-RL|V1.12.01]
Log in to Download ZIP 10.29 MB 日本語
Application: Consumer Electronics, Industrial
Compiler: CC-RL, ICCRL78 Function: Application Example, Communication Interface IDE: CS+ for CC, e2 studio, IAR EWRL78
17 items
Part NumberStatusStockBudgetary Price (USD)Sampleable
RTK7RLG220C00000BJActiveIn Stock1u | $23.53Available
Support Communities

Support Communities

Get quick technical support online from Renesas Engineering Community technical staff.
Browse Articles

Knowledge Base

Browse our knowledge base for helpful articles, FAQs, and other useful resources.
Submit a Ticket

Submit a Ticket

Need to ask a technical question or share confidential information?
Icon showing CD-ROM illustration, indicating compact disc storage.

ROM Ordering

Embed your custom code into Renesas masked MCUs during manufacturing for tailored device functionality.