跳转到主要内容
瑞萨电子 (Renesas Electronics Corporation)

描述

RL78/G22 快速原型开发板采用 RL78/G22 微控制器,是各种原型开发的理想选择。 它通过示例代码支持二级 MCU 的 OTA 固件更新、Wi-Fi、LoRa 和基于 LoRaWAN 的无线通信等。 内置的仿真器电路相当于 E2 仿真器 Lite,无需额外工具即可进行编程和调试。 此外,它还具有 Arduino Uno 和 Pmod™ 接口,可连接所有微控制器引脚,并且具有高可扩展性。 它包括两个触摸按钮和一个使用电容式传感器单元的滑块,这是 RL78/G22 独有的。 瑞萨电子还提供了一个 Arduino 库,支持在 Arduino IDE 里创建各种程序 (sketch)。

注意:该板卡配有两个电容式触摸按键和一个电容式滑条,便于进行简单评估。但在实际产品设计中,请参考《电容式传感微控制器 CTSU 电容式触摸电极设计指南(R30AN0389)》,并使用 RL78/G22 电容式触摸评估系统(RSSK-RL78G22)进行评估。

特性

  • 配备 RL78/G22 16 位微控制器(R7F102GGE2DFB)
    • 32MHz,RL78-S3 内核
    • ROM:64KB,RAM:4KB,Data Flash 2KB
    • 48 引脚 LFQFP,7mm x 7mm x 1.7mm,0.5mm 间距
  • 使用 USB 线连接到电脑,即可通过 COM 端口通信编写/调试程序
  • 可以连接微控制器的所有引脚
  • 标配 Arduino Uno、Pmod™ 和 Grove 接口
  • 可提供 Arduino 库
  • 配备电容触摸传感器按钮
  • 支持各种 RL78 软件和工具

应用

类型 文档标题 日期
手册 - 开发工具 PDF 1.41 MB 日本語
快速入门指南 PDF 250 KB
原理图 PDF 403 KB 日本語
其他 PDF 111 KB 日本語
应用说明 PDF 1.02 MB 日本語
This application note describes a firmware updating communications module for the RL78/G22 and RL78/G23.
应用说明 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.
应用说明 PDF 1.91 MB 日本語
AI 生成的摘要: 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.
应用说明 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.
应用说明 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.
应用说明 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.
应用说明 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.
应用说明 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.
应用说明 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.
应用说明 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.
应用说明 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.
应用说明 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.
应用说明 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.
手册 - 软件 PDF 370 KB
手册 - 软件 PDF 1.86 MB
应用说明 PDF 5.29 MB 日本語
AI 生成的摘要: 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.
应用说明 PDF 372 KB 日本語
AI 生成的摘要: 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.
应用说明 PDF 460 KB 日本語
AI 生成的摘要: 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.
应用说明 PDF 460 KB 日本語
AI 生成的摘要: 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.
应用说明 PDF 481 KB 日本語
AI 生成的摘要: 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.
应用说明 PDF 1.18 MB 日本語
AI 生成的摘要: 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.
应用说明 PDF 957 KB 日本語
AI 生成的摘要: 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.
应用说明 PDF 351 KB 日本語
AI 生成的摘要: 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.
应用说明 PDF 2.06 MB 日本語
AI 生成的摘要: 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.
应用说明 PDF 5.24 MB 日本語
应用说明 PDF 3.25 MB 日本語
AI 生成的摘要: 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.
应用说明 PDF 1.64 MB 日本語
AI 生成的摘要: 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.
应用说明 PDF 300 KB 日本語
AI 生成的摘要: 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.
其他 PDF 367 KB
其他 PDF 141 KB
PCB 设计文件 ZIP 2.58 MB
35 项目

软件与工具

软件与工具

Software title
Software type
公司
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 瑞萨电子
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 瑞萨电子
C Compiler Package for RL78 Family [CC-RL]
C Compiler Package for RL78 Family [IDE: CS+, e² studio]
Compiler/Assembler 瑞萨电子
CS+
瑞萨电子集成开发环境(IDE)[支持 MCU/MPU:RH850、V850、RX、RL78、78K0R、78K0] (注意:CS+ 通常不会向美国和欧洲客户推广。) (注意:要在 CS+ 上对 RL78/G23 和 RX 系列 MCU 使用智能配置器,请为每个 MCU 系列安装智能配置器,从“设计和支持”>“开发工具”>“智能配置器”下载)
IDE and Coding Tool 瑞萨电子
e² studio - information for RL78 Family
Eclipse-based Renesas integrated development environment (IDE).
IDE and Coding Tool 瑞萨电子
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 瑞萨电子
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 瑞萨电子
8 项目

软件下载

类型 文档标题 日期
电路板信息文件 ZIP 1 KB
1 项目

样例程序

样例程序

筛选
类型 文档标题 日期 日期
示例代码
[Toolchains=CC-RL|V1.15.00]
登录后下载 ZIP 7.02 MB
应用: 工业, 工业自动化, 楼宇自动化, 消费电子产品
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.
示例代码
[Toolchains=CC-RL|V1.16.00;LLVM for Renesas RL78|17.0.1.202512;IAR Compiler for RL78|v.5.20.2]
登录后下载 ZIP 42.00 MB
应用: 消费电子产品
Compiler: CC-RL, ICCRL78, LLVM for Renesas RL78 Function: Driver or Library IDE: e2 studio, IAR EWRL78
示例代码
[Software:RL78 Smart Configurator|V1.15.0] ,[Toolchains=CC-RL|V1.15.01]
登录后下载 ZIP 4.01 MB
应用: 互联家居与娱乐, 安全性, 家电, 工业, 工业自动化, 楼宇自动化, 通信基础结构
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.
示例代码
[Software:RL78 Smart Configurator|V1.15.0] ,[Toolchains=CC-RL|V1.15.01]
登录后下载 ZIP 28.87 MB
应用: 互联家居与娱乐, 安全性, 家电, 工业, 工业自动化, 楼宇自动化, 通信基础结构
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.
示例代码
[Toolchains=CC-RL|V1.15.00]
登录后下载 ZIP 23.20 MB 日本語
应用: 工业, 消费电子产品
Compiler: CC-RL Function: Application Example, HMI IDE: CS+ for CC
示例代码
[Toolchains=CC-RL|V1.12.01;IAR Compiler for RL78|v.4.21.2]
登录后下载 ZIP 7.33 MB 日本語 Compiler: CC-RL, ICCRL78 Function: Application Example IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.12.01;IAR Compiler for RL78|v.4.21.2]
登录后下载 ZIP 15.48 MB 日本語
应用: 工业, 消费电子产品
Compiler: CC-RL, ICCRL78 Function: Application Example IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.12.01;IAR Compiler for RL78|v.4.21.2]
ZIP 7.50 MB 日本語
应用: 工业, 消费电子产品
Compiler: CC-RL, ICCRL78 Function: Application Example IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.12.01;IAR Compiler for RL78|v.4.21.2]
登录后下载 ZIP 7.27 MB 日本語 Compiler: CC-RL, ICCRL78 Function: Application Example IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.13.01;IAR Compiler for RL78|v.5.10.1]
登录后下载 ZIP 15.25 MB 日本語
应用: 工业, 消费电子产品
Compiler: CC-RL, ICCRL78 Function: Application Example IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.13.01;IAR Compiler for RL78|v.5.10.1]
登录后下载 ZIP 7.97 MB 日本語
应用: 工业, 消费电子产品
Compiler: CC-RL, ICCRL78 Function: Application Example IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.13.01;IAR Compiler for RL78|v.5.10.1]
登录后下载 ZIP 7.56 MB
应用: 工业, 消费电子产品
Compiler: CC-RL, ICCRL78 Function: Application Example IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.13.00]
登录后下载 ZIP 7.21 MB 日本語
应用: 互联家居与娱乐, 医疗与保健, 存储器, 工业
Compiler: CC-RL Function: Communication Interface IDE: CS+ for CC, e2 studio
示例代码
[Software=RL78 Software Integration System|v1.62],[Toolchains=CC-RL|V1.13.00]
登录后下载 ZIP 109.66 MB 日本語
应用: 医疗与保健, 家电, 工业, 楼宇自动化
Compiler: CC-RL Function: Application Example IDE: e2 studio
示例代码
[Toolchains=CC-RL|V1.13.00]
登录后下载 ZIP 8.82 MB 日本語
应用: 互联家居与娱乐, 医疗与保健, 家电, 工业, 无线基础设施
Compiler: CC-RL Function: Communication Interface IDE: CS+ for CC, e2 studio
示例代码
[Toolchains=CC-RL|V1.12.01]
登录后下载 ZIP 5.89 MB 日本語
应用: 工业
Compiler: CC-RL Function: Communication Interface IDE: e2 studio
示例代码
[Toolchains=CC-RL|V1.12.01]
登录后下载 ZIP 10.29 MB 日本語
应用: 工业, 消费电子产品
Compiler: CC-RL, ICCRL78 Function: Application Example, Communication Interface IDE: CS+ for CC, e2 studio, IAR EWRL78
17 项目
器件号状态库存预算价格(美元)Sampleable
RTK7RLG220C00000BJActive有库存1u | $23.53Available
支持社区

支持社区

在线询问瑞萨电子工程社群的技术人员,快速获得技术支持。
浏览文章

知识库

浏览我们的知识库,获取文章、常见问题解答及其他实用资源。
提交工单

提交工单

需要咨询技术性问题或提供非公开信息吗?
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.