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

描述

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

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

特性

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

应用

类型 文档标题 日期
手册 - 开发工具 PDF 3.67 MB 日本語
快速入门指南 PDF 509 KB
原理图 PDF 1.08 MB 日本語
其他 PDF 231 KB 日本語
应用说明 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 408 KB 日本語
AI 生成的摘要: Fast Prototyping Boards for RL78/G15 and G16 disable using the reset pin as an I/O port via option byte settings, causing inability to write or debug via COM port after programming with PORTSELB = 0. This occurs because the reset pin, required for entering Flash Memory Programming Mode, functions as a port during COM connection, preventing flash programming. Recovery involves rewriting option bytes to PORTSELB = 1 using an IDE, Renesas Flash Programmer, or a dedicated recovery application that holds the reset pin low during connection to enable flash erase and rewrite operations.
应用说明 PDF 405 KB 日本語
AI 生成的摘要: The document explains how to implement handshake-based SPI master transmission and reception using the serial array unit (SAU) with the RL78/G16 microcontroller. It details the use of chip select (CS) and BUSY signals for slave device selection and handshake synchronization. The communication follows the CSI protocol, utilizing serial clock (SCK), serial data input (SI), and serial data output (SO) lines. Commands such as status check, receive, transmit, and transmit/receive operate in 1 ms slots. Peripheral functions including timers and ports are configured to support these operations. Timing charts illustrate the command sequences and data flow between master and slave devices.
应用说明 PDF 324 KB 日本語
AI 生成的摘要: The document explains handshake-based SPI slave communication using the serial array unit (SAU) in RL78/G16 microcontrollers. It details how the slave device uses chip select (CS) and BUSY signals to synchronize and communicate with the master via clock-synchronous serial interface (CSI). Communication occurs in 1 ms slots, supporting commands such as status check, transmit, receive, and transmit/receive. The BUSY signal indicates slave readiness, ensuring proper handshake during data transfer. Peripheral functions like serial array unit, port pins, and external interrupts facilitate this communication. Timing charts illustrate command execution and data flow between master and slave.
应用说明 PDF 368 KB 日本語
AI 生成的摘要: Distance measurement to an object uses an ultrasonic sensor controlled by the RL78/G16 microcontroller's Timer Array Unit (TAU). The sensor emits a trigger signal and measures the echo signal's high-level width, which corresponds to the time-of-flight of the ultrasonic wave. This time is converted to distance using the speed of sound. The measured distance is displayed on a 16×2 LCD via I2C communication. The system averages multiple measurements to reduce noise and updates the display continuously, handling distances up to 999.9 cm with an 'OVER' indication beyond that range.
应用说明 PDF 280 KB 日本語
AI 生成的摘要: The document explains how to use the fixed-cycle interrupt and alarm interrupt functions of the RL78/G16 Realtime Clock 2 (RTC2). It details setting the RTC2 to display time on an LCD and control output ports, including toggling port P12 every 0.5 seconds and triggering an alarm interrupt on port P15 five seconds after a set time. The document covers initialization of RTC2, I/O ports, serial interface IICA0 for LCD communication, and LED control. It also specifies operation conditions, hardware configuration, and software flowcharts for implementing these functions effectively.
应用说明 PDF 199 KB 日本語
AI 生成的摘要: The Timer Array Unit (TAU0) on the RL78/G16 measures pulse intervals by capturing timer counts at valid rising edges on the TI00 input pin. Each detected edge triggers a capture interrupt, storing the measured interval in on-chip RAM. The process involves initializing TAU0 channel 0 in capture mode, enabling interrupts, and repeatedly measuring pulse intervals up to eight times. The document details the hardware setup, software flow, and operation conditions required for accurate pulse interval measurement using TAU0.
应用说明 PDF 1.46 MB 日本語
AI 生成的摘要: Modbus communication operates using a single-master/multi-slave architecture over serial interfaces, primarily Modbus ASCII and Modbus RTU modes. Modbus ASCII sends data as ASCII characters, making parsing easier but increasing transmission time, while Modbus RTU transmits binary data, reducing transmission time but requiring precise timing for parsing. The protocol supports up to 247 slaves, each with a unique address, and commonly uses RS-485 physical layers. The RL78 microcontroller combined with Renesas RS-485 transceivers enables efficient Modbus communication for industrial automation, supporting low-power operation and I/O control. The document details hardware and software configurations, including UART settings, timing measurements, and interrupt handling for both master and slave modes in ASCII and RTU formats.
应用说明 PDF 224 KB 日本語
AI 生成的摘要: The interval timer function of the RL78/G16 Timer Array Unit (TAU) controls LED inversion based on timer interrupts (INTTM00). The timer interrupt cycle changes according to switch press counts, altering LED on/off intervals through preset timing steps (500 ms to 62.5 ms). The setup involves initializing TAU0 in interval timer mode, configuring I/O ports, and setting external interrupts for switch input detection. Timer interrupts count to 250 before toggling the LED, and switch inputs adjust the timer cycle dynamically. The document details peripheral functions, operation flow, hardware configuration, and sample code for implementation.
应用说明 PDF 201 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. Measurement results store in on-chip RAM. The process uses capture end interrupts to ensure accurate timing, discards invalid short pulses, and repeats measurements multiple times. Initialization involves setting TAU0 channel 0 to capture mode with both-edge detection and enabling interrupts. The sample code operates under specified hardware and software conditions, including RL78/G16 MCU, 16 MHz clock, and various development environments.
应用说明 PDF 365 KB 日本語
AI 生成的摘要: The PWM output function uses the timer array unit (TAU0) channels 0 and 1 to control LED brightness by adjusting the duty cycle of PWM signals at 500 ms intervals. Channel 0 operates as a master timer generating interrupts every 2 ms, counting up to 250 interrupts to trigger duty cycle changes on channel 1, which acts as a slave. The duty cycle cycles through 10%, 30%, 50%, 70%, and 90%, inversely affecting LED brightness. The TO01 pin outputs the PWM signal with an active-low level, and the program uses timer interrupts to synchronize duty cycle updates and LED indication inversion.
应用说明 PDF 503 KB 日本語
AI 生成的摘要: The document details the implementation of slave transmission and reception using the RL78/G16 serial interface IICA in a single-master I2C system. It covers slave address handling, data transmission, and reception protocols, including register address specifications and communication timing. The slave device supports reading and writing multiple bytes within a defined serial RAM area. The document also explains IIC communication timing charts, interrupt handling, and control registers essential for managing data flow and acknowledgements between master and slave devices.
应用说明 PDF 170 KB 日本語
AI 生成的摘要: The RL78/G16 A/D converter converts analog voltages input through the P03/ANI2 pin into 10-bit digital values, storing results in internal RAM. The CPU enters HALT mode during conversion and resumes upon an interrupt signaling conversion completion. The conversion result is right-shifted by six bits before storage. Hardware configuration includes specific pin usage and voltage requirements. Operation has been validated on the RL78/G16 MCU with detailed development environment and compiler support. Sample code and flowcharts illustrate initialization, interrupt handling, and data processing steps.
应用说明 PDF 603 KB 日本語
AI 生成的摘要: The document explains how to implement master transmission and reception using the RL78/G16 microcontroller's serial interface IICA in a single-master system. It details address transmission, data transmission, and reception procedures, assuming slaves with specific addressable registers and serial RAM. The master selects slaves by their unique 7-bit addresses and communicates through IIC protocol timing and control signals. It includes hardware and software configurations, timing charts, sample code, and peripheral function usage for effective IIC communication.
PCB 设计文件 ZIP 1.97 MB
19 项目

软件与工具

软件与工具

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 23.20 MB 日本語
应用: 工业, 消费电子产品
Compiler: CC-RL Function: Application Example, HMI IDE: CS+ for CC
示例代码
登录后下载 ZIP 1.44 MB 日本語 Function: Programmer IDE: Microsoft Visual Studio Community 2022
示例代码
[Toolchains=CC-RL|V1.13.00;IAR Compiler for RL78|v.5.10.1]
登录后下载 ZIP 7.61 MB 日本語
应用: 消费电子产品
Compiler: CC-RL, ICCRL78 Function: Communication IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.13.00;IAR Compiler for RL78|v.5.10.1]
登录后下载 ZIP 7.33 MB 日本語
应用: 消费电子产品
Compiler: CC-RL, ICCRL78 Function: Communication IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.12.01;IAR Compiler for RL78|v.5.10.1]
登录后下载 ZIP 8.33 MB 日本語
应用: 消费电子产品
Compiler: CC-RL, ICCRL78 Function: Other IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.12.01;IAR Compiler for RL78|v.5.10.1]
登录后下载 ZIP 5.99 MB 日本語
应用: 消费电子产品
Compiler: CC-RL, ICCRL78 Function: Timer IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.12.01;IAR Compiler for RL78|v.5.10.1]
ZIP 6.48 MB 日本語
应用: 消费电子产品
Compiler: CC-RL Function: Timer IDE: CS+ for CC
示例代码
[Toolchains=CC-RL|V1.12.01]
登录后下载 ZIP 5.70 MB 日本語
应用: 工业
Compiler: CC-RL Function: Communication Interface IDE: e2 studio
示例代码
[Toolchains=CC-RL|V1.12.01;IAR Compiler for RL78|v.5.10.1]
登录后下载 ZIP 7.05 MB 日本語
应用: 消费电子产品
Compiler: CC-RL, ICCRL78 Function: Timer IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.12.01;IAR Compiler for RL78|v.5.10.1]
登录后下载 ZIP 6.49 MB 日本語
应用: 消费电子产品
Compiler: CC-RL, ICCRL78 Function: Timer IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.12.01;IAR Compiler for RL78|v.5.10.1]
登录后下载 ZIP 5.77 MB 日本語
应用: 消费电子产品
Compiler: CC-RL, ICCRL78 Function: Communication Interface IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.12.01;IAR Compiler for RL78|v.5.10.1]
登录后下载 ZIP 6.33 MB 日本語
应用: 消费电子产品
Compiler: CC-RL, ICCRL78 Function: Serial Interface IICA IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.12.00;IAR Compiler for RL78|v.5.10.1]
登录后下载 ZIP 5.38 MB 日本語
应用: 消费电子产品
Compiler: CC-RL, ICCRL78 Function: A/D Converter IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|V1.12.01;IAR Compiler for RL78|v.5.10.1]
登录后下载 ZIP 6.74 MB 日本語
应用: 消费电子产品
Compiler: CC-RL, ICCRL78 Function: Serial Interface IICA IDE: CS+ for CC, e2 studio, IAR EWRL78
14 项目
器件号状态库存预算价格(美元)Sampleable
RTK5RLG160C00000BJActive有库存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.