Skip to main content
Renesas Electronics Corporation - June is Pride Month, a month to raise awareness of the rights and the culture of the LGBTQ+ community

Description

Bluetooth Low Energy (Bluetooth LE) Protocol Stack is a Bluetooth 5.0 qualified protocol stack that operates on RL78/G1D (optional functions added after Core Specification 4.2 are not supported). It is equipped API for realizing Bluetooth LE wireless communication and API for implement a custom profile. Moreover, it supports two types of system configurations (embedded and modem configuration).

Features

  • Bluetooth LE Profile - Various profiles are available. It is also possible to correspond to customer-specific profiles.
  • Virtual UART Application - Responding to demands for wireless serial communication and wireless communication between embedded modules, we have developed a virtual UART application that works with Bluetooth LE technology.
  • For application development using a host microcontroller in modem configuration.
  • For application development in a single device in embedded configuration.
  • Host MCU Simple API - Simple API can control an RL78/G1D or RL78/G1D module (RY7011) from a host microcomputer with just 9 APIs, and can realize Virtual UART communication and beacon communication using Bluetooth LE wireless communication easily.
  • Available IDEs: CS+ (CA78K0R Compiler/CC-RL Compiler), e2 studio (CC-RL Compiler), and IAR Embedded Workbench (IAR Compiler).
  • Learn More

Target Devices

Type Title Date
Library
Log in to Download ZIP 29.95 MB
Library
Log in to Download ZIP 30.83 MB
Library
Log in to Download ZIP 34.53 MB Compiler: CA78K0R, CC-RL, ICCRL78 Function: Communication Interface IDE: CS+ for CA, CX, CS+ for CC, e2 studio, IAR EWRL78
Software & Tools - Other
Log in to Download ZIP 18.81 MB 日本語
4 items
Type Title Date
Application Note PDF 1.43 MB 日本語
AI-generated Summary: The Bluetooth Low Energy Protocol Stack Security Library offers APIs to simplify implementing BLE security features such as pairing, encryption, bonding, and privacy. It supports Central and Peripheral roles and automates key generation and management, privacy functions, and security procedures. The library uses rBLE API under the hood and requires specific initialization and event handling APIs. It facilitates secure BLE communication by protecting against attacks like MITM and managing security keys and addresses.
Application Note PDF 808 KB 日本語
AI-generated Summary: This document analyzes Bluetooth Low Energy connection issues between Android devices and RL78/G1D terminal devices. It identifies problems such as failure to reconnect immediately after power cycling the terminal, pairing sequence failures, feature exchange failures, and packet reception failures causing disconnections. A key cause is the Android device's supervision timeout and dual connection state when the terminal device powers off without sending a disconnect request. The recommended solution is to send a disconnect command before powering off the terminal device to ensure proper connection management.
Manual - Hardware PDF 1.30 MB 日本語
Application Note PDF 858 KB 日本語
AI-generated Summary: The sample program demonstrates Bluetooth Low Energy protocol stack implementation using a Sample Custom Profile. It covers fundamental GAP API usage for central and peripheral roles, security via encryption, RWKE task and message handling, multiple connections, and simple user applications with buttons and LEDs. The demo requires RL78/G1D Evaluation Boards, a PC with specific hardware and software environments, and tools like Renesas On-chip Debugging Emulator E1. Setup and operation instructions are provided.
Application Note PDF 1.50 MB 日本語
AI-generated Summary: The document details the Virtual UART Application using Bluetooth Low Energy on RL78/G1D devices. It explains software configuration, functions, and operation checks, including simple AT commands for Bluetooth LE connection control. The application supports character and binary data transmission with options for communication with or without response. It describes the setup using two evaluation boards connected via USB and controlled through terminal software, enabling bidirectional data exchange over Bluetooth LE.
Application Note PDF 1.57 MB 日本語
AI-generated Summary: The document details the configuration and use of a simple API for Bluetooth Low Energy (BLE) communication on the RL78/G14 platform. It covers system and software setup, development environment, program execution, and API specifications. The simple API offers nine functions to manage BLE operations such as scanning, advertising, connecting, data communication, and disconnection. It supports encrypted communication and device filtering via a whitelist. The API runs on a Host MCU controlling the RL78/G1D BLE module, enabling flexible data exchange using a general purpose communication profile.
Application Note PDF 1.49 MB 日本語
AI-generated Summary: The document details a Simple API for Bluetooth Low Energy communication using the RX113 MCU. It provides nine APIs enabling scanning, advertising, connecting as master or slave, data transmission, and disconnection. The system supports Renesas Starter Kit for RX113 as Host MCU and RL78/G1D modules as BLE MCUs. It also covers system configurations, UART communication settings, and integration with smartphones. The API facilitates bidirectional communication using a proprietary virtual UART profile with automatic encrypted connections.
Application Note PDF 1.60 MB 日本語
AI-generated Summary: The document explains the Bluetooth Low Energy protocol stack host sample for RL78/G14, detailing device and software composition, operation procedures, and software sequences. It describes the host sample running on the Renesas Starter Kit for RL78/G14, controlling the RL78/G1D BLE microcontroller via UART communication. The system supports UART 2-wire and branch connections. The host sample manages BLE communication with a smartphone, handling broadcasting, connection establishment, pairing, encryption, and ADC data transmission. It includes a simple scheduler and power-saving STOP mode.
Application Note PDF 1.52 MB 日本語
AI-generated Summary: This document provides general precautions for handling microprocessing and microcontroller units, emphasizing proper treatment of unused pins, power-on processing, prohibition of access to reserved addresses, and clock signal stability. It highlights differences between products with varying part numbers and advises system evaluation tests when switching products. Additionally, it outlines the purpose and target readers of the RL78/G1D Module Firmware manual and lists related documents and application notes for further reference.
Application Note PDF 1.10 MB 日本語
AI-generated Summary: The document details the RL78/G1D module control software, including firmware and host MCU programming. It explains the system configuration where the Host MCU controls the RL78/G1D module via serial communication using the RSCIP protocol. The Host MCU program includes user applications and BLE communication managed through the rBLE API, supporting GAP, GATT, and various profiles. The software handles command processing, event notifications, and error recovery in serial communication. The document also outlines development environments, firmware specifications, and build procedures.
Manual - Development Tools PDF 1.94 MB 日本語
Manual - Development Tools PDF 1.89 MB 日本語
Manual - Development Tools PDF 1.92 MB 日本語
Application Note PDF 1.30 MB 日本語
AI-generated Summary: Sensor data from the Renesas HS3001 Humidity and Temperature Sensor transmits via Bluetooth Low Energy using the RL78/G14 Fast Prototyping Board and RL78/G1D BLE Module Expansion Board. The Host MCU program controls the BLE module through a UART 2-wire connection, managing pairing and security with the Security Library. The document details hardware and software configurations, development environment requirements, communication sequences, and step-by-step procedures for building, running, and verifying Bluetooth communication with smartphones. It also covers the BLE protocol stack API usage and includes application circuit examples.
Quick Start Guide PDF 1.84 MB 日本語
Application Note PDF 2.06 MB 日本語
AI-generated Summary: The sample program operates on the RL78/G1D Evaluation Board, providing three main applications: Beacon Application for broadcasting advertising packets, Scan Application for receiving advertising packets, and Direct Test Mode (DTM) Application for evaluating RF characteristics. Users can select applications via DIP switches or control advertising packets through ASCII-format UART commands. The Beacon Stack offers APIs to manage Advertising, Scanning, and DTM functions. The document details firmware building, operation procedures, hardware configuration, and RF evaluation methods to support Bluetooth Low Energy functionalities effectively.
Application Note PDF 613 KB 日本語
AI-generated Summary: Bluetooth low energy beacons broadcast unique IDs to enable one-to-many communication within a local area. They support applications such as point-of-interest information, coupon distribution, indoor positioning, and tracking people or objects. Smartphones receive beacon IDs to query servers for related data, facilitating location-based services and marketing insights. Beacons provide indoor positioning where GPS is unavailable and enable tracking of individuals with beacon devices through detection devices or smartphones.
Application Note PDF 2.54 MB 日本語
AI-generated Summary: The document details a Bluetooth Low Energy protocol stack sensor application that controls GPIO, A/D conversion, and I2C communication via a GATT-based profile. It supports remote control through an Android app, BleSensor, enabling GPIO manipulation and sensor data monitoring. The sample program includes drivers for A/D converters and I2C devices, with default support for the Renesas ISL29123 RGB light sensor. Users can connect various sensors by implementing appropriate device drivers.
Application Note PDF 2.58 MB 日本語
AI-generated Summary: The RL78/G1D Beacon Stack Multi-Hop feature enables devices to relay commands and data across multiple nodes without security. It supports broadcasting commands, such as lighting control, where each device retransmits commands to extend coverage. It also facilitates data gathering from sensors by relaying sensor data to a collector, allowing communication beyond direct range. The document details various data structures, event handling, and transmission/reception processes involved in multi-hop communication.
Application Note PDF 1.70 MB 日本語
AI-generated Summary: The document explains the Bluetooth Low Energy (BLE) Protocol Stack and the Renesas Wireless Kernel Extension (RWKE) used for application development. It details the BLE Protocol Stack's role in managing RF communication for RL78/G1D devices and providing APIs for accessing BLE profiles such as GAP and Security Manager. RWKE is described as a simple non-preemptive multitasking OS that manages application and BLE stack processing through events, messages, timers, and memory functions, enabling flexible application sequences.
Application Note PDF 1.99 MB 日本語
AI-generated Summary: The sample program supports Beacon Operation and RF Evaluation Operation on the RL78/G1D Evaluation Board. Beacon Operation enables transmitting and updating Advertising packets using a Custom Profile via Bluetooth Low Energy devices. RF Evaluation Operation allows RF characteristic testing with an RF Tester. The program includes Beacon, Connect, and DTM Applications, along with Beacon Stack, BLE Protocol Stack, and Flash Libraries. Beacon and Connect Applications handle advertising and connection functions, storing configuration and pairing data in flash memory. DTM Application tests RF performance directly.
Manual - Development Tools PDF 1.82 MB 日本語
Application Note PDF 1.75 MB 日本語
AI-generated Summary: The document guides users through installing, building, and writing Bluetooth Low Energy (BLE) software to RL78/1D microcontrollers, enabling BLE connection and data communication. It explains two system configurations: Modem (two-chip) and Embedded (single-chip). Users download the BLE software package from Renesas, which includes manuals, sample programs, project files, and libraries for various development environments. It specifies PC requirements, evaluation boards, emulators, and programming tools needed for BLE software development and evaluation.
Application Note PDF 6.14 MB 日本語
AI-generated Summary: The Bluetooth Low Energy (BLE) software package includes the BLE protocol stack compliant with Bluetooth specification v4.2, designed for the RL78/G1D microcontroller. It provides sample programs demonstrating BLE software usage in two configurations: modem and embedded. The modem configuration runs the BLE stack on the MCU with the application on a separate PC, while the embedded configuration runs everything on the BLE MCU. The package contains manuals, source code, executable files, and project files for various development environments. Installation requires copying files to a folder without multi-byte characters or spaces.
Application Note PDF 719 KB
AI-generated Summary: The UART2BLE application demonstrates unidirectional Bluetooth Low Energy communication to transfer large data volumes efficiently, achieving up to 80 bytes per connection interval. It uses BLE Master and Slave roles with advertising and scanning to establish connections. The software architecture includes a UART interface layered with SLIP and HCI message handling for data exchange between Host MCU and RL78/G1D. The project files include source code for UART2BLE profiles, SLIP driver, CRC16, serial messaging, and development environment firmware.
Manual - Development Tools PDF 692 KB 日本語
Manual - Development Tools PDF 974 KB 日本語
Application Note PDF 1.77 MB 日本語
AI-generated Summary: The document details the Bluetooth Low Energy (BLE) protocol stack host sample for RX113, describing device and software composition, operation procedures, and communication between the RX113 host MCU and RL78/G1D BLE MCU via UART. It outlines the hardware and software environment, including the Renesas Starter Kit, BLE evaluation board, and smartphone as the remote device. The host sample operates as a slave device, automatically establishing BLE connections, enabling custom profiles, handling pairing and encryption, and managing notifications and connection status display.
Application Note PDF 1.66 MB 日本語
AI-generated Summary: The document details communication between APP-MCU and BLE-MCU in the Modem configuration of the RL78/G1D BLE protocol stack. It describes the system configuration using serial interfaces (UART, CSI, IIC) and the Renesas Serial Communication Interface Protocol (RSCIP) for data exchange. The physical communication specification covers connection methods, SLIP encoding rules for packet transmission, and packet formats including headers, sequence numbers, acknowledgements, and checksum-based data integrity checks.
29 items

Sample Code

Sample Code

Filters
Type Title Date Date
Sample Code
[Software=Bluetooth® low energy Protocol Stack|Ver.1.21],[Toolchains=CC-RL|V1.03.00]
Log in to Download ZIP 5.37 MB 日本語
Application: Consumer Electronics, Industrial
Compiler: CC-RL, ICCRL78 Function: Application Example IDE: CS+ for CC, e2 studio
Sample Code
Log in to Download ZIP 5.05 MB 日本語 Compiler: CA78K0R, CC-RL, ICCRL78 Function: Communication Interface IDE: CS+ for CA, CX, CS+ for CC, e2 studio, IAR EWRL78
Sample Code
Log in to Download ZIP 2.06 MB 日本語
Application: Consumer Electronics, Industrial
Compiler: CA78K0R, CC-RL Function: Communication Interface IDE: CS+ for CA, CX, CS+ for CC, e2 studio
Sample Code
Log in to Download ZIP 16.22 MB 日本語
Application: Consumer Electronics, Industrial
Compiler: CC-RX Function: Communication Interface IDE: e2 studio
Sample Code
Log in to Download ZIP 2.71 MB 日本語
Application: Consumer Electronics, Industrial
Compiler: CA78K0R, CC-RL Function: Communication Interface IDE: CS+ for CA, CX, CS+ for CC, e2 studio
Sample Code
Log in to Download ZIP 1.39 MB 日本語
Application: Consumer Electronics, Industrial
Compiler: CC-RL Function: Communication Interface IDE: e2 studio
Sample Code
Log in to Download ZIP 3.32 MB 日本語
Application: Consumer Electronics, Industrial
Compiler: CC-RL Function: Communication Interface IDE: e2 studio
Sample Code
[Software=Bluetooth® low energy Protocol Stack|Ver.1.21],[Toolchains=CC-RL|V1.03.00]
Log in to Download ZIP 5.55 MB 日本語
Application: Consumer Electronics, Industrial
Compiler: CC-RL Function: Communication Interface IDE: CS+ for CC, e2 studio
Sample Code
Log in to Download ZIP 5.99 MB 日本語 Compiler: CC-RL Function: Communication Interface IDE: CS+ for CC, e2 studio
Sample Code
[Software=Bluetooth® low energy Protocol Stack|Ver.1.21],[Toolchains=CC-RL|V1.03.00]
Log in to Download ZIP 11.78 MB 日本語
Application: Consumer Electronics, Industrial
Compiler: CC-RL Function: Application Example IDE: CS+ for CC, e2 studio
Sample Code
Log in to Download ZIP 2.81 MB 日本語 Compiler: CC-RL Function: Communication Interface IDE: CS+ for CC, e2 studio
Sample Code
Log in to Download ZIP 2.34 MB 日本語 Compiler: CC-RL Function: Communication Interface IDE: CS+ for CC, e2 studio
Sample Code
Log in to Download ZIP 21.14 MB 日本語 Compiler: ICCRX IDE: e2 studio
13 items

The module corresponds to the following integrated development environments (IDEs): CS+ (CA78K0R Compiler/CC-RL Compiler), and e2 studio (CC-RL Compiler).

Image
Bluetooth Low Energy Protocol Stack

Download Manual
Bluetooth Low Energy Protocol Stack User's Manual Rev.1.22 (PDF | English, 日本語)

Download Software
Bluetooth® low energy Protocol Stack (Ver.1.21) (ZIP)
Bluetooth® Low Energy Protocol Stack (Ver.1.20) (ZIP)
Bluetooth® Low Energy Protocol Stack (Ver.1.11) (ZIP)

 

Flash libraries are needed separately. Download the Data Flash Library and Code Flash Library that suits your development environment. For how to copy to the development environment, refer to the manuals.

The free evaluation version of the compiler cannot be used with the product version due to function restriction and probation period.

Data Flash Library

Code Flash Library

Download Protocol Stack API basic specification

Bluetooth Low Energy Protocol Stack API Reference Manual: Basics Rev.1.19 (PDF | English, 日本語)

How to Use the Sample program

Bluetooth Low Energy Protocol Stack Sample Program Rev.1.20 (PDF | English, 日本語)

Virtual UART Application

Responding to demands for wireless serial communication and wireless communication between embedded modules, we have developed a virtual UART application that works with Bluetooth Low Energy technology. It has a simple AT command execution function to control and set Bluetooth LE communication, thereby realizing virtual UART communication where characters are transmitted/received via Bluetooth LE communication.

Image
Virtual UART Application

Download: Bluetooth® Low Energy Protocol Stack BLE Virtual UART Application Rev.1.20 - Sample Code (ZIP | English, 日本語)

System Configuration/Modem Configuration

For Application Development Using a Host Microcontroller

For modem configuration, Bluetooth LE communication is realized via serial connection of a host microcontroller and RL78/G1D MCU. It is possible to flexibly respond to demands such as adding Bluetooth LE to an existing application. We also have host samples for Renesas microcontrollers. This enables the shortening of the development period.

Image
Modem Configuration

Command specifications
Bluetooth Low Energy Protocol Stack rBLE Command Specification Rev.1.18 (PDF | English, 日本語)

Host sample for RL78/G14
Bluetooth® Low Energy Protocol Stack RL78/G14 Host Sample Rev.1.21 - Sample Code (ZIP | English, 日本語)

Host sample for RX113
Bluetooth® Low Energy Protocol Stack RX113 Host Sample Rev.1.20 - Sample Code (ZIP | English, 日本語)

System Configuration/Embedded Configuration

For Application Development in a Single Device

In embedded configuration, the application is feasible by fully leveraging functions of the RL78/G1D microcontroller. In this way, it is possible to create original applications.

Image
Embedded Configuration

Application Creation Guide
Bluetooth® low energy Protocol Stack Application Development Guide Rev.1.30 (PDF | English, 日本語)

How to Use the Microcontroller Part
RL78 Family User's Manual: Software Rev.2.30 (PDF | English, 日本語)

Host MCU Simple API

Simple API can control the RL78/G1D or an RL78/G1D module (RY7011) from a host microcomputer with just 9 APIs, and can easily realize Virtual UART communication and beacon communication using Bluetooth Low Energy wireless communication. The remote side environment can be easily built with a smartphone and Renesas smartphone application "GATTBrowser" so you can start evaluating right away.

Image
Host MCU Simple API

Simple API for RL78/G14
Bluetooth® Low Energy Protocol Stack Host MCU Simple API for RL78/G14 Rev.1.00 - Sample Code (ZIP | English, 日本語)

Simple API for RX113
Bluetooth® Low Energy Protocol Stack Host MCU Simple API for RX113 Rev.1.01 - Sample Code (ZIP | English, 日本語)

GATTBrowser GATTBrowser for iOS Smartphone Application Instruction manual Rev.1.16 (PDF | English, 日本語)
GATTBrowser for Android Smartphone Application Instruction manual Rev.1.02 (PDF | English, 日本語)

Document Guide for each Development Use Case

Understanding to the Behavior of the Bluetooth Low Energy Protocol Stack

Development by Modem Configuration (Control from a Host MCU)

Development by Embedded Configuration (Application is Included in RL78/G1D)

Serial Communication (Wired) to Wireless Communication

Develop an Application for Human Interface Devices (HMI)

TitlePart No.
[document:1039476]R01AN5288

Manufacture of Beacon Product

Application for Multi-Hop Operation

TitlePart No.
RL78/G1D Beacon Stack Multi-Hop Feature (without Security) Rev.1.00 - Sample Code (ZIP | English, 日本語)R01AN4375
RL78/G1D Beacon Stack Multi-Hop Feature (with Security)*R01AN4466

*For the "RL78/G1D Beacon Stack Multi-Hop Feature (with Security)" version, please contact nearest Renesas sales or distributor.

Develop an Application to Connect with a Smartphone

Other Bluetooth Resources

Bluetooth® Low Energy

Bluetooth Low Energy is designed for very low power operation and is optimized to short burst data transmission. It employs a robust frequency hopping spread spectrum method that transmits data over 40 channels to achieve reliable communication in the 2.4GHz frequency band.

RL78/G1D Evaluation Board

The RL78/G1D Evaluation Board is very flexible allowing the user to evaluate RL78/G1D Bluetooth LE MCU from the application angle. It has gained FCC, IC, CE, KC, and MIC (Japan) certifications.

 
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?